public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] removing FILEIO causes compiler errors
@ 2001-09-19 13:21 Trenton D. Adams
  2001-09-19 13:42 ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: Trenton D. Adams @ 2001-09-19 13:21 UTC (permalink / raw)
  To: 'eCos Discussion'

CYGPKG_LIBC_STDIO_FILEIO can't be disabled, it's greyed out.

I assume that's what's causing the compiler error below!?

make[1]: Leaving directory
`/c/MyDocuments/eCosBuilds/RAMSupport_build/devs/eth/arm/edb7xxx/current
'
In file included from
/cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/machine/li
mits.h:59,
make: Leaving directory `/c/MyDocuments/eCosBuilds/RAMSupport_build'
                 from
/cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/sys/param.
h:167,
                 from
/cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/eth_drv.h:
63,
                 from
/cygdrive/C/MyDocuments/eCosRepository/ecos/packages/devs/eth/arm/edb7xx
x/current/src/if_edb7xxx.c:70:
/cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/limits.h:1
66: cyg/fileio/limits.h: No such file or directory
make[1]: *** [src/if_edb7xxx.o.d] Error 1
make: *** [build] Error 2

If not, there's something wrong happening when I remove the FILEIO
package.

Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1

Phone: 403 640 9494 ext-208
Fax: 403 640 9599

http://www.extremeeng.com

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

* Re: [ECOS] removing FILEIO causes compiler errors
  2001-09-19 13:21 [ECOS] removing FILEIO causes compiler errors Trenton D. Adams
@ 2001-09-19 13:42 ` Jonathan Larmour
  2001-09-19 13:46   ` Trenton D. Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Larmour @ 2001-09-19 13:42 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'eCos Discussion'

"Trenton D. Adams" wrote:
> 
> CYGPKG_LIBC_STDIO_FILEIO can't be disabled, it's greyed out.

That's because it is disabled if fileio has been removed.
 
> I assume that's what's causing the compiler error below!?
> 
> make[1]: Leaving directory
> `/c/MyDocuments/eCosBuilds/RAMSupport_build/devs/eth/arm/edb7xxx/current
> '
> In file included from
> /cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/machine/li
> mits.h:59,
> make: Leaving directory `/c/MyDocuments/eCosBuilds/RAMSupport_build'
>                  from
> /cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/sys/param.
> h:167,
>                  from
> /cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/eth_drv.h:
> 63,
>                  from
> /cygdrive/C/MyDocuments/eCosRepository/ecos/packages/devs/eth/arm/edb7xx
> x/current/src/if_edb7xxx.c:70:
> /cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/limits.h:1
> 66: cyg/fileio/limits.h: No such file or directory
> make[1]: *** [src/if_edb7xxx.o.d] Error 1
> make: *** [build] Error 2
> 
> If not, there's something wrong happening when I remove the FILEIO
> package.

No, but I know what that is: an earlier run set an inferred value. You've
changed the configuration, but the inferred values don't get reverted. This
has caused confusion before, and I think it should be changed (but no time
as usual, alas). At a guess you could hack around with something like:

sed '/inferred_value/d' < ecos.ecc > ecos.foo
mv ecos.foo ecos.ecc

Untested of course :-).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

* RE: [ECOS] removing FILEIO causes compiler errors
  2001-09-19 13:42 ` Jonathan Larmour
@ 2001-09-19 13:46   ` Trenton D. Adams
  2001-09-19 14:18     ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: Trenton D. Adams @ 2001-09-19 13:46 UTC (permalink / raw)
  To: 'Jonathan Larmour'; +Cc: 'eCos Discussion'

With that "sed", I need it for the net package and various others anyhow
don't I?  If so, then I just won't remove it.

-----Original Message-----
From: jlarmour@cambridge.redhat.com
[ mailto:jlarmour@cambridge.redhat.com ] On Behalf Of Jonathan Larmour
Sent: Wednesday, September 19, 2001 2:43 PM
To: Trenton D. Adams
Cc: 'eCos Discussion'
Subject: Re: [ECOS] removing FILEIO causes compiler errors


"Trenton D. Adams" wrote:
> 
> CYGPKG_LIBC_STDIO_FILEIO can't be disabled, it's greyed out.

That's because it is disabled if fileio has been removed.
 
> I assume that's what's causing the compiler error below!?
> 
> make[1]: Leaving directory
>
`/c/MyDocuments/eCosBuilds/RAMSupport_build/devs/eth/arm/edb7xxx/current
> '
> In file included from
>
/cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/machine/li
> mits.h:59,
> make: Leaving directory `/c/MyDocuments/eCosBuilds/RAMSupport_build'
>                  from
>
/cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/sys/param.
> h:167,
>                  from
>
/cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/eth_drv.h:
> 63,
>                  from
>
/cygdrive/C/MyDocuments/eCosRepository/ecos/packages/devs/eth/arm/edb7xx
> x/current/src/if_edb7xxx.c:70:
>
/cygdrive/C/MyDocuments/eCosBuilds/RAMSupport_install/include/limits.h:1
> 66: cyg/fileio/limits.h: No such file or directory
> make[1]: *** [src/if_edb7xxx.o.d] Error 1
> make: *** [build] Error 2
> 
> If not, there's something wrong happening when I remove the FILEIO
> package.

No, but I know what that is: an earlier run set an inferred value.
You've
changed the configuration, but the inferred values don't get reverted.
This
has caused confusion before, and I think it should be changed (but no
time
as usual, alas). At a guess you could hack around with something like:

sed '/inferred_value/d' < ecos.ecc > ecos.foo
mv ecos.foo ecos.ecc

Untested of course :-).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223)
271062
Maybe this world is another planet's Hell -Aldous Huxley ||
Opinions==mine

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

* Re: [ECOS] removing FILEIO causes compiler errors
  2001-09-19 13:46   ` Trenton D. Adams
@ 2001-09-19 14:18     ` Jonathan Larmour
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2001-09-19 14:18 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'eCos Discussion'

"Trenton D. Adams" wrote:
> 
> With that "sed", I need it for the net package and various others anyhow
> don't I?  If so, then I just won't remove it.

The net package can run without the fileio package.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

end of thread, other threads:[~2001-09-19 14:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-19 13:21 [ECOS] removing FILEIO causes compiler errors Trenton D. Adams
2001-09-19 13:42 ` Jonathan Larmour
2001-09-19 13:46   ` Trenton D. Adams
2001-09-19 14:18     ` Jonathan Larmour

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