From: Alex P. <pes...@ma...> - 2010-09-23 08:06:16
|
On 09/23/10 11:20, Tagangout, Abderrahim wrote: > Hi Alex, > this is the output that i become when i try: > "./autogen.sh --build=i686 --host=avr32-linux --target=avr32-linux" > "..... > ..... > checking if POSIX threads are available... configure: error: in `/home/abdo/Firebird-2.1.3.18185-0': > configure: error: cannot run test program while cross compiling > See `config.log' for more details." > > > ############################################################################################################################## > > and when i try to links the library compiled for the i686 to generate an application that will be running on the target CPU (AVR32): > "abdo@ubuntu804icnova:~/Desktop/firebird_api$ sudo make" > > "/home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/avr32-linux-gcc -L/usr/lib/ api3.o -o fb_api -lfbclient > /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/bin/ld: skipping incompatible /usr/lib//libfbclient.so when searching for -lfbclient > /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/bin/ld: cannot find -lfbclient > collect2: ld returned 1 exit status > make: *** [fb_api] Fehler 1" Bad news. Platform is missing threads support. You will not be able to build client w/o serious rework of it. The only option is to try 2.1 libfbembedded. It can work as client too. |