[ECOS] Why can't I build a library?

zzzh wxzzzh@tom.com
Thu Nov 4 02:43:00 GMT 2004


Hi, all:

	I downloaded and installed ecos-2.0 days before as the 'Downloading and
Installation' web page say, but after I run the configuration tool and
select a board of PID from build->template, I tried to build library by
click build->library, some error appeared,
below is the output:

******************************************************************
sh -c "export PATH=/home/zh/ecos/gnutools/arm-elf/bin:$PATH; unset
GDBTK_LIBRARY; unset GCC_EXEC_PREFIX; export
ECOS_REPOSITORY=/home/zh/ecos/ecos-2.0/packages; make --directory
/home/zh/ecos/myfile_build"

make: Entering directory `/home/zh/ecos/myfile_build'
make -r -C hal/arm/arch/v2_0 headers
make[1]: Entering directory
`/home/zh/ecos/myfile_build/hal/arm/arch/v2_0'
make[1]: Leaving directory
`/home/zh/ecos/myfile_build/hal/arm/arch/v2_0'
make -r -C hal/arm/pid/v2_0 headers
make[1]: Entering directory
`/home/zh/ecos/myfile_build/hal/arm/pid/v2_0'
make[1]: Leaving directory `/home/zh/ecos/myfile_build/hal/arm/pid/v2_0'
make -r -C hal/common/v2_0 headers
make[1]: Entering directory `/home/zh/ecos/myfile_build/hal/common/v2_0'
make[1]: Leaving directory `/home/zh/ecos/myfile_build/hal/common/v2_0'
make -r -C io/common/v2_0 headers
make[1]: Entering directory `/home/zh/ecos/myfile_build/io/common/v2_0'
make[1]: Leaving directory `/home/zh/ecos/myfile_build/io/common/v2_0'
make -r -C infra/v2_0 headers
make[1]: Entering directory `/home/zh/ecos/myfile_build/infra/v2_0'
make[1]: Leaving directory `/home/zh/ecos/myfile_build/infra/v2_0'
make -r -C error/v2_0 headers
make[1]: Entering directory `/home/zh/ecos/myfile_build/error/v2_0'
make[1]: Leaving directory `/home/zh/ecos/myfile_build/error/v2_0'
make -r -C isoinfra/v2_0 headers
make[1]: Entering directory `/home/zh/ecos/myfile_build/isoinfra/v2_0'
make[1]: Leaving directory `/home/zh/ecos/myfile_build/isoinfra/v2_0'
headers finished
make -r -C hal/arm/arch/v2_0 arm.inc
make[1]: Entering directory
`/home/zh/ecos/myfile_build/hal/arm/arch/v2_0'
arm-elf-gcc -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes
-Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority 
-I/home/zh/ecos/myfile_install/include
-I/home/zh/ecos/ecos-2.0/packages/hal/arm/arch/v2_0
-I/home/zh/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src
-I/home/zh/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/tests -I.
-Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S
/home/zh/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c
/home/zh/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:55:25: pkgconf/hal.h: no such file or directory
In file included from
/home/zh/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:57:
/home/zh/ecos/myfile_install/include/cyg/hal/hal_arch.h:57:61:
pkgconf/hal.h: no such file or directory
In file included from
/home/zh/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:58:
/home/zh/ecos/myfile_install/include/cyg/hal/hal_intr.h:62:25:
pkgconf/hal.h: no such file or directory
/home/zh/ecos/myfile_install/include/cyg/hal/hal_intr.h:132:5: warning:
"CYGINT_HAL_ARM_MEM_REAL_REGION_TOP" is not defined
In file included from
/home/zh/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:63:
/home/zh/ecos/myfile_install/include/cyg/hal/hal_if.h:669:10: warning:
"CYGINT_HAL_PLF_IF_INIT" is not defined
make[1]: Leaving directory
`/home/zh/ecos/myfile_build/hal/arm/arch/v2_0'
make[1]: *** [arm.inc] error 1
make: Leaving directory `/home/zh/ecos/myfile_build'
make: *** [build] error 2
**********************************************************************
what's wrong with it? can someone help me?
BTW: My OS is Fedora-Core 2.

Thanks.





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



More information about the Ecos-discuss mailing list