4.5.0-beta3a build problems - part II

Martti Kuparinen martti.kuparinen at nomadiclab.com
Tue Sep 19 06:57:26 UTC 2000


Hi again!

I tested further after reading the comments to my first mail:

1) no CC set, no MAKE set
2) no CC set, MAKE set to gmake

The first one fails in the early stages but the second fails later.
I have not upgraded the cross compilation tool although there seems
to be newer versions in /usr/ports/devel/ (I'm running FreeBSD).

Martti

---
Martti Kuparinen <martti.kuparinen at nomadiclab.com>
http://www.iki.fi/~kuparine/

=============================================================================
# echo $CC

# echo $MAKE

# ../source/rtems-4.5.0-beta3a/configure --target=i386-rtems \
    --prefix=/opt/rtems --enable-rdbg
creating cache ./config.cache
checking for RTEMS Version... 4.5.0-beta3a
checking host system type... i386-unknown-freebsd4.1
checking target system type... i386-pc-rtems
checking build system type... i386-unknown-freebsd4.1
checking rtems target cpu... i386
...
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
# gmake all
...
linking ../../../../../source/rtems-4.5.0-beta3a/c/src/make/../../../make/README to README
"../../.././c/i386ex/../make/target.cfg", line 27: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 28: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 29: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 30: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 31: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 32: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 33: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 35: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 53: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 54: Need an operator
"../../.././c/i386ex/../make/target.cfg", line 55: Need an operator
"../../.././c/i386ex/make/host.cfg", line 31: Need an operator
"../../.././c/i386ex/make/host.cfg", line 33: Need an operator
"../../.././c/i386ex/make/host.cfg", line 35: Need an operator
"../../.././c/i386ex/make/host.cfg", line 37: Need an operator
"../../.././c/i386ex/make/host.cfg", line 63: Need an operator
"../../.././c/i386ex/make/host.cfg", line 68: Need an operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 37: Need an operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 41: Need an operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 55: Missing dependency operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 56: Need an operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 65: Need an operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 66: Need an operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 67: Need an operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 75: Need an operator
"../../.././c/i386ex/make/custom/i386ex.cfg", line 76: Need an operator
make: fatal errors encountered -- cannot continue
configuring in exec
...
checking for make/custom/i386ex.cfg... yes
checking for RTEMS_CPU_MODEL... .: Can't open ../../../../../c/i386ex/make/i386ex.cache: No such file or directory
configure: error: ../../../../../../../source/rtems-4.5.0-beta3a/c/src/lib/libcpu/i386/configure failed for i386
configure: error: ../../../../../../source/rtems-4.5.0-beta3a/c/src/lib/libcpu/configure failed for libcpu
configure: error: ../../../../../source/rtems-4.5.0-beta3a/c/src/lib/configure failed for lib
gmake[2]: *** [i386ex] Error 1
===============================================================================
# export MAKE=gmake
# echo $CC

# echo $MAKE
gmake
# ../source/rtems-4.5.0-beta3a/configure --target=i386-rtems \
    --prefix=/opt/rtems --enable-rdbg
...
# gmake all
...
gmake[4]: Entering directory `/home/martti/tmp/rtems/build/i386-rtems/c/i386ex/tests/samples'
Making all in hello
gmake[5]: Entering directory `/home/martti/tmp/rtems/build/i386-rtems/c/i386ex/tests/samples/hello'
/usr/local/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     
/usr/local/i386-rtems/bin/ld:../../../../../../i386ex/lib/linkcmds:115: syntax error
collect2: ld returned 1 exit status
gmake[5]: *** [o-optimize/hello.exe] Error 1




More information about the users mailing list