From: Tagangout, A. <Abd...@me...> - 2010-09-23 07:20:24
|
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" Many thanks for your replay Abdo MEP Kutsch GmbH & Co. KG Flaßkuhle 1 58452 Witten Tel. : 02302 28262-41 Fax.: 02302 28262-99 mailto:abd...@me... http://www.mep.de -----Ursprüngliche Nachricht----- Von: Alex Peshkoff [mailto:pes...@ma...] Gesendet: Donnerstag, 23. September 2010 08:53 An: fir...@li... Betreff: Re: [Firebird-devel] Porting Firebird On 09/22/10 20:21, Tagangout, Abderrahim wrote: > Hi Alex, > i have an other suggestion, > you say that it is not possible to use the Cross Compiler to make the client library. > the Problem is that i have a host compiler (Architecture i686) and i have to cross compile the Application for the embedded CPU. > And when i try to compile the client library (Compiled with the Host > compiler) with the Application (designed for the Cross compiler) i become a linker error. > So is there any possibility to solve this problem? Yes - if I can at least take a look at what error do you get :-) ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel |