This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

MicroWindows parse error before "fd_set"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]