| View previous topic :: View next topic |
| Author |
Message |
fireandice n00b

Joined: 25 Mar 2012 Posts: 2
|
Posted: Sun Mar 25, 2012 7:02 am Post subject: a cross-compile problem |
|
|
I was cross-compiling libsoup into a static library(.a) with arm-linux-gcc-4.4.3 in my 11.04(64bit) ubuntu.using the cmd | Code: | | ./configure CC=/home/taylor/opt/FriendlyARM/toolschain/4.4.3/bin/arm-none-linux-gnueabi-gcc --host=arm-none-linux-gnueabi --without-gnome | ,I succeed to create a makefile.But a problem occured when using make. | Code: | CC soup-status.lo
CC soup-uri.lo
CC soup-value-utils.lo
CC soup-xmlrpc.lo
CCLD libsoup-2.4.la
/usr/local/lib/libgio-2.0.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
| ,I am making my best effort to fix it.Ideas?Please, let me know. |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
Posted: Sun Mar 25, 2012 7:49 am Post subject: Re: a cross-compile problem |
|
|
| fireandice wrote: | I was cross-compiling libsoup into a static library(.a) with arm-linux-gcc-4.4.3 in my 11.04(64bit) ubuntu.using the cmd | Code: | | ./configure CC=/home/taylor/opt/FriendlyARM/toolschain/4.4.3/bin/arm-none-linux-gnueabi-gcc --host=arm-none-linux-gnueabi --without-gnome | ,I succeed to create a makefile.But a problem occured when using make. | Code: | CC soup-status.lo
CC soup-uri.lo
CC soup-value-utils.lo
CC soup-xmlrpc.lo
CCLD libsoup-2.4.la
/usr/local/lib/libgio-2.0.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
| ,I am making my best effort to fix it.Ideas?Please, let me know. |
are you sure your cross compiler is 64 bit? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball |
|
| Back to top |
|
 |
fireandice n00b

Joined: 25 Mar 2012 Posts: 2
|
Posted: Sun Mar 25, 2012 8:18 am Post subject: Re: a cross-compile problem |
|
|
| DaggyStyle wrote: | | fireandice wrote: | I was cross-compiling libsoup into a static library(.a) with arm-linux-gcc-4.4.3 in my 11.04(64bit) ubuntu.using the cmd | Code: | | ./configure CC=/home/taylor/opt/FriendlyARM/toolschain/4.4.3/bin/arm-none-linux-gnueabi-gcc --host=arm-none-linux-gnueabi --without-gnome | ,I succeed to create a makefile.But a problem occured when using make. | Code: | CC soup-status.lo
CC soup-uri.lo
CC soup-value-utils.lo
CC soup-xmlrpc.lo
CCLD libsoup-2.4.la
/usr/local/lib/libgio-2.0.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
| ,I am making my best effort to fix it.Ideas?Please, let me know. |
are you sure your cross compiler is 64 bit? |
I am pretty sure.cause there is only one version for each release in official website(http://www.friendlyarm.net) |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
Posted: Sun Mar 25, 2012 12:47 pm Post subject: |
|
|
run file on /home/taylor/opt/FriendlyARM/toolschain/4.4.3/bin/arm-none-linux-gnueabi-gcc and see what is the output _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball |
|
| Back to top |
|
 |
|