[ECOS] Re:

Jonathan Larmour jifl@eCosCentric.com
Tue Apr 5 16:03:00 GMT 2005


raghavendra pai g wrote:
>  
>       I created a .ecc file by adding packages such as networking , 
> common ethernet support & open bsd stack. the template i used is linux 
> synthetic target.
> 
>       i tried to compile the hello.c file but it showed me the following 
> error . Why is it so... as when i tried to compile without any of these 
> package it was correct.
[snip]
> /root/proj/test/tr3_install/lib//libtarget.a(net_tcpip_sys_generic.o): 
> In function `sys_ioctl':
> /opt/ecos-2.0/packages/net/tcpip/v2_0/src/sys/kern/sys_generic.c:130: 
> multiple definition of `sb_max'
> /root/proj/test/tr3_install/lib//libtarget.a(net_tcpip_support.o)(.bss.sb_max+0x0): 
> first defined here
> collect2: ld returned 1 exit status
> 
> can u tell me why is it so  ......... and the solution for it

Yes, don't use the OpenBSD stack. Use the FreeBSD stack. In other words, 
use the "net" template.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list