public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] build error for I386
@ 2000-09-15  0:19 adon@walkersun
  2000-09-15 10:32 ` Jonathan Larmour
  2000-09-16  9:10 ` [ECOS] Re: cannot build I386 target adon@walkersun
  0 siblings, 2 replies; 5+ messages in thread
From: adon@walkersun @ 2000-09-15  0:19 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5422 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] build error for I386
  2000-09-15  0:19 [ECOS] build error for I386 adon@walkersun
@ 2000-09-15 10:32 ` Jonathan Larmour
  2000-09-15 11:03   ` adon@walkersun
  2000-09-16  9:10 ` [ECOS] Re: cannot build I386 target adon@walkersun
  1 sibling, 1 reply; 5+ messages in thread
From: Jonathan Larmour @ 2000-09-15 10:32 UTC (permalink / raw)
  To: adon@walkersun; +Cc: ecos-discuss

"adon@walkersun" wrote:
> 
> 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
[snip]

Did you update your host tools as described on
http://sources.redhat.com/ecos/anoncvs.html ? If not, you would get these
types of problems.

Alternatively if you did, you probably just need to do "Resolve conflicts"
and accept the recommendations.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] build error for I386
  2000-09-15 10:32 ` Jonathan Larmour
@ 2000-09-15 11:03   ` adon@walkersun
  2000-09-15 11:26     ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: adon@walkersun @ 2000-09-15 11:03 UTC (permalink / raw)
  To: ecos-discuss

Hi,

    I have updated the tools to eCos 1.3.1.1, if this is the newset that i
am done. But I also have this problem. as you said I should use the conflict
and resolved, but the system told me no solution.

Adon Chen

----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: "adon@walkersun" <adon@walkersun.com>
Cc: <ecos-discuss@sourceware.cygnus.com>
Sent: Saturday, September 16, 2000 1:32 AM
Subject: Re: [ECOS] build error for I386


> "adon@walkersun" wrote:
> >
> > 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
> [snip]
>
> Did you update your host tools as described on
> http://sources.redhat.com/ecos/anoncvs.html ? If not, you would get these
> types of problems.
>
> Alternatively if you did, you probably just need to do "Resolve conflicts"
> and accept the recommendations.
>
> Jifl
> --
> Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223)
728762
> "Plan to be spontaneous tomorrow."  ||  These opinions are all my own
fault
>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] build error for I386
  2000-09-15 11:03   ` adon@walkersun
@ 2000-09-15 11:26     ` Jonathan Larmour
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2000-09-15 11:26 UTC (permalink / raw)
  To: adon@walkersun; +Cc: ecos-discuss

"adon@walkersun" wrote:
> 
> Hi,
> 
>     I have updated the tools to eCos 1.3.1.1, if this is the newset that i
> am done. But I also have this problem. as you said I should use the conflict
> and resolved, but the system told me no solution.

That's odd. I suggest then manually editing the value of the relevant
option to make it the same as the requirement.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] Re: cannot build I386 target
  2000-09-15  0:19 [ECOS] build error for I386 adon@walkersun
  2000-09-15 10:32 ` Jonathan Larmour
@ 2000-09-16  9:10 ` adon@walkersun
  1 sibling, 0 replies; 5+ messages in thread
From: adon@walkersun @ 2000-09-16  9:10 UTC (permalink / raw)
  To: ecos-discuss

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-09-16  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-15  0:19 [ECOS] build error for I386 adon@walkersun
2000-09-15 10:32 ` Jonathan Larmour
2000-09-15 11:03   ` adon@walkersun
2000-09-15 11:26     ` Jonathan Larmour
2000-09-16  9:10 ` [ECOS] Re: cannot build I386 target adon@walkersun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).