![]() ![]() |
Jun 21 2005, 07:28 AM
Post
#1
|
|
|
Group: Members Posts: 63 Joined: 3-December 04 Member No.: 5,742 |
I installed all required packages in the "Compile Setup" in Zaurus How-To Docs. The only difference is I installed version 8-3.3.4.2 for those compat libs under my Fedora Core 3 machine. Building the example for x86 is fine and it also executed ok. But when I switched to dev-arm-qpe.sh and tried to compile a zaurus version of that example, I got the following error message:
CODE : arm-linux-gcc -o example main.o example.o examplebase.o moc_example.o moc_examplebase.o -L/opt/Qtopia/sharp/lib -L/opt/Qtopia/sharp/lib -lqpe -lqtopia -lqte /opt/Embedix/tools/arm-linux/bin/ld: warning: libuuid.so.1, needed by /opt/Qtopia/sharp/lib/libqtopia.so, not found (try using -rpath or -rpath-link) /opt/Embedix/tools/arm-linux/bin/ld: warning: libjpeg.so.62, needed by /opt/Qtopia/sharp/lib/libqte.so, not found (try using -rpath or -rpath-link) /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_read_scanlines' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_set_defaults' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_start_decompress' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_destroy_decompress' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_std_error' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_CreateDecompress' /opt/Qtopia/sharp/lib/libqtopia.so: undefined reference to `uuid_generate' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_read_header' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_start_compress' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_destroy_compress' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_finish_decompress' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_resync_to_restart' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_CreateCompress' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_finish_compress' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_set_quality' /opt/Qtopia/sharp/lib/libqte.so: undefined reference to `jpeg_write_scanlines' collect2: ld returned 1 exit status make: *** [example] Error 1 However, I do have libuuid.so.1 in /lib and also in /opt/Qtopia/sharp/lib and libjpeg.so.62 in /usr/lib and /opt/Qtopia/sharp/lib. Did I miss something? Thanks in advance. |
|
|
|
Jun 21 2005, 07:34 AM
Post
#2
|
|
|
Group: Members Posts: 1,497 Joined: 12-November 03 From: Germany Member No.: 907 |
you need to link against the missing libraries, i.e. supply -ljpeg and -luuid to the linking command line.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 10:04 PM |