From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7836 invoked by alias); 8 Nov 2007 20:01:13 -0000 Received: (qmail 7605 invoked by uid 22791); 8 Nov 2007 20:01:07 -0000 X-Spam-Check-By: sourceware.org Received: from bay0-omc1-s2.bay0.hotmail.com (HELO bay0-omc1-s2.bay0.hotmail.com) (65.54.246.74) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Nov 2007 20:01:01 +0000 Received: from BAY105-W3 ([65.54.224.103]) by bay0-omc1-s2.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 8 Nov 2007 12:00:59 -0800 Message-ID: From: C B To: Gary Thomas CC: Date: Thu, 08 Nov 2007 20:01:00 -0000 In-Reply-To: <472B7580.4080409@mlbassoc.com> References: <472B7580.4080409@mlbassoc.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] networking support for my eCos application X-SW-Source: 2007-11/txt/msg00050.txt.bz2 > Yes, I would definitely suggest that you update to the CVS tree > (release 2.0 is nearing 5 years old!) > > Once you've done that, I'd also suggest that you try some simple > things. This sequence should work and generate a test that you > can try on your hardware: > % ecosconfig new eb9261 net > % ecosconfig tree > % make; make -C net/common/current tests TESTS=3Dtests/ping_test Thanks for your help (Andrew & Gary). I think I'm getting closer. I got the latest eCos from CVS and the latest configtool & ecosconfig from = ecoscentric.com. I copied the relevant hardware info from the ecos.db that= I have to the one I checked out of CVS. I'm able to succesfully perform e= ach of the commands above. But, when I try to compile and link my own code I still get these undefined= references when I try to link with the eCos libs I've built: >>> undefined reference to 'init_all_network_interfaces' >>> undefined reference to 'eth0_up' >>> undefined reference to 'eth0_bootp_data' >>> undefined reference to 'inet_ntoa' The command that gives those errors: arm-elf-ld -L"C:\cygwin\opt\ecos\ecos-cvs\tmp\install\lib" -L"C:\cygwi= n\opt\ecos\ecos-cvs\tmp\net\common\current" -L"C:\cygwin\opt\ecos\gnutools\= arm-elf\arm-elf\lib" -L"C:\cygwin\opt\ecos\gnutools\arm-elf\lib\gcc-lib\arm= -elf\3.2.1" -Ttarget.ld -o"Simple.exe" ./simple.o The ping_test calls init_all_network_interfaces() so I'm not sure why it's = not found. Chris _________________________________________________________________ Boo!=A0Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=3Dwl_hotma= ilnews -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss