This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem building with networking for i386


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: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]