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: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 26 Oct 2002 16:31:40 +0530
- Date: Sat, 26 Oct 2002 16:30:25 +0530 (IST)
- Subject: Re: [ECOS] Building ecos: newbie
Hi,
I am getting the following error while building the library
(Build->library) using graphical prebuild configtool.
..........
..........
i386-elf-gcc -c -I/home/praveen/NewName/ecos1_install/include
-I/opt/ecos/ecos-av2/packages/net/tcpip/current
-I/opt/ecos/ecos-av2/packages/net/tcpip/current/src
-I/opt/ecos/ecos-av2/packages/net/tcpip/current/tests -I.
-I/opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/ -Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual
-g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
-fvtable-gc -finit-priority -D_KERNEL -D__ECOS -D__INSIDE_NET
-Wp,-MD,src/sys/netinet/in_proto.tmp -o
src/sys/netinet/net_tcpip_in_proto.o
/opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c
make[1]: Leaving directory
`/home/praveen/NewName/ecos1_build/net/tcpip/current'
/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')
make[1]: *** [src/sys/netinet/in_proto.o.d] Error 1
make: *** [build] Error 2
where is the problem?
Thanks in advance
-Praveen.
On Thu, 24 Oct 2002, Jonathan Larmour wrote:
> Gary Thomas wrote:
> > On Thu, 2002-10-24 at 04:29, Praveen Kumar wrote:
> >
> >>Hi,
> >>
> >>I have downloaded recent (ecos-v2-full-alpha-snap-2002-10-14.tar.bz2) ecos
> >>src from ecoscentric and version-2 configuration tool for i386
> >>(configtool-2.11-i386.tar.gz). I am using Linux PC.
> >>
> >>While building configuration tool, I am getting the following error.
> >>Btw, do I need to build all tools (ecos,ct,wxWin) both release and debug
> >>levels in order to use (to load ecos kernel image into i486) Ecos.
> >>
> >>$make -f $CONFIGTOOLDIR/Makefile WXDIR=$WXDIR ECOSDIR=$ECOSDIR LEVEL=debug full
> >>.....................
> >>.....................
> >>In file included from
> >>/opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/
> >>aboutdlg.cpp:61:
> >>/opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/aboutdlg.h:53:23:
> >>wx/splash.h: No such file or directory
> >>make: *** [/tmp/ecos-build/ct-build-debug/aboutdlg.o] Error 1
> >>
> >>-------------
> >>actually, aboutdlg.h has
> >>include "wx/splash.h"
> >>But, no where I found splash.h
> >>Any help ??
> >
> >
> > Check out your "wx" installation - this file is included with it.
>
> And in any case, do you really want to build it? You know there are
> prebuilts already at http://sources.redhat.com/ecos/ct2.html
>
> Jifl
> --
> eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
> --[ "You can complain because roses have thorns, or you ]--
> --[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
>
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss