Hi,

I have build a V2.6.x kernel with the V5.2.1 SNMP app included to be build with 
the static library option. This builds and links ok, as long as mini agent is 
set as well. This is built with a cross compiler for a COLDFIRE target (build 
results can be sent on). I copied the snmp static library files to my 
use/local/lib and usr/local/lib/snmp directories. Unfortunately when I try to 
link to these libraries when building a seperately build target application, I 
resolve references to functions within the libraries, but not system functions 
called from within the libraries (results of build can be sent on). Can you 
give me any idea as to why this might happen. 

I noticed that when using nm on the snmp .a file that these system functions 
are listed as undefined symbols. Not sure if that is a clue.

Within my external app build we build a library that does include some of the 
system functions changed to suit our system build, but this only has some 
string functions, that no longer require malloc/free operations). I am not sure 
if this is causing any conflict with the uclibc libraries that are created when 
the kernel is built with the snmp app.

Any help appreciated.
Regards,

Steve McCarthy


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to