Hello coders,
"undefined reference" issue.
/home/rexino/work/monp_tmp/libs/clictr/libclictr.a(CCliCtrTable_interface.o)(.text+0x115a):
In function `_CCliCtrTable_container_row_restore':
: undefined reference to `_mfd_CCliCtrTable_rowreq_from_index'
collect2: ld returned 1 exit status
I have looked into local/mib2c-conf.d/.
Seems that
@if ($m2c_table_row_creation == 1) || ($m2c_table_persistent == 1@)@
will generate _mfd_..._rowreq_from_index function.
According to
_mfd_${context}_object_lookup
@ if $m2c_table_row_creation == 0@
rc = SNMP_ERR_NOCREATION;
@ else@
, I'm sure that m2c_table_row_creation is 0, so persistence is disabled too.
But why there are PERSISTENCE codes in $(context)_interface.c ?
Please give me the suggestions.
Here is the CCliCtrTable MIB info.
--
-- CCliCtr implementations
--
CCliCtrEntry ::= SEQUENCE{
Stat4CliCtr CCliCtrStat,
SrvIp4CliCtr IpAddress,
SrvPort4CliCtr INTEGER,
GsIp4CliCtr IpAddress,
GsPort4CliCtr INTEGER
}
CCliCtrTable OBJECT-TYPE
SYNTAX SEQUENCE OF CCliCtrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"xxx"
::= {cliCtr 1}
CCliCtrRow OBJECT-TYPE
SYNTAX CCliCtrEntry
MAX-ACCESS not-accessible
STATUS current
INDEX { SrvIp4CliCtr,
SrvPort4CliCtr,
GsIp4CliCtr,
GsPort4CliCtr}
::= {CCliCtrTable 1}
Stat4CliCtr OBJECT-TYPE
SYNTAX CCliCtrStat
MAX-ACCESS write-only
STATUS current
DESCRIPTION
"xxx"
::= {CCliCtrRow 1}
SrvIp4CliCtr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS write-only
STATUS current
DESCRIPTION
"xxx"
::= {CCliCtrRow 2}
SrvPort4CliCtr OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS write-only
STATUS current
DESCRIPTION
"xxx"
::= {CCliCtrRow 3}
GsIp4CliCtr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS write-only
STATUS current
DESCRIPTION
"xxx"
::= {CCliCtrRow 4}
GsPort4CliCtr OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS write-only
STATUS current
DESCRIPTION
"xxx"
::= {CCliCtrRow 5}
----------------------------------------------
Thanks & Regards,
Rex Huang
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders