[ECOS] Unable to link sysctl()

aditya veer singh adityav@cdotd.ernet.in
Mon May 15 11:48:00 GMT 2006


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?

Regards,
Aditya


-- 
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