MAKE ERRORS :-(( possibly caused by linker

Aditya avpenu at essex.ac.uk
Fri Aug 15 03:30:27 UTC 2003


Dear RTEMS users....
 
I use Mandrake Linux 9.1 as the OS and the RTEMS BSP is for i386ex
 
The rpm files used for installing RTEMS cross compiler set are..
 
rtems-base-gdb-5.2-1.i386.rpm
rtems-base-binutils-2.13.2.1-1.i386.rpm 
rtems-base-gcc-gcc3.2.3newlib1.11.0-4.i686.rpm
i386-rtems-gdb-5.2-1.i386.rpm
i386-rtems-binutils-2.13.2.1-1.i386.rpm 
i386-rtems-gcc-gcc3.2.3newlib1.11.0-4.i686.rpm 
 
my archive directory is where rtems-ss-20030703.tar.bz2 (rtems
source)exists...
 
i go to the tools directory...and do....
 
$bzcat rtems-ss-20030703.tar.bz2 | tar xf -
 
and a directory by name < rtems-ss-20030703 >is created 
-> in my tools directory -> i run the command 
 
$export PATH=$PATH:/opt/rtems/bin
 
then 
 
$mkdir build-rtems
$cd build-rtems
 
and then it follows as below....
 
 
$ ../rtems-ss-20030703/configure --target=i386-rtems --disable-posix
--disable-tcpip --disable-cxx --enable-rtemsbsp=i386ex
--prefix=/opt/rtems
............................
.................
..........
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking for i386-rtems-strip... i386-rtems-strip
checking whether to enable maintainer-specific portions of Makefiles...
no
checking if cpu i386 is supported... yes
checking for make/custom/i386ex.cfg... yes
configure: creating ./config.status
config.status: creating Makefile
target architecture: i386.
available BSPs: i386ex.
'gmake all' will build the following BSPs: i386ex.
other BSPs can be built with 'gmake RTEMS_BSP="bsp1 bsp2 ..."'
config.status: creating Makefile
config.status: creating make/Makefile
config.status: creating make/custom/Makefile     
 
$ gmake RTEMS_BSP=i386ex
.......................
.................
...........
mkdir o-optimize
mkdir -p -- ../../../../../i386ex/tests
i386-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../i386ex/lib/
-specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_VERSION=\"ss-20030703\"
-DPACKAGE_STRING=\"rtems-c-src-tests-samples\ ss-20030703\"
-DPACKAGE_BUGREPORT=\"rtems-bugs at OARcorp.com\" -isystem
../../../../../i386ex/lib/include -msoft-float -O4 -g -Wall -ansi -fasm
-o o-optimize/init.o -c
../../../../../../../rtems-ss-20030703/c/src/tests/samples/hello/init.c
i386-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../i386ex/lib/
-specs bsp_specs -qrtems -msoft-float -O4 -g -Wall -ansi -fasm -o
o-optimize/hello.coff o-optimize/init.o
../../../../../i386ex/lib/no-dpmem.rel
../../../../../i386ex/lib/no-event.rel
../../../../../i386ex/lib/no-msg.rel ../../../../../i386ex/lib/no-mp.rel
../../../../../i386ex/lib/no-part.rel
../../../../../i386ex/lib/no-signal.rel
../../../../../i386ex/lib/no-timer.rel
../../../../../i386ex/lib/no-rtmon.rel
/opt/rtems/lib/gcc-lib/i386-rtems/3.2.3/../../../../i386-rtems/bin/ld:
section .initial [03ff1620 -> 03ff1858] overlaps section .eh_frame
[03ff1620 -> 03ff16df]
collect2: ld returned 1 exit status
gmake[5]: *** [o-optimize/hello.exe] Error 1
.............................
......................
..............
 
May I know the cause of this Error and a way to rectify it...
 
Thank you very much
 

Regards
Aditya





More information about the users mailing list