Hi all I'm building a custom MIB using MFD code style. I'd written custom functions in separate .c and .h files, this files are in the same folder as the file that uses them (xxxTable_data_access.h).
They are also correctly included (#include "xxxxx.h") in this file (xxxTable_data_access.h). When i call "make", to compile the custom MIB within the agent, I get an "undefined reference" error: ./.libs/libnetsnmpmibs.so: undefined reference to `customFunction' collect2: ld returned 1 exit status I think the .c and .h files with the custom functions need to be someway informed to the linker, but the makefiles are generated by the configure script. Maybe using LDFLAGS, CFLAGS, but I don't know how. Can someone help me ? Thanks Ricardo ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
