Fw: Newly built 5.8 on QNX 7

2020-08-12 Thread Ian C via Net-snmp-coders
QNX 7 Thanks to Wes & Aferjes, I did some further investigating regarding my table subagent null ptr on the table registration - it turned out that in our upgrade from 5.6 to 5.8 we were pulling in headers from 5.6 but linking against 5.8!  Oops. Now, our agent can register: handler:in

Fw: Newly built 5.8 on QNX 7

2020-08-11 Thread Ian C via Net-snmp-coders
Thanks to Wes & Aferjes, I did some further investigating regarding my table subagent null ptr on the table registration - it turned out that in our upgrade from 5.6 to 5.8 we were pulling in headers from 5.6 but linking against 5.8!  Oops. Now, our agent can register: handler:inject: injecting

Re: Newly built 5.8 on QNX 7

2020-08-07 Thread Aferjes Blesswin Redeemson
Hi Ian, Everything seems to be fine. Not sure why "tabreq" is getting NULL in netsnmp_get_table_handler. I have a suggestion. I see the same implementation with slight modification in init_icmp() function in agent/mibgroup/mibII/icmp.c. There I can see the table is using a different function "net

Re: Newly built 5.8 on QNX 7

2020-08-06 Thread Ian C via Net-snmp-coders
I took Wes' advice and ran with -DALL, along with some extra DEBUGMSGTLs in suspect areas (-DALL output follows):void initialize_table_chAsinHwSbcNtpTable(void) {     syslog( LOG_ERR, "initialize_table_chAsinHwSbcNtpTable()");     const oid chAsinHwSbcNtpTable_oid[] = {1,3,6,1,4,1,25228,3,3,1,9,6

Re: Newly built 5.8 on QNX 7

2020-08-05 Thread Wes Hardaker via Net-snmp-coders
Ian C via Net-snmp-coders writes: > Hi, > > We previously had net-snmp 5.6 running on QNX 6.5 (from pkgsrc), and had > various > sub-agents retrieving data and working well. However we've recently migrated > our OS > to QNX 7.0 and since there are no pkgsrc packages available for that OS we've

Newly built 5.8 on QNX 7

2020-08-05 Thread Ian C via Net-snmp-coders
Hi, We previously had net-snmp 5.6 running on QNX 6.5 (from pkgsrc), and had various sub-agents retrieving data and working well. However we've recently migrated our OS to QNX 7.0 and since there are no pkgsrc packages available for that OS we've upgraded and compiled net-snmp 5.8 ourselves. 

QNX 7

2019-03-08 Thread Ian C via Net-snmp-coders
I'm trying to configure a cross-compilation on Ubuntu for QNX 7. Does anyone work what configure options to use?All the ones I've attempted so far end up with: configure: error: cannot run C compiled programs Ive tried:--with-cc=qcc --build=QNX --build=QNX --host=QNX but really thos