This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Unable to link sysctl()
- From: "aditya veer singh" <adityav at cdotd dot ernet dot in>
- To: ecos-discuss at sourceware dot org
- Date: Mon, 15 May 2006 18:22:29 +0630
- Subject: [ECOS] Unable to link sysctl()
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