Something screwed up in PROJECT_ROOT or PROJECT_TOPdir
Ralf Corsepius
ralf.corsepius at rtems.org
Sat Feb 19 16:31:32 UTC 2005
On Sat, 2005-02-19 at 10:12 -0500, Peter Dufault wrote:
> I've got something screwed up with my configuration.
>
> For example, in c/src/optman on 4.6.99 the Makefile is doing "-isystem
> ../../../mvme5500/lib/include", but the <rtems/foo.h> includes are in
> ../../../../mvme5500/lib/include (another ../). I couldn't figure out
> why this happened, I finally added an extra "-isystem" to the Makefile
> to get it to build, but of course I just bumped into the same problem
> further on in another directory. From looking at the Makefile I assume
> something is wrong with PROJECT_INCLUDE or PROJECT_TOPdir.
No, your log indicates them to be correct.
> Any hints?
* Looks you might have interrupted "make preinstall"
* As you seem to be using rtems-cvs, I strongly recommend you to use
maintainer-mode (configure --enable-maintainer-mode).
* The CFLAGS you are using are dubious:
-mcpu=750 -D__ALTIVEC__ -Wa,-m7450
Seems to me as if you are trying to outsmart an older GCC, which does
not support the 7450, to "fake" the m7500.
> Host info, configuration, etc, in the attachment.
I'd recommend you to start anew (remove the build directory),
bootstrap the source-tree and configure with --enable-maintainer-mode.
Also make sure not to have set any PROJECT_* variable in your
environment or in your <BSP>.cfg.
> XXX Compilation failure:
>
> 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 at rtems.com\" -I.
> -I../../../../../../tools/rtems-4.7/c/src/optman
> -isystem ../../../mvme5500/lib/include
>
> -Wall -mcpu=750 -D__ALTIVEC__
> -Dmpc750 -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:
> rtems/system.h: No such file or directory
> ../../../../../../tools/rtems-4.7/c/src/optman/sapi/no-ext.c:16:32:
> rtems/rtems/status.h: No such file or directory
Symptoms of a failed "make preinstall".
> XXX Layout of include files in build directory:
> XXX Note the two lib/includes.
>
> ./mvme5500/lib/include
Where does this come from? This is not supposed to be there.
> ./powerpc-rtems/c/mvme5500/cpukit/score/include
> ./powerpc-rtems/c/mvme5500/lib/libcpu/powerpc/shared/include
> ./powerpc-rtems/c/mvme5500/lib/libbsp/powerpc/mvme5500/include
> ./powerpc-rtems/mvme5500/lib/include
This one is the only one which is of any importance.
> /usr/home/dufault/work/rtems_builder/powerpc-rtems/rtems-4.7/powerpc-
> rtems/c/mvme5500/lib/libcpu/powerpc/shared
>
> XXX Configuration
>
> $ ../../tools/rtems-4.7/configure --target=powerpc-rtems --
> prefix=/opt/rtems-4.7 --enable-posix --enable-networking --enable-cxx
> --enable-rtems-debug --disable-itron --enable-rtemsbsp=mvme5500
I can't reproduce your issue.
> FreeBSD
Wasn't it you who had problems with a broken m4?
Your symptoms also can be symptoms of a broken m4 or sed.
Ralf
More information about the users
mailing list