public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem building from anon CVS
@ 2005-11-02 14:57 Scott Bailie
  2005-11-02 15:03 ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Bailie @ 2005-11-02 14:57 UTC (permalink / raw)
  To: ecos-discuss

Hi, 

I’m having problems building with the latest code I downloaded from the anon
CVS. Previously I used the very old code & utils that were included in
Massa’s book. I simply wanted to get acquainted with eCos following his
tutorial. Next I grabbed the latest from the repository and using the eCos
Config tool v2.11 can no longer build. I get the following error:

/ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c: In function
`hal_platform_init':
/ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:129: parse error
before `lo'
/ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: `lo'
undeclared (first use in this function)
/ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: (Each
undeclared identifier is reported only once
/ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: for each
function it appears in.)
/ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:132: `hi'
undeclared (first use in this function)

I’ve searched the mailing list with no luck and I apologize if this was
explained and I missed it.  I’m running on a WINXP platform with a recent
version of cygwin I just downloaded. Any thoughts as to what is going wrong?


_________________
Scott Bailie
MIT LINCOLN LAB
781.981.4140
 


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Problem building from anon CVS
  2005-11-02 14:57 [ECOS] Problem building from anon CVS Scott Bailie
@ 2005-11-02 15:03 ` Gary Thomas
  2005-11-02 15:17   ` Scott Bailie
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2005-11-02 15:03 UTC (permalink / raw)
  To: Scott Bailie; +Cc: eCos Discussion

On Wed, 2005-11-02 at 09:56 -0500, Scott Bailie wrote:
> Hi, 
> 
> IĆæm having problems building with the latest code I downloaded from the anon
> CVS. Previously I used the very old code & utils that were included in
> MassaĆæs book. I simply wanted to get acquainted with eCos following his
> tutorial. Next I grabbed the latest from the repository and using the eCos
> Config tool v2.11 can no longer build. I get the following error:
> 
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c: In function
> `hal_platform_init':
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:129: parse error
> before `lo'
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: `lo'
> undeclared (first use in this function)
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: (Each
> undeclared identifier is reported only once
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: for each
> function it appears in.)
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:132: `hi'
> undeclared (first use in this function)
> 
> IĆæve searched the mailing list with no luck and I apologize if this was
> explained and I missed it.  IĆæm running on a WINXP platform with a recent
> version of cygwin I just downloaded. Any thoughts as to what is going wrong?

This looks like a problem with setup - are you sure you're not
getting any other errors/warnings before this?  In particular,
this error says that the eCos standard type "cyg_uint8" is not
defined, which would imply that there was a problem including
<cyg/infra/cyg_type.h>

How did you configure eCos?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] Problem building from anon CVS
  2005-11-02 15:03 ` Gary Thomas
@ 2005-11-02 15:17   ` Scott Bailie
  2005-11-02 19:49     ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Bailie @ 2005-11-02 15:17 UTC (permalink / raw)
  To: 'Gary Thomas'; +Cc: 'eCos Discussion'

I did previously have a problem in \packages\pkgconf\rules.mak regarding
-finline-limit=7000. I removed it as a quick fix per the comment in
rules.mak.  After that change the problem I describe below is the only other
warning/error I see.

I'm building for i386 w/i82559 ethernet, using the net package.

Thanks!

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Gary Thomas
Sent: Wednesday, November 02, 2005 10:03 AM
To: Scott Bailie
Cc: eCos Discussion
Subject: Re: [ECOS] Problem building from anon CVS

On Wed, 2005-11-02 at 09:56 -0500, Scott Bailie wrote:
> Hi, 
> 
> I'm having problems building with the latest code I downloaded from the
anon
> CVS. Previously I used the very old code & utils that were included in
> Massa's book. I simply wanted to get acquainted with eCos following his
> tutorial. Next I grabbed the latest from the repository and using the eCos
> Config tool v2.11 can no longer build. I get the following error:
> 
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c: In function
> `hal_platform_init':
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:129: parse error
> before `lo'
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: `lo'
> undeclared (first use in this function)
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: (Each
> undeclared identifier is reported only once
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:131: for each
> function it appears in.)
> /ecos-c/ecos/packages/hal/i386/pc/current/src/plf_misc.c:132: `hi'
> undeclared (first use in this function)
> 
> I've searched the mailing list with no luck and I apologize if this was
> explained and I missed it.  I'm running on a WINXP platform with a recent
> version of cygwin I just downloaded. Any thoughts as to what is going
wrong?

This looks like a problem with setup - are you sure you're not
getting any other errors/warnings before this?  In particular,
this error says that the eCos standard type "cyg_uint8" is not
defined, which would imply that there was a problem including
<cyg/infra/cyg_type.h>

How did you configure eCos?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Problem building from anon CVS
  2005-11-02 15:17   ` Scott Bailie
@ 2005-11-02 19:49     ` Andrew Lunn
  2005-11-03 13:05       ` Scott Bailie
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2005-11-02 19:49 UTC (permalink / raw)
  To: Scott Bailie; +Cc: ecos-discuss

On Wed, Nov 02, 2005 at 10:16:29AM -0500, Scott Bailie wrote:
> I did previously have a problem in \packages\pkgconf\rules.mak regarding
> -finline-limit=7000. I removed it as a quick fix per the comment in
> rules.mak.  After that change the problem I describe below is the only other
> warning/error I see.

What toolchain version do you have? The fact that -finline-limit=7000
does not work suggests it is very old.

        Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] Problem building from anon CVS
  2005-11-02 19:49     ` Andrew Lunn
@ 2005-11-03 13:05       ` Scott Bailie
  0 siblings, 0 replies; 5+ messages in thread
From: Scott Bailie @ 2005-11-03 13:05 UTC (permalink / raw)
  To: 'Andrew Lunn'; +Cc: ecos-discuss

Thanks Andrew that was it! Because I'm behind a firewall here I had a sys
Admin download the latest code from CVS, but I did not update my toolchain.
Doing so manually did the trick!

Thanks again!

-Scott


-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Andrew Lunn
Sent: Wednesday, November 02, 2005 2:50 PM
To: Scott Bailie
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Problem building from anon CVS

On Wed, Nov 02, 2005 at 10:16:29AM -0500, Scott Bailie wrote:
> I did previously have a problem in \packages\pkgconf\rules.mak regarding
> -finline-limit=7000. I removed it as a quick fix per the comment in
> rules.mak.  After that change the problem I describe below is the only
other
> warning/error I see.

What toolchain version do you have? The fact that -finline-limit=7000
does not work suggests it is very old.

        Andrew

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



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-03 13:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-02 14:57 [ECOS] Problem building from anon CVS Scott Bailie
2005-11-02 15:03 ` Gary Thomas
2005-11-02 15:17   ` Scott Bailie
2005-11-02 19:49     ` Andrew Lunn
2005-11-03 13:05       ` Scott Bailie

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).