This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Building ecos: newbie
- From: Praveen Kumar <praveen at it dot iitb dot ac dot in>
- To: Gary Thomas <gthomas at ecoscentric dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 26 Oct 2002 20:58:42 +0530
- Date: Sat, 26 Oct 2002 20:57:29 +0530 (IST)
- Subject: Re: [ECOS] Building ecos: newbie
Perhaps!, I have not done intensionally.
1. How do we turn off "sysctl" (what is it's purpose).
2. I am getting one more error for another configuration.
i386-elf-gcc -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti
-fno-exceptions -fvtable-gc -finit-priority
-I/home/praveen/NewName0/ecos2_install/include
-I/opt/ecos/ecos-av2/packages/services/memalloc/common/current
-I/opt/ecos/ecos-av2/packages/services/memalloc/common/current/src
-I/opt/ecos/ecos-av2/packages/services/memalloc/common/current/tests -I.
-Wp,-MD,heapgen.tmp -E
/opt/ecos/ecos-av2/packages/services/memalloc/common/current/src/heapgen.cpp
-o heapgeninc.tcl
make[1]: Leaving directory
`/home/praveen/NewName0/ecos2_build/services/memalloc/common/current'
/opt/ecos/ecos-av2/packages/services/memalloc/common/current/src/heapgen.cpp:69:
`#include' expects "FILENAME" or <FILENAME>
Thanks,
-Praveen.
On Sat, 26 Oct 2002, Gary Thomas wrote:
> On Sat, 2002-10-26 at 05:00, Praveen Kumar wrote:
> >
> > Hi,
> >
> > I am getting the following error while building the library
> > (Build->library) using graphical prebuild configtool.
> >
> > /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259:
> > `ip4_sysctl' undeclared here (not in a function)
> > make: Leaving directory `/home/praveen/NewName/ecos1_build'
> > /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259:
> > initializer element is not constant
> > /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259:
> > (near initialization for `inetsw[5].pr_sysctl')
> >
> > where is the problem?
>
> It looks like you tried to turn on "sysctl". Don't do this - it's not
> implemented.
>
> --
> ------------------------------------------------------------
> Gary Thomas |
> eCosCentric, Ltd. |
> +1 (970) 229-1963 | eCos & RedBoot experts
> gthomas@ecoscentric.com |
> http://www.ecoscentric.com/ |
> ------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss