This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Compile errors creating Redboot for I386pc
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Rycerz Roman-G11565 <roman dot rycerz at motorola dot com>
- Cc: "'Ecos Discussion List'" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 10 Jun 2002 16:49:44 +0200
- Subject: Re: [ECOS] Compile errors creating Redboot for I386pc
- References: <EC428485C868B344B742020A2BD8FF5B83F9B4@il08exm30.corp.mot.com>
What version of gcc are you using?
It works fine for me. I have
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
maybe yours is newer or older?
Andrew
On Mon, Jun 10, 2002 at 09:37:43AM -0500, Rycerz Roman-G11565 wrote:
> Hi...
>
> U hope someone can help me.
>
> I am trying to compile Redboot for a I386pc target.
> I can compile the stubs and minimal configuration for both library and
> tests...
>
> But when it comes to Redboot it stops with (see below) anyone have any Ideas
> ????
>
> make[1]: Entering directory
> `/ecos-d/ecos/i386pc/redboot_build/language/c/libc/string/current'
> i386-elf-gcc -c -I/ecos-d/ecos/i386pc/redboot_install/include
> -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/string/current
> -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/string/current/src
> -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/string/current/tes
> ts -I.
> -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/string/current/src
> / -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/memchr.tmp -o
> src/language_c_libc_string_memchr.o
> /ecos-c/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/string/current/src/m
> emchr.cxx
> /ecos-c/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/string/current/src/m
> emchr.cxx:71: `
> void* memchr(const void*, int, long unsigned int)' defined both normally
> and
> as an alias
> /ecos-c/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/string/current/src/m
> emchr.cxx:71: weak
> declaration of `void* memchr(const void*, int, long unsigned int)' must
> precede definition
> make[1]: Leaving directory
> `/ecos-d/ecos/i386pc/redboot_build/language/c/libc/string/current'
> make[1]: *** [src/memchr.o.d] Error 1
> make: Leaving directory `/ecos-d/ecos/i386pc/redboot_build'
> make: *** [build] Error 2
>
>
>
> Roman F. Rycerz
> Engineering Section Manager
> Powertrain and Powertrain Systems Division
> Automotive and Industrial Electronics Group
>
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss