make rtems problem

许加波 xujiabo at newbeiyang.com
Wed Oct 15 01:44:02 UTC 2008


Hi all!

when I make rtems 4.9.0(release) on the Fedora 4 system, I use the tools as follow:

autoconf 2.62 
automake 1.10.1 
binutils 2.18 
gcc 4.3.2 for C/C++ with newlib 1.16.0 
gdb 6.8 

I met a problem as follow:

 i386-rtems-gcc --pipe -B../../../../../.././lib/ -B../../../../../.././pc686/lib/ -specs bsp_specs -qrtems -isystem 

../../../../../.././pc686/lib/include  -DASM -mtune=pentiumpro -O2 -g -o start.o -c ../../../../../../../../rtems-

4.9.0/c/src/lib/libbsp/i386/pc386/start/start.S
i386-rtems-gcc --pipe -B../../../../../.././lib/ -B../../../../../.././pc686/lib/ -specs bsp_specs -qrtems -isystem 

../../../../../.././pc686/lib/include  -DASM -mtune=pentiumpro -O2 -g -isystem ../../../../../.././pc686/lib/include -

DHEADERADDR=0x00097E00 -o start16.o -c ../../../../../../../../rtems-4.9.0/c/src/lib/libbsp/i386/pc386/start/start16.S
i386-rtems-ld -N -T ../../../../../../../../rtems-4.9.0/c/src/lib/libbsp/i386/pc386/startup/linkcmds -Ttext 0x00097C00 -e start16 

-nostdlib \
  --oformat=elf32-i386 \
-o start16-elf32.o start16.o
i386-rtems-ld:../../../../../../../../rtems-4.9.0/c/src/lib/libbsp/i386/pc386/startup/linkcmds:100: syntax error
gmake[7]: *** [start16-elf32.o] error 1
gmake[7]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib/libbsp/i386/pc386'
gmake[6]: *** [all-recursive] error 1
gmake[6]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib/libbsp/i386/pc386'
gmake[5]: *** [all-recursive] error 1
gmake[5]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib/libbsp/i386'
gmake[4]: *** [all-recursive] error 1
gmake[4]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib/libbsp'
gmake[3]: *** [all-recursive] error 1
gmake[3]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib'
gmake[2]: *** [all-recursive] error 1
gmake[2]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686'
gmake[1]: *** [all-recursive] error 1
gmake[1]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c'
gmake: *** [all-recursive] error 1
[root at localhost rtems-build]#

It look up as a link error ,but I don't know how to figure out the problem and solve it, please help me, any answer will be appreciated.
Thanks!

Regards
xujiabo 				



More information about the users mailing list