From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24437 invoked by alias); 5 Apr 2005 16:03:17 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 24321 invoked from network); 5 Apr 2005 16:03:00 -0000 Received: from unknown (HELO smtp.ecoscentric.com) (194.153.168.165) by sourceware.org with SMTP; 5 Apr 2005 16:03:00 -0000 Received: by smtp.ecoscentric.com (Postfix, from userid 99) id 8510D65C110; Tue, 5 Apr 2005 17:02:59 +0100 (BST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by smtp.ecoscentric.com (Postfix) with ESMTP id 9892565C0B9; Tue, 5 Apr 2005 17:02:56 +0100 (BST) Message-ID: <4252B6B0.7020004@eCosCentric.com> Date: Tue, 05 Apr 2005 16:03:00 -0000 From: Jonathan Larmour User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) MIME-Version: 1.0 To: raghavendra pai g Cc: ecos-discuss@ecos.sourceware.org References: <20050404052142.475.qmail@webmail17.rediffmail.com> In-Reply-To: <20050404052142.475.qmail@webmail17.rediffmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on norbert.ecoscentric.com X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [ECOS] Re: X-SW-Source: 2005-04/txt/msg00051.txt.bz2 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