Trouble building 4.6.0 for i386
Ralf Corsepius
corsepiu at faw.uni-ulm.de
Wed Feb 25 20:59:42 UTC 2004
On Wed, 2004-02-25 at 20:10, Manuel Pedro Coutinho wrote:
> Hi.
>
> I'm new to RTEMS, but I have some experience with it ( I added a driver to
> the pc386 board in the 4.5.0 release)
>
> I'm currently trying to make a project with the NFS client and I saw that
> the 4.6.0 release had it.
>
> So, I built correctly (at least I think so) the cross-compiler and when
> building RTEMS the following error arises:
>
> configure: running /bin/sh
> '../../../../../../../rtems-4.6.0/c/src/lib/libcpu/i386/configure'
> --prefix=/home/manuel/rtems460/ '--prefix=/home/manuel/rtems460/'
> '--host=i386-rtems' '--build=i686-pc-linux-gnu' '--target=i386-rtems'
> '--enable-posix'
> '--enable-cxx' '--with-target-subdir=i386-rtems'
> '--exec-prefix=/home/manuel/rtems460//i386-rtems'
> 'build_alias=i686-pc-linux-gnu' 'host_alias=i386-rtems'
> 'target_alias=i386-rtems' 'RTEMS_BSP=pc386' 'RTEMS_CPU_MODEL=i386_fp'
> 'RTEMS_BSP_FAMILY=pc386' 'CFLAGS_OPTIMIZE_V=-O4' '--cache-file=/dev/null'
> '--srcdir=../../../../../../rtems-4.6.0/c/src/lib/libcpu'
> --cache-file=/dev/null
> --srcdir=../../../../../../../rtems-4.6.0/c/src/lib/libcpu/i386
> ../../../../../../../rtems-4.6.0/c/src/lib/libcpu/i386/configure: line 1212:
> syntax error near unexpected token `../../../../..'
> ../../../../../../../rtems-4.6.0/c/src/lib/libcpu/i386/configure: line 1212:
> `RTEMS_TOP(../../../../..)'
> configure: error: /bin/sh
> '../../../../../../../rtems-4.6.0/c/src/lib/libcpu/i386/configure' failed
> for i386
> configure: error: /bin/sh
> '../../../../../../rtems-4.6.0/c/src/lib/libcpu/configure' failed for
> lib/libcpu
> gmake[2]: *** [pc386] Error 1
> gmake[2]: Leaving directory
> `/home/manuel/rtems460/tools/build-rtems/i386-rtems/c'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/home/manuel/rtems460/tools/build-rtems/i386-rtems/c'
> make: *** [all-recursive] Error 1
> I tryed to solve the problem in line 1212 of i386/configure but when I look
> to the version 4.5.0 it is the same! So, I assumed that the problem wasn´t
> in i386/configure but I can´ t solve it because I don´t know where to find
> it
>
> (I´m working on a Linux ReadHat 9.x)
>
> I apreciate if anyone could help me...
A file is missing from the tarball:
http://www.rtems.com/cgi-bin/gnatsweb.pl?database=RTEMS&cmd=view&pr=574
Ralf
More information about the users
mailing list