[ECOS] Compile error, including udp_var.h
Andre-John Mas
ajmas@sympatico.ca
Wed Sep 20 23:51:00 GMT 2006
Andrew Lunn wrote:
>
> > > 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.
>
Thanks, turns out I needed to include sys/sysctl.h.
Now that's sorted I am still left with one last issue, which seem
to be related:
undefined reference to `udpstat'
undefined reference to `udb'
They are both defined in the header 'udp_var.h' and from what I
can gather their implementation is in:
net\bsd_tcpip\v2_0_51\src\sys\netinet\udb_usrreq.h
and when I do an 'nm' in libtarget.h I see:
net_bsd_tcpip_udp_usrreq.o
Our eCos Config project definetly has the FreeBSD stack selected.
I am a little confused. Any ideas?
Andre
--
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