Trouble building 4.6.0 for i386
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Feb 26 19:34:22 UTC 2004
Adriano Verardo wrote:
> Manuel Pedro Coutinho wrote:
>
>>
>>
>>
>>> From: Ralf Corsepius <corsepiu at faw.uni-ulm.de>
>>> To: Manuel Pedro Coutinho <manuelpedrocoutinho at hotmail.com>
>>> CC: RTEMS Users <rtems-users at rtems.com>
>>> Subject: Re: Trouble building 4.6.0 for i386
>>> Date: Wed, 25 Feb 2004 21:59:42 +0100
>>>
>>> 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
>>>
>>>
>>
>> Hi again
>> I´ve copied the new version of libcpu/i386/Makefile.in and it still
>> doesn't work!!!
>> (I've also copied ChangeLog)
>>
>> _________________________________________________________________
>> MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
>>
>>
> I've copied the files configure and Makefile.in from
> c/src/lib/libcpu/i386 of the v460pre5 tarball
> into the v460 tree. This way the building (seems to) have no problems,
> but I have not tried
> any application yet.
> I've not
>
configure and Makefile.in are output files. I suspect that you should
have only copied the Makefile.am and run the RTEMS bootstrap.
--joel
copied the Makefile.
More information about the users
mailing list