Project

General

Profile

Problem with EABI Version while cross compiling for ARM target

Added by aramm over 11 years ago

I am trying to compile the lighttpd for ARM target. I am getting the following error:

link: arm-wrs-linux-gnueabi-arm-glibc_small-gcc -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -o lighttpd-angel lighttpd-angel.o
/home/Gulfstream/WindRiver25/gnu/3.4.4-wrlinux-1.3/x86-linux2/bin/../lib/gcc/arm-wrs-linux-gnueabi/3.4.4/../../../../arm-wrs-linux-gnueabi/bin/ld: ERROR: Source object lighttpd-angel.o has EABI version 0, but target lighttpd-angel has EABI version 4
/home/Gulfstream/WindRiver25/gnu/3.4.4-wrlinux-1.3/x86-linux2/bin/../lib/gcc/arm-wrs-linux-gnueabi/3.4.4/../../../../arm-wrs-linux-gnueabi/bin/ld: failed to merge target specific data of file lighttpd-angel.o
collect2: ld returned 1 exit status
make3:
[lighttpd-angel] Error 1
make3: Leaving directory `/home/swarop/newfltk/lighttpd-1.4.32/src'
make2:
[all] Error 2
make2: Leaving directory `/home/swarop/newfltk/lighttpd-1.4.32/src'
make1:
[all-recursive] Error 1
make1: Leaving directory `/home/swarop/newfltk/lighttpd-1.4.32'
make: *
[all] Error 2
*

It seems the lighttpd has the EABI version as 0 whereas my cross compiler has EABI version as 4. How do I solve this problem?
Envrionment details are given below:

Cross Compiler: arm-wrs-linux-gnueabi-arm-glibc_small-gcc
Target OS: 2.6.14.7-tiny1-WR1.3al_small
Build enviroment: Linux

Any help will be appreciated.Please let me know if any other details are required