From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12385 invoked by alias); 3 Jun 2004 10:07:51 -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 12370 invoked from network); 3 Jun 2004 10:07:49 -0000 Received: from unknown (HELO vmail.vsnl.com) (203.199.113.69) by sourceware.org with SMTP; 3 Jun 2004 10:07:49 -0000 Received: from ashutoshvyas ([127.0.0.1]) by vmail.vsnl.com (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with SMTP id <0HYQ00A1E9GUF8@vmail.vsnl.com> for ecos-discuss@ecos.sourceware.org; Thu, 03 Jun 2004 15:37:43 +0530 (IST) Received: from ([203.197.168.145]) by vmail.vsnl.com (InterScan E-Mail VirusWall Unix); Thu, 03 Jun 2004 15:37:43 +0530 (IST) Date: Thu, 03 Jun 2004 10:07:00 -0000 From: Ashutosh In-reply-to: To: 'Robert Cragie' , 'Andrew Lunn' Cc: ecos-discuss@ecos.sourceware.org Reply-to: ashutoshvyas@tataelxsi.co.in Message-id: <000d01c44952$f48b1cc0$5514010a@telxsi.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Subject: RE: [ECOS] problem in twothreads program X-SW-Source: 2004-06/txt/msg00041.txt.bz2 No its not working , did I made any mistake during configuration of the system. My configuration are as follows template :-> TMS320DM270 Package :-> Default Actually I am using eCos Configuration Tool, do I need to specify something else also. Regards, Ashutosh -----Original Message----- From: Robert Cragie [mailto:rcc@jennic.com] Sent: Thursday, June 03, 2004 3:17 PM To: ashutoshvyas@tataelxsi.co.in; 'Andrew Lunn' Cc: ecos-discuss@ecos.sourceware.org Subject: RE: [ECOS] problem in twothreads program > Actually i am using TI TMS320DM270 as my template and packages as default. > After building of the eCos for the given target, it includes > kernel package > in my test_build folder > And all the missing header files are in the test_install/include > folder. Below, you have specified 'test_install/install/include' as the search directory. Try: arm-elf-gcc -g -Itest_install/include d:/cygwin/opt/ecos-2.0/examples/twothreads.c -Ltest_install/lib -Ttarget.ld -nostdlib Robert > On Thu, Jun 03, 2004 at 12:02:31PM +0530, Ashutosh wrote: > > Hi all, > > I am trying to run the simple twothreads program. But I am getting some > > error, it is as follows > > > > d:/cygwin/opt/ecos-2.0/examples/twothreads.c:1:29: > cyg/kernel/kapi.h : No > > such file or directory > > d:/cygwin/opt/ecos-2.0/examples/twothreads.c:9: warning: data definition > has > > no type or storage class > > > > Actually I am trying to run this program as given in the > ecos-user-guide. > > giving the command like this > > arm-elf-gcc -g -Itest_install/install/include > > > d:/cygwin/opt/ecos-2.0/examples/twothreads.c > -Ltest_install/install/lib -Tta > > rget.ld -nostdlib [snip] -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss