make rtems problem
Ralf Corsepius
ralf.corsepius at rtems.org
Wed Oct 15 05:33:46 UTC 2008
On Wed, 2008-10-15 at 09:44 +0800, 许加波 wrote:
> Hi all!
>
> when I make rtems 4.9.0(release) on the Fedora 4 system,
Current version of Fedora is Fedora 9.
Fedora 4 is outdated, discontinued, dead for quite some time. I would
strongly recommend you to upgrade.
> 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
Which versions of the rtems chain do you have installed?
> I met a problem as follow:
>
> i386-rtems-gcc
This is not an official rtems4.9 toolchain.
> --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.
You likely are using an incompatible version of binutils.
Ralf
More information about the users
mailing list