[ECOS] Compile error, including udp_var.h
Andrew Lunn
andrew@lunn.ch
Wed Sep 20 22:08:00 GMT 2006
On Wed, Sep 20, 2006 at 06:05:50PM -0400, Andre-John Mas wrote:
>
> Andrew Lunn wrote:
> >
> > On Wed, Sep 20, 2006 at 05:11:02PM -0400, Andre-John Mas wrote:
> > > Hi,
> > >
> > > We are in the process of adapting the SNMP implementation to C++ for
> > > our needs, but we have hit a few problems. We are using the FreeBSD
> > > networking stack.
> > >
> > > The error is as follows:
> > >
> > > In file included from ../interface/snmp/src/UdpMib.cpp:28:
> > > application_install/include/netinet/udp_var.h:117: error: expected constructor, destructor, or type conversion before '(' token
> > > application_install/include/netinet/udp_var.h:117: error: expected `,' or `;' before '(' token
> >
> > What do you get at that line when you look at the output of cpp? ie
> > use -E to gcc. Has SYSCTL_DECL(_net_inet_udp); been expanded?
> >
>
> It doesn't look like it.
So thats your problem then. Find out why.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list