This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

build error for I386


Hi all,
 
    I have updated all the files of eCos. and I try to build the system of eCos.
First, I build the stub system of I386, and the libary could be built. but the conflicts windows always show the following messages
 
----------------------------------------
 
SYGPKG_ERROR Usatisfied Requires CYGBLD_ISO_CODE_HEADER="<cyg/error/codes.h>"
----------------------------------------
 
But the directory I could found this file, Why the conflict is pop????
 
And then I tried to build the test of stub. But the system always prompt me as following
 
----------------------------------------
.
.
.
.
make -r -C io/serial/current tests
make[1]: Entering directory `/ecos/x86/try/try_build/io/serial/current'
make[1]: *** No rule to make target `tests/flow1.d', needed by `tests.stamp'.  Stop.
make[1]: Leaving directory `/ecos/x86/try/try_build/io/serial/current'
make: *** [tests] Error 2
 
*** Process 692 terminated (rc=2)
*** Killing process 692 (TerminateProcess)
----------------------------------------
Either I enable or disble the follow control item, I always get the error message. How couls I slove the problem?????
 
So I try to build I386 system with default configuration, and at this time, the conflict item has disappeared. At this time I try to build the library, but I get error message, too. The error messages are as following
----------------------------------------
i386-elf-gcc -c  -I//C/embedded/x86/default/default_install/include
-I//C/eCos.ok/packages/language/c/libm/current
-I//C/eCos.ok/packages/language/c/libm/current/src
-I//C/eCos.ok/packages/language/c/libm/current/tests -I.
-I//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/
-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual
-g -O2 -ffunction-sections -fdata-sections -fno-rtti
-fno-exceptions -fvtable-gc -finit-priority
-ffloat-store -Wp,-MD,src/double/portable-api/s_rint.tmp
-o src/double/portable-api/language_c_libm_s_rint.o
//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/s_rint.c
 
i386-elf-gcc -c  -I//C/embedded/x86/default/default_install/include
-I//C/eCos.ok/packages/language/c/libm/current
-I//C/eCos.ok/packages/language/c/libm/current/src
-I//C/eCos.ok/packages/language/c/libm/current/tests -I.
-I//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/
-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -ffloat-store
-Wp,-MD,src/double/portable-api/s_scalbn.tmp
-o src/double/portable-api/language_c_libm_s_scalbn.o
//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/s_scalbn.c
 
i386-elf-gcc -c  -I//C/embedded/x86/default/default_install/include
-I//C/eCos.ok/packages/language/c/libm/current
-I//C/eCos.ok/packages/language/c/libm/current/src
-I//C/eCos.ok/packages/language/c/libm/current/tests -I.
-I//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/
-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -ffloat-store
-Wp,-MD,src/double/portable-api/s_sin.tmp
-o src/double/portable-api/language_c_libm_s_sin.o
//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/s_sin.c
 
i386-elf-gcc -c  -I//C/embedded/x86/default/default_install/include
-I//C/eCos.ok/packages/language/c/libm/current
-I//C/eCos.ok/packages/language/c/libm/current/src
-I//C/eCos.ok/packages/language/c/libm/current/tests -I.
-I//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/
-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -ffloat-store
-Wp,-MD,src/double/portable-api/s_tan.tmp
-o src/double/portable-api/language_c_libm_s_tan.o
//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/s_tan.c
 
i386-elf-gcc -c  -I//C/embedded/x86/default/default_install/include
-I//C/eCos.ok/packages/language/c/libm/current
-I//C/eCos.ok/packages/language/c/libm/current/src
-I//C/eCos.ok/packages/language/c/libm/current/tests -I.
-I//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/
-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -ffloat-store
-Wp,-MD,src/double/portable-api/s_modf.tmp
-o src/double/portable-api/language_c_libm_s_modf.o
//C/eCos.ok/packages/language/c/libm/current/src/double/portable-api/s_modf.c
 
make[1]: *** No rule to make target `src/double/portable-api/s_tanh.c
', needed by `libtarget.a.stamp'.  Stop.
make[1]: Leaving directory `/ecos/x86/default/default_build/language/c/libm/current'
make: *** [build] Error 2
 
*** Process 692 terminated (rc=2)
*** Killing process 692 (TerminateProcess)
----------------------------------------
 
I thought that would be the math lib problem, so I removed the math package, And it's work. But I also get the same error message as I build stub when I build the test. Couls anybody tell me how to solve ????
 
Adon Chen

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]