[ECOS] problem building ecos library with prebuilt toolchain

Paul Randall prandall@delta-info.com
Thu Apr 3 16:48:00 GMT 2003


Hi All,

I recently downloaded the ecos 2.0 b1 with the prebuilt toolchain for
powerpc-eabi.  I get the following error when I try to make the ecos
library with the new tools.  I get the same error when building with the
ecos 2.0 b1 sources or the latest sources from cvs.  If I go back to my
old toolchain (which I built myself about a year ago), the ecos 2.0 b1
sources and latest cvs sources build ok.  Any ideas why I'm getting this
error?  I'm using the default template for the viper board and I'm using
ecosconfig to set up my configuration (although the same thing happens
when I use the Configuration Tool).

Paul

...
make -r -C io/wallclock/current headers
make[1]: Entering directory `/opt/testlib/io/wallclock/current'
make[1]: Leaving directory `/opt/testlib/io/wallclock/current'
make -r -C error/current headers
make[1]: Entering directory `/opt/testlib/error/current'
make[1]: Leaving directory `/opt/testlib/error/current'
headers finished
make -r -C hal/powerpc/arch/current
/ecos-c/cygwin/opt/testlib/install/include/cyg/hal/ppc_offsets.inc
make[1]: Entering directory `/opt/testlib/hal/powerpc/arch/current'
powerpc-eabi-gcc -msoft-float -mcpu=860 -Wall -Wpointer-arith
-Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2
-ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
-fvtable-gc -finit-priority
-I/ecos-c/cygwin/opt/testlib/install/include
-I/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current
-I/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current/src
-I/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current/tests
-I.
 -Wp,-MD,ppc_offsets.tmp -o hal_mk_defs.tmp -S
/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current/src/hal_mk_defs.c

cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: variable-size type declared outside of any function
/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current/src/hal_mk_defs.c:1:
confused by earlier errors, bailing out
make[1]: ***
[/ecos-c/cygwin/opt/testlib/install/include/cyg/hal/ppc_offsets.inc]
Error 1
make[1]: Leaving directory `/opt/testlib/hal/powerpc/arch/current'
make: *** [build] Error 2



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list