public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* MicroWindows parse error before "fd_set"
@ 2006-12-05 15:10 David Luca
  0 siblings, 0 replies; 3+ messages in thread
From: David Luca @ 2006-12-05 15:10 UTC (permalink / raw)
  To: ecos-devel, ecos-discuss

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

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

* Re: MicroWindows parse error before "fd_set"
       [not found] <20061205151818.GB19216@lunn.ch>
  2006-12-06  9:15 ` David Luca
@ 2006-12-06 11:47 ` David Luca
  1 sibling, 0 replies; 3+ messages in thread
From: David Luca @ 2006-12-06 11:47 UTC (permalink / raw)
  To: Andrew Lunn, ecos-devel, ecos-discuss

Thank you, I figure it out how to use the net template
from ConfigTool for Windows.




--- Andrew Lunn <andrew@lunn.ch> wrote:

> On Tue, Dec 05, 2006 at 07:10:35AM -0800, David Luca
> wrote:
> > Hello,
> > I try to cimpile eCos with MicroWindows, I
> included
> > the Networking package (Basic networking
> framework),
> > but I receive some compile errors:
> 
> It is better to use the net template
> 
> lunn@laptop:~/eCos/work$ ecosconfig new linux net
> U CYGBLD_ISO_STRUCTTIMEVAL_HEADER, new inferred
> value <cyg/posix/sys/time.h>
> U CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT, new
> inferred value 0
> U CYGNUM_LIBC_MAIN_DEFAULT_STACK_SIZE, new inferred
> value 16384
> lunn@laptop:~/eCos/work$ ecosconfig add mw
> lunn@laptop:~/eCos/work$ ecosconfig tree
> lunn@laptop:~/eCos/work$ make -s
> 
>       Andrew
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: MicroWindows parse error before "fd_set"
       [not found] <20061205151818.GB19216@lunn.ch>
@ 2006-12-06  9:15 ` David Luca
  2006-12-06 11:47 ` David Luca
  1 sibling, 0 replies; 3+ messages in thread
From: David Luca @ 2006-12-06  9:15 UTC (permalink / raw)
  To: Andrew Lunn, ecos-devel, ecos-discuss

Unfortunatelly ecosconfig command line tool is not
working, I'm using ConfigTool for Windows. I tried to
find linux net package, but I could find only LWIP or
FreeBSD Stack. I tried to include the Basic
networking, FreeBSD Stack, FileIO packages. I have
unresolved conflicts regarding POSIX and POSIX_TIMERS.
I now receive the #error Not yet supported in
srvmain.c:51, reffering to CYGPKG_NET not present. So
I'm stuck again.


--- Andrew Lunn <andrew@lunn.ch> wrote:

> On Tue, Dec 05, 2006 at 07:10:35AM -0800, David Luca
> wrote:
> > Hello,
> > I try to cimpile eCos with MicroWindows, I
> included
> > the Networking package (Basic networking
> framework),
> > but I receive some compile errors:
> 
> It is better to use the net template
> 
> lunn@laptop:~/eCos/work$ ecosconfig new linux net
> U CYGBLD_ISO_STRUCTTIMEVAL_HEADER, new inferred
> value <cyg/posix/sys/time.h>
> U CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT, new
> inferred value 0
> U CYGNUM_LIBC_MAIN_DEFAULT_STACK_SIZE, new inferred
> value 16384
> lunn@laptop:~/eCos/work$ ecosconfig add mw
> lunn@laptop:~/eCos/work$ ecosconfig tree
> lunn@laptop:~/eCos/work$ make -s
> 
>       Andrew
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2006-12-06 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-05 15:10 MicroWindows parse error before "fd_set" David Luca
     [not found] <20061205151818.GB19216@lunn.ch>
2006-12-06  9:15 ` David Luca
2006-12-06 11:47 ` David Luca

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