This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Compile errors creating Redboot for I386pc
- From: Rycerz Roman-G11565 <roman dot rycerz at motorola dot com>
- To: "'Ecos Discussion List'" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 10 Jun 2002 09:37:43 -0500
- Subject: [ECOS] Compile errors creating Redboot for I386pc
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