public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How di I fix this problem in ecos?
@ 2002-11-05 16:01 MAX Kuo
  2002-11-05 16:03 ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: MAX Kuo @ 2002-11-05 16:01 UTC (permalink / raw)
  To: ecos-discuss

hello everyone

I use the latest cvs and run a test in ecos.
I choose the eb40 template and build the test.
but it shows the error below:

can anyone tell me how to fix this error??


max
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/input/ 
-mcpu=arm7tdmi -mno-short-load-words -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/input/fgetc.tmp -o src/input/language_c_libc_stdio_fgetc.o 
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/inpu
t/fgetc.cxx
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/inpu
t/fgetc.cxx:129: `
   int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
make[1]: *** [src/input/fgetc.o.d] Error 1



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

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

* Re: [ECOS] How di I fix this problem in ecos?
  2002-11-05 16:01 [ECOS] How di I fix this problem in ecos? MAX Kuo
@ 2002-11-05 16:03 ` Gary Thomas
  2002-11-06 20:54   ` Greg Holdren
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2002-11-05 16:03 UTC (permalink / raw)
  To: MAX Kuo; +Cc: eCos Discussion

On Tue, 2002-11-05 at 17:01, MAX Kuo wrote:
> hello everyone
> 
> I use the latest cvs and run a test in ecos.
> I choose the eb40 template and build the test.
> but it shows the error below:
> 
> can anyone tell me how to fix this error??
> 
> 
> max
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/input/ 
> -mcpu=arm7tdmi -mno-short-load-words -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/input/fgetc.tmp -o src/input/language_c_libc_stdio_fgetc.o 
> /ecos-c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/inpu
> t/fgetc.cxx
> /ecos-c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/inpu
> t/fgetc.cxx:129: `
>    int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
> make[1]: *** [src/input/fgetc.o.d] Error 1
> 

Don't use GCC-3.x

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

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

* Re: [ECOS] How di I fix this problem in ecos?
  2002-11-05 16:03 ` Gary Thomas
@ 2002-11-06 20:54   ` Greg Holdren
  0 siblings, 0 replies; 5+ messages in thread
From: Greg Holdren @ 2002-11-06 20:54 UTC (permalink / raw)
  To: MAX Kuo; +Cc: eCos Discussion




> On Tue, 2002-11-05 at 17:01, MAX Kuo wrote:
> > hello everyone
> >
> > I use the latest cvs and run a test in ecos.
> > I choose the eb40 template and build the test.
> > but it shows the error below:
> >
> > can anyone tell me how to fix this error??
> >
> >
> > max
> >
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >
c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/input/
>
> -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-protot
ypes
> > -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
> > -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
> > -Wp,-MD,src/input/fgetc.tmp -o src/input/language_c_libc_stdio_fgetc.o
> >
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/in
pu
> > t/fgetc.cxx
> >
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/in
pu
> > t/fgetc.cxx:129: `
> >    int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an
alias
> > make[1]: *** [src/input/fgetc.o.d] Error 1
> >
>
> Don't use GCC-3.x
>

I grabbed gcc-3.2 to build i386-elf tools for the PC target and I get the
same error. Drop down to 2.xx.
I have had luck so far with gcc-3.0.2 arm-elf with the EB40. This is what I
use for my ARM targets :)

Greg





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

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

* Re: [ECOS] How di I fix this problem in ecos?
  2002-11-05 22:31 MAX Kuo
@ 2002-11-06  0:14 ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2002-11-06  0:14 UTC (permalink / raw)
  To: MAX Kuo; +Cc: ecos-discuss

On Wed, Nov 06, 2002 at 07:31:39PM +1300, MAX Kuo wrote:
> hi Gray:
> I use the configtool 2.11 in red hat 8.0.
> It get the same resutl error.
> So it that also because gcc 3.X???
> 
> max

Yes. The error is coming from gcc. You need an older gcc. Use the
recommended version which is stated in the installation documentation.

            Andrew

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

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

* RE: [ECOS] How di I fix this problem in ecos?
@ 2002-11-05 22:31 MAX Kuo
  2002-11-06  0:14 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: MAX Kuo @ 2002-11-05 22:31 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss

hi Gray:
I use the configtool 2.11 in red hat 8.0.
It get the same resutl error.
So it that also because gcc 3.X???

max




>===== Original Message From Gary Thomas <gthomas@ecoscentric.com> =====
>On Tue, 2002-11-05 at 17:01, MAX Kuo wrote:
>> hello everyone
>>
>> I use the latest cvs and run a test in ecos.
>> I choose the eb40 template and build the test.
>> but it shows the error below:
>>
>> can anyone tell me how to fix this error??
>>
>>
>> max
>> 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>> c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/input/
>> -mcpu=arm7tdmi -mno-short-load-words -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/input/fgetc.tmp -o src/input/language_c_libc_stdio_fgetc.o
>> 
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/inpu
>> t/fgetc.cxx
>> 
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/language/c/libc/stdio/current/src/inpu
>> t/fgetc.cxx:129: `
>>    int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
>> make[1]: *** [src/input/fgetc.o.d] Error 1
>>
>
>Don't use GCC-3.x
>
>--
>------------------------------------------------------------
>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

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

end of thread, other threads:[~2002-11-07  4:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05 16:01 [ECOS] How di I fix this problem in ecos? MAX Kuo
2002-11-05 16:03 ` Gary Thomas
2002-11-06 20:54   ` Greg Holdren
2002-11-05 22:31 MAX Kuo
2002-11-06  0:14 ` Andrew Lunn

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