[ECOS] compilation error on new source from cvs

Gary Thomas gthomas@ecoscentric.com
Sat Aug 10 15:36:00 GMT 2002


On Sat, 2002-08-10 at 00:41, max wrote: 
> I gor new source files from cvs on aug 8. 
> On i386 pc target. The compilation of library
> resulted in following error:
> 
> 
> make -r -C hal/i386/arch/current build
> make[1]: Entering directory
> `/ecos-c/cygwin/wk/pc386/pctarget_build/hal/i386/arch/current'
> i386-elf-gcc -c 
> -I/ecos-c/cygwin/wk/pc386/pctarget_install/include
> -I/ecos-c/cvsecos/ecos/packages/hal/i386/arch/current
> -I/ecos-c/cvsecos/ecos/packages/hal/i386/arch/current/src
> -I/ecos-c/cvsecos/ecos/packages/hal/i386/arch/current/tests
> -I.
> -I/ecos-c/cvsecos/ecos/packages/hal/i386/arch/current/src/
> -Wall -Wpointer-arith -Wstrict-prototypes -Winline
> -Wundef -Woverloaded-virtual -g -O2
> -ffunction-sections -fdata-sections -fno-rtti
> -fno-exceptions -fvtable-gc -finit-priority
> -Wp,-MD,src/hal_misc.tmp -o
> src/hal_i386_arch_hal_misc.o
> /ecos-c/cvsecos/ecos/packages/hal/i386/arch/current/src/hal_misc.c
> In file included from
> /ecos-c/cvsecos/ecos/packages/hal/i386/arch/current/src/hal_misc.c:60:
> /ecos-c/cygwin/wk/pc386/pctarget_install/include/cyg/hal/hal_arch.h:60:
> warning: `CYGINT_HAL_FRV_ARCH_FR400' is not defined
> /ecos-c/cygwin/wk/pc386/pctarget_install/include/cyg/hal/hal_arch.h:64:
> warning: `CYGINT_HAL_FRV_ARCH_FR500' is not defined
> /ecos-c/cygwin/wk/pc386/pctarget_install/include/cyg/hal/hal_arch.h:70:
> #error No architecture defined?
> make[1]: Leaving directory
> `/ecos-c/cygwin/wk/pc386/pctarget_build/hal/i386/arch/current'
> make[1]: *** [src/hal_misc.o.d] Error 1
> make: Leaving directory
> `/ecos-c/cygwin/wk/pc386/pctarget_build'
> make: *** [build] Error 2
I'll bet you're using the ConfigTool, aren't you?  It looks like 
you ended up with the default target (Fujitsu FR400) and then 
selected the PC target.  

You have to be careful.  Choose "New", then Built->Templates to 
choose the PC target you are interested in, then Build->Library. 

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
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