OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Qtopia Example Compile Error, worked for x86 but not arm
unplug
post 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.
Go to the top of the page
 
+Quote Post
Mickeyl
post 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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 02:25 PM