Originally Posted by kodomo
rake -f Rakefile.imx508 build:arm:static <- produced exactly the same error I got before:
Linking CXX executable ../../../unittests/dictionary_test
CMakeFiles/dictionary_test.dir/qstardict_plugin/stardict_base.cpp.o: In function `stardict::WordlistIndex::load(QString const&, unsigned long, unsigned long)':
stardict_base.cpp:(.text+0x2350): undefined reference to `gzopen'
stardict_base.cpp:(.text+0x23e4): undefined reference to `gzread'
stardict_base.cpp:(.text+0x23f4): undefined reference to `gzclose'
collect2: ld returned 1 exit status
make: *** [unittests/dictionary_test] Error 1
make: *** [code/src/dictionary/CMakeFiles/dictionary_test.dir/all] Error 2
make: *** [all] Error 2
libz was missing in code/src/dictionary/CMakeLists.txt (patch attached).
now build:arm:static runs fine... next thing will be to check what's wrong with build:x86:static
I'll update the wiki...