[Librem-5-dev] Flash devkit from 32-bit host - impossible with default uuu.

Angus Ainslie angus.ainslie at puri.sm
Sat Mar 23 09:51:42 PDT 2019


On 2019-03-23 9:26 a.m., Przemysław Brojewski via Librem-5-dev wrote:
> On 2019-03-23 17:00, Angus Ainslie via Librem-5-dev wrote:
>> Was uuu installed from a package or did you build it yourself ? 
>
> I'm running Debian Stretch, and could not find uuu package in debian
> archives.
>
> I've built it myself with default configuration, just cmake followd by
> make.
>
>
Maybe try changing the FILE_OFFSET_BITS


diff --git a/uuu/CMakeLists.txt b/uuu/CMakeLists.txt
index a08f938..51f847a 100644
--- a/uuu/CMakeLists.txt
+++ b/uuu/CMakeLists.txt
@@ -4,7 +4,7 @@ pkg_check_modules(LIBZIP REQUIRED libzip)
 pkg_check_modules(LIBZ REQUIRED zlib)
 find_package(Threads)
 
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -static-libstdc++
-static-libgcc")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -static-libstdc++
-static-libgcc -D_FILE_OFFSET_BITS=64")
 
 set(LSTS
        uuu.lst



More information about the Librem-5-dev mailing list