public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS]  Problem building with networking for i386
@ 2002-07-07 23:54 Björn Runåker (QIC)
  0 siblings, 0 replies; 3+ messages in thread
From: Björn Runåker (QIC) @ 2002-07-07 23:54 UTC (permalink / raw)
  To: 'programmer', ecos-discuss

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

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

* Re: [ECOS]  Problem building with networking for i386
  2002-07-07 11:10 programmer
@ 2002-07-08 10:42 ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2002-07-08 10:42 UTC (permalink / raw)
  To: programmer; +Cc: eCos Discussion

[-- Attachment #1: Type: text/plain, Size: 2420 bytes --]

On Sun, 2002-07-07 at 12:10, programmer wrote:
> 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 version of GCC are you trying to use?

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

Sorry, at this time, RedBoot only supports BOOTP.  Also, to build 
RedBoot, you need to only use the RedBoot template - not all of the
other stuff you are currently trying to include.  Read the RedBoot
build documentation, you'll find the steps to build for the PC are:
  % ecosconfig new pc redboot
  % ecosconfig import ${ECOS_REPOSITORY}/hal/i386/pc/current/misc/redboot_FLOPPY.ecm
  % ecosconfig tree
  % make



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

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

* [ECOS]  Problem building with networking for i386
@ 2002-07-07 11:10 programmer
  2002-07-08 10:42 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: programmer @ 2002-07-07 11:10 UTC (permalink / raw)
  To: ecos-discuss

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

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

end of thread, other threads:[~2002-07-08 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-07 23:54 [ECOS] Problem building with networking for i386 Björn Runåker (QIC)
  -- strict thread matches above, loose matches on Subject: below --
2002-07-07 11:10 programmer
2002-07-08 10:42 ` Gary Thomas

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