[ECOS] Unable to link sysctl()
Andrew Lunn
andrew@lunn.ch
Mon May 15 12:07:00 GMT 2006
On Mon, May 15, 2006 at 06:22:29PM +0630, aditya veer singh wrote:
> Hi All,
>
> I am using the BSD tcp/ip stack.
> In my code I am using function called 'sysctl'.
>
> I have included the file 'sys/sysctl.h' in my c code where it is being used.
> Install tree is having kern_sysctl.c where sysctl function is defined.
>
> When compile the program it get complied but while linking it, gives a link error as
> undefined refernce to sysctl.
>
> What needs to be changed that while linking the code it is able to link sysctl?
>
CYGPKG_NET_FREEBSD_SYSCTL
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