This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
MicroWindows parse error before "fd_set"
- From: David Luca <davidluca3000 at yahoo dot com>
- To: ecos-devel <ecos-devel at sourceware dot org>, ecos-discuss <ecos-discuss at sourceware dot org>
- Date: Tue, 5 Dec 2006 07:10:35 -0800 (PST)
- Subject: MicroWindows parse error before "fd_set"
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=gmNJkSK+Onm+qAHTjSSZGQmE6w6PyMEQigWAysr8WlkWt00NBkwoHKEQXqB5u6deXa3tTEZdNT/jIu18dPHegkakfgyHBzPHkwa3TvwV8cEK/jEVE0v94QoKhyd6nW4UFdIlX4BswUr2JUYnZEikCMZToDXQK4k9LkEP8J4cFjw=;
Hello,
I try to cimpile eCos with MicroWindows, I included
the Networking package (Basic networking framework),
but I receive some compile errors:
In file included from
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/serv.h:131,
from
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:26:
/ecos-d/Products/eCos/MC9328_install/include/microwin/nano-X.h:817:
parse error before "fd_set"
/ecos-d/Products/eCos/MC9328_install/include/microwin/nano-X.h:817:
warning: no semicolon at end of struct or union
/ecos-d/Products/eCos/MC9328_install/include/microwin/nano-X.h:821:
parse error before '}' token
/ecos-d/Products/eCos/MC9328_install/include/microwin/nano-X.h:821:
warning: type defaults to `int' in declaration of
`ecos_nanox_client_data'
/ecos-d/Products/eCos/MC9328_install/include/microwin/nano-X.h:821:
warning: data definition has no type or storage class
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/serv.h:493:5:
warning: "VTSWITCH" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:27:12:
warning: "DOS_DJGPP" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:36:5:
warning: "DOS_DJGPP" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:281:12:
warning: "DOS_DJGPP" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:
In function `SVR_GrDelay':
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:332:
warning: implicit declaration of function `select'
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:361:5:
warning: "VXWORKS" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:
In function `GsSelect':
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:556:
`fd_set' undeclared (first use in this function)
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:556:
(Each undeclared identifier is reported only once
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:556:
for each function it appears in.)
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:556:
parse error before "rfds"
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:569:
warning: implicit declaration of function `FD_ZERO'
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:569:
`rfds' undeclared (first use in this function)
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:571:
warning: implicit declaration of function `FD_SET'
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:613:
warning: implicit declaration of function `FD_ISSET'
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:677:5:
warning: "VTSWITCH" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:767:6:
warning: "HAVE_BIG5_SUPPORT" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:767:26:
warning: "HAVE_GB2312_SUPPORT" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:821:5:
warning: "VTSWITCH" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:865:5:
warning: "VTSWITCH" is not defined
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:
In function `GsGetTickCount':
/opt/ecos/ecos-3.0/packages/services/gfx/mw/current/src/nanox/srvmain.c:890:
warning: implicit declaration of function
`gettimeofday'
make[1]: Leaving directory
`/ecos-d/Products/eCos/MC9328_build/services/gfx/mw/current'
make[1]: *** [src/nanox/srvmain.o.d] Error 1
make: Leaving directory
`/ecos-d/Products/eCos/MC9328_build'
make: *** [build] Error 2
Anyone has a solution?
Thank you in advance,
David Luca.
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited