This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
redefinition of `struct timeval' - ERROR
- From: "Alok Singh" <aloks at broadcom dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 25 Jul 2007 00:53:06 +0530
- Subject: [ECOS] redefinition of `struct timeval' - ERROR
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