public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] redefinition of `struct timeval' - ERROR
@ 2007-07-24 19:23 Alok Singh
  2007-07-24 19:44 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Alok Singh @ 2007-07-24 19:23 UTC (permalink / raw)
  To: ecos-discuss

Hi,
I've taken current free bsd stack, and I'm trying to build the library
using that. 

But I get redefinition error -
In file included from
/home/alok/ecos/ecos-2.0/install/include/net/if.h:76,
from
/home/alok/ecos/ecos-2.0/packages/net/bsd_tcpip/current/src/ecos/support
.c:66:
/opt/ecos/tools/gnutools/mipsisa32-elf/mipsisa32-elf/include/sys/time.h:
15: redefinition of `struct timeval'

Why should I do to avoid including compiler maintained time.h file?

regards,
Alok


--
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] 2+ messages in thread

* Re: [ECOS] redefinition of `struct timeval' - ERROR
  2007-07-24 19:23 [ECOS] redefinition of `struct timeval' - ERROR Alok Singh
@ 2007-07-24 19:44 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2007-07-24 19:44 UTC (permalink / raw)
  To: Alok Singh; +Cc: ecos-discuss

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alok Singh wrote:
> Hi,
> I've taken current free bsd stack, and I'm trying to build the library
> using that. 
> 
> But I get redefinition error -
> In file included from
> /home/alok/ecos/ecos-2.0/install/include/net/if.h:76,
> from
> /home/alok/ecos/ecos-2.0/packages/net/bsd_tcpip/current/src/ecos/support
> .c:66:
> /opt/ecos/tools/gnutools/mipsisa32-elf/mipsisa32-elf/include/sys/time.h:
> 15: redefinition of `struct timeval'
> 
> Why should I do to avoid including compiler maintained time.h file?

Use the latest CVS - this, like many of the other things
you've asked about, have been changed/fixed in the last
[nearly 5] years since eCos 2.0 was released.

- --
- ------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGplammaKbSsQGV8ARAgmQAJ9vxlGADJYoAYpHsrOI1johxUZJvACggx85
yRlGO1LgGFMIQ7Tsznil08o=
=vNm/
-----END PGP SIGNATURE-----

-- 
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] 2+ messages in thread

end of thread, other threads:[~2007-07-24 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-24 19:23 [ECOS] redefinition of `struct timeval' - ERROR Alok Singh
2007-07-24 19:44 ` Gary Thomas

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