From mboxrd@z Thu Jan 1 00:00:00 1970 From: "adon@walkersun" To: Subject: [ECOS] Re: cannot build I386 target Date: Sat, 16 Sep 2000 09:10:00 -0000 Message-id: <002d01c01ff8$9a851fa0$16233ed2@homeadon> References: <003101c01ee6$6544e860$24e7f1d2@walkersun> X-SW-Source: 2000-09/msg00268.html I have mention my problem at previous mail, and I attach it again. I could found the file while make feel lack in the make specified directory, but make seem cannot found it. In the previous mail, I mentioned tow questions, one for the stub template for I386 target and the other is default template for I386 taregt. My host system is window2000. The version of cygwin which I ran is 1.1.2. ==================================================== @/ $uname -a CYGWIN_NT-5.0 HOME-ADON 1.1.2(0.21/3/2) 2000-06-06 22:20 i686 unknown ==================================================== The version of i386-elf-gcc is =============================================== @/ $i386-elf-gcc -v Reading specs from /cross/x86/tools/lib/gcc-lib/i386-elf/2.95.2/specs gcc version 2.95.2 19991024 (release) @/ $ ==================================================== The version of i386-elf-ld is ==================================================== @/ $i386-elf-ld -v GNU ld version 2.10 (with BFD 2.10) @/ $ ==================================================== And the version of eCos configure tool is 1.3.1.1. All the files has been updated from eCos CVS. The test problem has been fixed and I have to say sorry, because the file ser_test_protocal.inl of the tests of serial I used the old version. And now it fixed. Sorry, I did not describe my problem clearly. And thank to you who help me. And I have another problem. When I download a program into the target, which GDB's stub program is conect to the host GDB??? Either the stub which download my application or the stub of my application after my program run???? Adon Chen ----- Original Message ----- From: adon@walkersun To: ecos-discuss@sourceware.cygnus.com Sent: Friday, September 15, 2000 3:27 PM Subject: [ECOS] 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="" ---------------------------------------- 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-virt ual -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_scalb n.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