This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Problem building with networking for i386
- From: Björn Runåker (QIC) <Bjorn dot Runaker at mic dot ericsson dot se>
- To: "'programmer'" <programmer at eblueweb dot com>, ecos-discuss at sources dot redhat dot com
- Date: Mon, 8 Jul 2002 08:51:33 +0200
- Subject: RE: [ECOS] Problem building with networking for i386
Hi!
Uppgrade to latest cygwin (latest binutils, out just a few days ago) and it works well.
Regards,
Bjorn
-----Original Message-----
From: programmer [mailto:programmer@eblueweb.com]
Sent: Sunday, July 07, 2002 8:11 PM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Problem building with networking for i386
Hello!
I try to build with networking (i386 PC target with Packages 'net') and
get following error:
i386-elf-gcc -c -I/ecos-d/cygwin/ecos-work/i386-net_install/include
-I/ecos-d/cygwin/ecos/ecos/packages/compat/posix/current
-I/ecos-d/cygwin/ecos/ecos/packages/compat/posix/current/src
-I/ecos-d/cygwin/ecos/ecos/packages/compat/posix/current/tests -I.
-I/ecos-d/cygwin/ecos/ecos/packages/compat/posix/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/mutex.tmp -o src/compat_posix_mutex.o
/ecos-d/cygwin/ecos/ecos/packages/compat/posix/current/src/mutex.cxx
cc1plus: warning: -fvtable-gc is no longer supported
cc1plus: warning: -fvtable-gc is no longer supported
/ecos-d/cygwin/ecos/ecos/packages/compat/posix/current/src/mqueue.cxx:82
:48: new: No such file or directory
<internal>: In function `void* mq_open(const char*, int, ...)':
<internal>:302: too many arguments to function `void* operator new(long
unsigned int)'
/ecos-d/cygwin/ecos/ecos/packages/compat/posix/current/src/mqueue.cxx:30
2: at
this point in file
make[1]: *** [src/mqueue.o.d] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/ecos-d/cygwin/ecos-work/i386-net_build/compat/posix/current'
make[1]: *** Waiting for unfinished jobs....
make: Leaving directory `/ecos-d/cygwin/ecos-work/i386-net_build'
make: *** [build] Error 2
Anyone recognise this error?
What I really want is to build a Redboot with networking and dhcp client
for i386 PC target.
Any suggestions of a working configuration (versions of ecos, gcc,
binutils etc) that works are welcome.
Thanks,
Bjorn
--
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