This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: Compile error, including udp_var.h
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Andre-John Mas <ajmas at sympatico dot ca>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 21 Sep 2006 00:08:27 +0200
- Subject: Re: Re: [ECOS] Compile error, including udp_var.h
- References: <20060920220550.PNOK1747.tomts25-srv.bellnexxia.net@smtp1.sympatico.ca>
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