I have stored my mib modules[*.ch files] under the folder
"net-snmp.5.4.1/agent/mibgroup/XM_modules". I have additional source files
under the directories "net-snmp.5.4.1/agent/mibgroup/elib" and
"net-snmp.5.4.1/agent/mibgroup/common". Some files in directory
"net-snmp.5.4.1/agent/mibgroup/XM_modules" will include files from
"net-snmp.5.4.1/agent/mibgroup/elib" and
"net-snmp.5.4.1/agent/mibgroup/common", hence I configure with the following
option.
./configure --with-mib-modules= "XM_modules/XXXX common/XXXXX elib/XXXXX"
The compilation fails, it seems that files under XM_modules never fiind
include files from common/XXX and elib/XXX because of which of which I get
undefined reference error.
*Problem in libnetsnmp.so *undefined reference to 'getParamId'
I thought this was a linker problem but strangely I do not find the any
source file compiled under the directories
"net-snmp.5.4.1/agent/mibgroup/common"
and "net-snmp.5.4.1/agent/mibgroup/elib"
I think this is a simple problem related to include path - but I am still
not able to figure out the solution.
With regards,
Raghavendra
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users