This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]