[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Something screwed up in PROJECT_ROOT or PROJECT_TOPdir




On Feb 19, 2005, at 11:31 AM, Ralf Corsepius wrote:

Wasn't it you who had problems with a broken m4?

Your symptoms also can be symptoms of a broken m4 or sed.


I tried again.

I installed gnu sed 4.1.4, gnu m4 1.4.2, gnu make 3.80, removed the host sed, m4, and make so they weren't picked up by mistake, built the host tools with gcc 3.4.4 (except for GDB which needs to be built with 3.3, as discussed in the Ada port to Cygwin), used:

GCC 4.0-20050130
Binutils 2.15 with patch 20040519
Newlib 1.12.0
GDB 5.3 with patch 20040217 (compiled with gcc3.3.6)

Configured like this (output from the status files):
Binutils:
# ../../tools/binutils-2.15/configure  --target=powerpc-rtems --prefix=/opt/rtems-4.7

GCC:
# ../../tools/gcc-4.0-20050130/configure   --target=powerpc-rtems --prefix=/opt/rtems-4.7 --with-gnu-as --with-gnu-ld --with-newlib --verbose --enable-threads --with-gcc-version-trigger=/usr/home/dufault/work/rtems_builder/tools/gcc-4.0-20050130/gcc/version.c --enable-languages=c,c++

GDB:
../../tools/gdb-5.3/configure --host=i386-unknown-freebsd4.11 --target=powerpc-rtems --prefix=/opt/rtems-4.7 --norecursion 

RTEMS:
rtems config.status 4.6.99.1
configured by ../../tools/rtems-4.7/configure, generated by GNU Autoconf 2.59,
  with options \"'--target=powerpc-rtems' '--prefix=/opt/rtems-4.7' '--enable-posix' '--enable-networking' '--enable-cxx' '--enable-rtems-debug' '--disable-itron' '--enable-maintainer-mode' '--enable-rtemsbsp=mvme5500' 'target_alias=powerpc-rtems'\"



removed my /opt/rtems-4.7 directory, removed my build directory, built everything from the tar files and patch files, and my build script went all the way through building everything without my intervention and without error until it died in RTEMS, as before, with both a:


mvme5500/lib/include/rtems/rtems

and a:

powerpc-rtems/mvme5500/lib/include/rtems


gmake[4]: Entering directory `/usr/home/dufault/work/rtems_builder/powerpc-rtems/rtems-4.7/powerpc-rtems/c/mvme5500/optman'
if powerpc-rtems-gcc --pipe -B../../../lib/ -B../../../mvme5500/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\" -DPACKAGE_TARNAME=\"rtems-c-src\" -DPACKAGE_VERSION=\"4.6.99.1\" -DPACKAGE_STRING=\"rtems-c-src\ 4.6.99.1\" -DPACKAGE_BUGREPORT=\"rtems-bugs@rtems.com\"  -I. -I../../../../../../tools/rtems-4.7/c/src/optman  -isystem ../../../mvme5500/lib/include  -Wall -mcpu=7450 -Dmpc7455 -mmultiple -mstring -mstrict-align -Wa,-m7450 -O4 -MT sapi/no_ext_rel-no-ext.o -MD -MP -MF "sapi/.deps/no_ext_rel-no-ext.Tpo" -c -o sapi/no_ext_rel-no-ext.o `test -f 'sapi/no-ext.c' || echo '../../../../../../tools/rtems-4.7/c/src/optman/'`sapi/no-ext.c; \
then mv -f "sapi/.deps/no_ext_rel-no-ext.Tpo" "sapi/.deps/no_ext_rel-no-ext.Po"; else rm -f "sapi/.deps/no_ext_rel-no-ext.Tpo"; exit 1; fi
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:15:26: error: rtems/system.h: No such file or directory
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:16:32: error: rtems/rtems/status.h: No such file or directory
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:17:33: error: rtems/rtems/support.h: No such file or directory
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:18:32: error: rtems/score/object.h: No such file or directory
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:19:32: error: rtems/score/thread.h: No such file or directory
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:20:29: error: rtems/extension.h: No such file or directory
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:21:32: error: rtems/score/interr.h: No such file or directory
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:24: error: syntax error before 'maximum_extensions'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:29: error: syntax error before 'rtems_extension_create'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:30: error: syntax error before 'name'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:34: warning: return type defaults to 'int'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c: In function 'rtems_extension_create':
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:35: warning: implicit declaration of function '_Internal_error_Occurred'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:36: error: 'INTERNAL_ERROR_RTEMS_API' undeclared (first use in this function)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:36: error: (Each undeclared identifier is reported only once
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:36: error: for each function it appears in.)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:37: error: 'FALSE' undeclared (first use in this function)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:39: error: 'RTEMS_NOT_CONFIGURED' undeclared (first use in this function)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c: At top level:
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:43: error: syntax error before 'rtems_extension_ident'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:44: error: syntax error before 'name'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:47: warning: return type defaults to 'int'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c: In function 'rtems_extension_ident':
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:49: error: 'INTERNAL_ERROR_RTEMS_API' undeclared (first use in this function)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:50: error: 'FALSE' undeclared (first use in this function)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:52: error: 'RTEMS_NOT_CONFIGURED' undeclared (first use in this function)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c: At top level:
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:56: error: syntax error before 'rtems_extension_delete'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:57: error: syntax error before 'id'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:59: warning: return type defaults to 'int'
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c: In function 'rtems_extension_delete':
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:61: error: 'INTERNAL_ERROR_RTEMS_API' undeclared (first use in this function)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:62: error: 'FALSE' undeclared (first use in this function)
../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:64: error: 'RTEMS_NOT_CONFIGURED' undeclared (first use in this function)
gmake[4]: *** [sapi/no_ext_rel-no-ext.o] Error 1
gmake[4]: Leaving directory `/usr/home/dufault/work/rtems_builder/powerpc-rtems/rtems-4.7/powerpc-rtems/c/mvme5500/optman'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/dufault/work/rtems_builder/powerpc-rtems/rtems-4.7/powerpc-rtems/c/mvme5500'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/dufault/work/rtems_builder/powerpc-rtems/rtems-4.7/powerpc-rtems/c'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/dufault/work/rtems_builder/powerpc-rtems/rtems-4.7'
gmake: *** [flags/rtems-4.7-powerpc-rtems.all] Error 2


I'll decide where to go from here tomorrow, whether to look at this some more, try 4.6.2, or get a disk and install Linux.

Peter Dufault
HD Associates, Inc.