This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Linux Synth Target build failure under Linux 8
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: Fred Woolsey <fwsbcon at fwsbcon dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 15 Feb 2003 17:00:10 -0700
- Subject: Re: [ECOS] Linux Synth Target build failure under Linux 8
- References: <005e01c2d54b$50a24330$6401a8c0@sylfredsteph>
On Sat, 2003-02-15 at 16:38, Fred Woolsey wrote:
> Hi all,
>
> Been having difficulties trying to build the eCos libraries using the latest
> CVS sources... error message is as follows:
>
> gcc -c -I/home/Fred/ecos_install/include -I/usr/ecos/packages/language/c/lib
> c/stdio/current -I/usr/ecos/packages/language/c/libc/stdio/current/src -I/us
> r/ecos/packages/language/c/libc/stdio/current/tests -I. -I/usr/ecos/packages
> /language/c/libc/stdio/current/src/input/ -Wall -Wpointer-arith -Wstrict-pro
> totypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fd
> ata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,s
> rc/input/fgetc.tmp -o src/input/language_c_libc_stdio_fgetc.o
> /usr/ecos/packages/language/c/libc/stdio/current/src/input/fgetc.cxx
>
> /usr/ecos/packages/language/c/libc/stdio/current/src/input/fgetc.cxx:129:
> `int
> getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
> make[1]: Leaving directory
> `/home/Fred/ecos_build/language/c/libc/stdio/current'
> make[1]: *** [src/input/fgetc.o.d] Error 1
> make: Leaving directory `/home/Fred/ecos_build'
> make: *** [build] Error 2
>
> Additional system info:
>
> gcc version: 3.2
> Linux version: 8.0
> Configtool version: 2.11
> CPU: i686
IIRC, the way to solve this is to get either a newer (3.2.2+)
or older (pre 3.0) GCC.
--
.--------------------------------------------------------.
| Mind: Embedded Linux and eCos Development |
|--------------------------------------------------------|
| Gary Thomas email: gary.thomas@mind.be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss