public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Robert Cragie" <rcc@jennic.com>
To: <ashutoshvyas@tataelxsi.co.in>, "'Andrew Lunn'" <andrew@lunn.ch>
Cc: <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] problem in twothreads program
Date: Thu, 03 Jun 2004 09:47:00 -0000	[thread overview]
Message-ID: <NMEDLDELHPEFHOMFIJBHIEEODFAA.rcc@jennic.com> (raw)
In-Reply-To: <000b01c4493e$7c95d250$5514010a@telxsi.com>

> 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

  parent reply	other threads:[~2004-06-03  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03  6:30 Ashutosh
2004-06-03  7:26 ` Andrew Lunn
2004-06-03  7:41   ` Ashutosh
2004-06-03  7:47     ` Andrew Lunn
2004-06-03  8:51       ` Ashutosh
2004-06-03  9:47     ` Robert Cragie [this message]
2004-06-03 10:07       ` Ashutosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NMEDLDELHPEFHOMFIJBHIEEODFAA.rcc@jennic.com \
    --to=rcc@jennic.com \
    --cc=andrew@lunn.ch \
    --cc=ashutoshvyas@tataelxsi.co.in \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).