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: Building ecos: newbie


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

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


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