This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem building redboot
I tried building RedBoot for other targets to verify my toolchain, every
time getting different errors, mostly some undefined macros. The last I
tried was PowerPC simulator. Here is what I get in this case:
=======================
headers finished
cc1: warning: command line option "-Woverloaded-virtual" is valid for
C++/ObjC++ but not for C
make -r -C hal/powerpc/arch/current
/opt/ppc-sim/ppc-sim-redboot_install/include/cyg/hal/ppc_offsets.inc
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but
not for C
make[1]: Entering directory
`/opt/ppc-sim/ppc-sim-redboot_build/hal/powerpc/arch/current'
In file included from
/opt/ecos/ecos-anoncvs/ecos/packages/hal/powerpc/arch/current/src/hal_mk_defs.c:58:
powerpc-eabi-gcc -finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes
-Wundef -Woverloaded-virtual -Wno-write-strings -mcpu=603 -msoft-float -g -O2
-ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -I/opt/ppc-sim/ppc-sim-redboot_install/include
-I/opt/ecos/ecos-anoncvs/ecos/packages/hal/powerpc/arch/current -I/opt/ecos/ecos-anoncvs/ecos/packages/hal/powerpc/arch/current/src
-I/opt/ecos/ecos-anoncvs/ecos/packages/hal/powerpc/arch/current/tests -I. -Wp,-MD,ppc_offsets.tmp
-o hal_mk_defs.tmp -S
/opt/ecos/ecos-anoncvs/ecos/packages/hal/powerpc/arch/current/src/hal_mk_defs.c
/opt/ppc-sim/ppc-sim-redboot_install/include/cyg/hal/hal_intr.h:436:2:
error: #error "You are not using and interrupt controller! dummy functions
will be used"
make[1]: Leaving directory
`/opt/ppc-sim/ppc-sim-redboot_build/hal/powerpc/arch/current'
make[1]: ***
[/opt/ppc-sim/ppc-sim-redboot_install/include/cyg/hal/ppc_offsets.inc] Error
1
make: Leaving directory `/opt/ppc-sim/ppc-sim-redboot_build'
make: *** [build] Error 2
=======================
So, I was wondering, is there a target that should give me a clean build to
confirm that my toolchain is working before I dig deeper?
Thanks,
/Mikhail
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss