Building RTEMS problem
Davide Del Vento
davide_rtems at hotmail.com
Tue Jun 4 15:12:02 UTC 2002
> > Of course my path is set correctly ;-((
> >
>Apparently not (cf. below).
What's about the environment variables? Can the problem be in them?
Now I'm nearly sure that I make an error in the ./configure options (see
below)
> > I do (in /opt/rtems/bin) "ln -s i386-rtems-gcc gcc"
>Don't! This is plain wrong.
I know, it was only a test.
> > and I try to configure and make WITHOUT setting the path (I was
>wondering
> > where is the point where it hangs). This way it compile!!!
>Well, .. no.
>
>What might happen, is the native compiler not choking during compilation
>of target code, because you probably are using an i386-based native tool
>chain, but that's all.
Right.
>I'd guess, having started to configure without /opt/rtems/bin in $PATH
>and then later having put /opt/rtems/bin in $PATH is the cause.
No. (cfr below)
> > > > Get your FREE download of MSN Explorer at
> > >http://explorer.msn.com/intl.asp.
>Are you using Cygwin? Then, there are other possible causes for your
>problems.
No, I use linux (Mandrake8.0 kernel2.4.3). This annoying spot is added by
the webmail. I use hotmail (bleah!) because my university account is very
poor and don't offer webmail at all.
>Try to start from scratch:
>
>Start a new shell, then
>export PATH=/opt/rtems/bin:$PATH
>mkdir build
>cd build
><pathtortems>/configure --target=i386-rtems [further options]
This was (nearly) exactly what I've done before: the only difference was
that I type:
<pathtortems>/configure i386-rtems [further options]
My further options are simply: --prefix=/opt/davide
So I retried with my previous configure options (and I obtained exactly the
some error) and with your slight different ones (that should be equivalent,
reading the ./configure --help)
This way it hangs at a different point, as you can see from the attached
output of the
make all install
;-(
Bye,
;Davide
/usr/bin/install -c -m 644 o-optimize/libtest.a
../../../../../../i386ex/lib/libtest.a
make[5]: Leaving directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests/support/wrapup'
make[5]: Entering directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests/support'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests/support'
make[4]: Leaving directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests/support'
Making all in samples
make[4]: Entering directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests/samples'
Making all in hello
make[5]: Entering directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests/samples/hello'
mkdir o-optimize
/opt/rtems/bin/i386-rtems-gcc --pipe -B../../../../../../i386ex/lib/ -specs
bsp_specs -qrtems -g -Wall -ansi -fasm
-c -O4 -o o-optimize/init.o
../../../../../../../archive/c/src/tests/samples/hello/init.c
/opt/rtems/bin/i386-rtems-gcc --pipe -B../../../../../../i386ex/lib/ -specs
bsp_specs -qrtems -g -Wall -ansi -fasm
-L ../../../../../../i386ex/lib -O4 -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/i386-rtems/bin/ld:../../../../../../i386ex/lib/linkcmds:115:
parse error
collect2: ld returned 1 exit status
make[5]: *** [o-optimize/hello.exe] Error 1
make[5]: Leaving directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests/samples/hello'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests/samples'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/marco/rtems/Davide/build/i386-rtems/c/i386ex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marco/rtems/Davide/build/i386-rtems/c'
make: *** [all-recursive] Error 1
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
More information about the users
mailing list