View Single Post
Old 06-29-2012, 12:43 PM   #1
rfog
Guru
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
Posts: 696
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
Problem compiling booxsdk (solved)

Hi all!

I'm trying to compile Boox SDK (as explained here: https://wiki.mobileread.com/wiki/Boox...re_development), but after some minor problems I've found one I cannot solve.

It seems there is no link option to include zlib.a for dictionary_test. As I'm not a linux and gcc guy, I do not know how to continue because I'm not able to find the right makefile to add the option.

Error is:

Built target wifi_gui_test
[ 91%] Built target tts
[ 91%] Built target tts_unittest
[ 96%] Built target dictionary
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[2]: *** [unittests/dictionary_test] Error 1
make[1]: *** [code/src/dictionary/CMakeFiles/dictionary_test.dir/all] Error 2
make: *** [all] Error 2
rake aborted!
Command failed with status (2): [cd build/arm && make -j5...]
/home/rfog/booxsdk/Rakefile.imx508:119
(See full trace by running task with --trace)
rfog@debian:~/booxsdk$

Last edited by rfog; 07-07-2012 at 09:43 AM.
rfog is offline   Reply With Quote