This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: FreeBSD stack problems
----- Original Message -----
From: "Gary Thomas" <gary@mlbassoc.com>
To: "Bass8tt8" <bass8tt8@libero.it>
Cc: "eCos Discussion" <ecos-discuss@ecos.sourceware.org>
Sent: Thursday, November 10, 2005 3:50 PM
Subject: Re: [ECOS] FreeBSD stack problems
> On Thu, 2005-11-10 at 15:37 +0100, Bass8tt8 wrote:
> > No, maybe you haven't understand this is an example of errors :
> > d:/Ultimodule/ecos/work/posix-new_install/include/net/if_var.h:140:
syntax
> > error before "__P"
> >
> > d:/Ultimodule/ecos/work/posix-new_install/include/netinet6/in6.h:878:
syntax
> > error before "__P"
> >
> > d:/Ultimodule/ecos/work/posix-new_install/include/arpa/inet.h:63: syntax
> > error before "extern"
> >
> > d:/Ultimodule/ecos/work/posix-new_install/include/arpa/inet.h:63: syntax
> > error before "__P"
> >
> >
> > I have too much of these errors, if i compile with OpenBSD stack i
haven't
> > errors , instead if i compile with FreeBSD stack i have this kind of
errors.
> > If i compile my files with options -E -dD there aren't errors .
> >
>
> Did you use "-D__ECOS -D_KERNEL" with your builds?
>
Yes I DID, i'm not an expert but i don't understaind why this.
I have an application named : "IntelUPNP", and with CONFIGURATION TOOL i
have build my library with POSIX options and OpenBSD STACK (i'll need also
the options "Multicast routing support" ).
When i compile my application using this library it's all OK, i'm able to
build my IntelUPNP.exe .
But ANDREW LUNN advised me that is better to use FreeBSD STACK ( becouse i
have to use MULTICAST on my application ) instead of the old OpenBSD Stack.
Well, i've only changed, from CONF. TOOL, OpenBSD with FreeBSD and i've
recompiled all my library again.
With this new library i can't build my application ( IntelUPNP.exe )
becouse i have a lot of errors like these :
***********
d:/Ultimodule/ecos/work/posix-new_install/include/netinet6/in6.h:878:
syntax error before "__P"
> >
d:/Ultimodule/ecos/work/posix-new_install/include/arpa/inet.h:63: syntax
error before "extern"
> >
d:/Ultimodule/ecos/work/posix-new_install/include/arpa/inet.h:63: syntax
error before "__P"
***********
Why these errors ?
Michele
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss