This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
TCP/IP with 'Routing' enabled: Problem in building
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] TCP/IP with 'Routing' enabled: Problem in building
- From: "Selvakumar Manickam" <m_selvakumar at hotmail dot com>
- Date: Fri, 06 Oct 2000 13:57:23 GMT
Hai,
I am trying to build eCos TCP/IP stack with 'ROUTING' enabled
for Cirrus Logic's EP7211 board.
But the stack is not even building :( The ecos.ecc segment and
make errors are attached. The code is referring to an undefined 'ip4_sysctl'
function call!
Any help will be really appreciated.
--- ecos.ecc --------------------------------------------------
# Routing support
# This option enables support for packet routing.
cdl_option CYGPKG_NET_ROUTING {
# Flavor: bool
user_value 1
# value_source user
# Default value: 0
};
---------------------------------------------------------------
--- make error ------------------------------------------------
arm-elf-gcc -c -I/proj/bthub/ECOS_EP7211/ecos-work/install/include
I/proj/bthub/ECOS_EP7211/ecos-1.3.1/packages/net/tcpip/v1_0b1
-I/proj/bthub/ECOS_EP7211/ecos-1.3.1/packages/net/tcpip/v1_0b1/src
-I/proj/bthub/ECOS_EP7211/ecos-1.3.1/packages/net/tcpip/v1_0b1/tests -I.
-I/proj/bthub/ECOS_EP7211/ecos-1.3.1/packages/net/tcpip/v1_0b1/src/sys/netinet/
-mcpu=arm7tdmi -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
-Wp,-MD,src/sys/netinet/in_proto.tmp -o src/sys/netinet/net_tcpip_in_proto.o
/proj/bthub/ECOS_EP7211/ecos-1.3.1/packages/net/tcpip/v1_0b1/src/sys/netinet/in_proto.c
/proj/bthub/ECOS_EP7211/ecos-1.3.1/packages/net/tcpip/v1_0b1/src/sys/netinet/in_proto.c:282:
`ip4_sysctl' undeclared here (not in a function)
/proj/bthub/ECOS_EP7211/ecos-1.3.1/packages/net/tcpip/v1_0b1/src/sys/netinet/in_proto.c:282:
initializer element is not constant
/proj/bthub/ECOS_EP7211/ecos-1.3.1/packages/net/tcpip/v1_0b1/src/sys/netinet/in_proto.c:282:
(near initialization for `inetsw[5].pr_sysctl')
make[1]: *** [src/sys/netinet/in_proto.o.d] Error 1
make[1]: Leaving directory
`/proj/bthub/ECOS_EP7211/ecos-work/net/tcpip/v1_0b1'
make: *** [build] Error 2
---------------------------------------------------------------
Best Regards,
Selva.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.