This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: compile error with network.h
- To: li hui <lhbyron at yahoo dot com>
- Subject: Re: [ECOS] compile error with network.h
- From: Gary Thomas <gthomas at redhat dot com>
- Date: 02 Nov 2001 16:47:06 +0900
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- References: <20011102074001.7417.qmail@web14707.mail.yahoo.com>
You need some additional command line switches:
-D_KERNEL -D__ECOS
On Fri, 2001-11-02 at 16:40, li hui wrote:
> I build ecos with target i386 and template net.now I
> write a program with head file network.h, but the
> complier prompt that it can't find some other head
> files.
> the error info is below:
> In file included from
> /ecos_base/fornano_install/include/network.h:63,
> from client.c:32:
> /ecos_base/fornano_install/include/sys/param.h:120:
> sys/simplelock.h: No such file or directory
> /ecos_base/fornano_install/include/sys/param.h:132:
> sys/syslimits.h: No such file or directory
> /ecos_base/fornano_install/include/sys/param.h:162:
> sys/signal.h: No such file or directory
> In file included from
> /ecos_base/fornano_install/include/network.h:63,
> from client.c:32:
> /ecos_base/fornano_install/include/sys/param.h:202:
> warning: `CLBYTES' redefined
> /ecos_base/fornano_install/include/machine/param.h:72:
> warning: this is the location of the previous
> definition
> In file included from
> /ecos_base/fornano_install/include/network.h:65,
> from client.c:32:
> /ecos_base/fornano_install/include/sys/ioctl.h:103:
> sys/ttycom.h: No such file or directory
> In file included from
> /ecos_base/fornano_install/include/network.h:65,
> from client.c:32:
> /ecos_base/fornano_install/include/sys/ioctl.h:123:
> sys/dkio.h: No such file or directory
> /ecos_base/fornano_install/include/sys/ioctl.h:124:
> sys/filio.h: No such file or directory
> In file included from
> /ecos_base/fornano_install/include/network.h:78,
> from client.c:32:
> /ecos_base/fornano_install/include/bootp.h:95:
> bptypes.h: No such file or directory
>
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com