This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
query regarding inclusion of old_net
- From: Imran Khan <imran at alumnux dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 04 Aug 2006 11:34:12 +0530
- Subject: [ECOS] query regarding inclusion of old_net
Sir,I m building my ecos kernel with old_net support but 'make' is not
working .I gave following commands:
ecosconfig new linux old net
ecosconfig tree
make
then I enabled the CYGPKG_NET_BRIDGE & CYGNUM_NET_BRIDGES ecos.ecc and
then again tried to build tree & make but it showed following errors,
/INFINEON/ecos1/install/lib/libextras.a(net_tcpip_sockio.o)(.bss.ifnet
+0x0): In function `selwakeup':
/INFINEON/ecos/packages/net/tcpip/current/src/sys/kern/sockio.c:181:
multiple definition of `ifnet'
/INFINEON/ecos1/install/lib/libextras.a(devs_eth_synth_ecosynth_syntheth.o)(.bss.ifnet+0x0):/INFINEON/ecos/packages/devs/eth/synth/ecosynth/current/src/syntheth.c:182: first defined here
/INFINEON/ecos1/install/lib/libextras.a(net_tcpip_sockio.o)(.bss.ifindex2ifnet+0x0): multiple definition of `ifindex2ifnet'
/INFINEON/ecos1/install/lib/libextras.a(devs_eth_synth_ecosynth_syntheth.o)(.bss.ifindex2ifnet+0x0): first defined here
/INFINEON/ecos1/install/lib/libextras.a(net_tcpip_sockio.o)(.bss.if_index+0x0): multiple definition of `if_index'
/INFINEON/ecos1/install/lib/libextras.a(devs_eth_synth_ecosynth_syntheth.o)(.bss.if_index+0x0): first defined here
collect2: ld returned 1 exit status
make[1]: *** [/INFINEON/ecos1/install/lib/extras.o] Error 1
make[1]: Leaving directory `/INFINEON/ecos1/hal/common/current'
make: *** [build] Error 2
here ecos1 is directory where i m building my kernel using ecosconfig.
Can u help me out of this problem by providing a solution.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss