Share April 2005: Project of the Month

net-snmp

Tracker: Bugs

5 the mfd tutorial crashes - ID: 2593288
Last Update: Comment added ( dcelso )

Im using lenny repository version
NET-SNMP version: 5.2.3
Steps for reprocing the error:

mib2c -c mib2c.mfd.conf ifTable
mib2c -c mfd-makefile.m2m ifTable
mib2c -c subagent.m2c ifTable
Do the tutorial changes in the code.
make -f ifTable_Makefle

The compiler sais that "scan_line_to_use, scan_line_2_2 ,scan_spected and
scan_count" doens exists.

If you create the needed variables then sais this another error:
gcc -o ifTable ifTable_data_access.o ifTable.o ifTable_subagent.o
ifTable_interface.o `net-snmp-config --agent-libs`
ifTable_data_access.o: In function `ifTable_cache_load':
ifTable_data_access.c:(.text+0x5a7): referencia a `ifType_map' sin definir
ifTable_data_access.o: In function `ifTable_init_data':
ifTable_data_access.c:(.text+0x972): referencia a `_choose_proc_format' sin
definir
collect2: ld returned 1 exit status
make: *** [ifTable] Error 1



Diego Celso ( dcelso ) - 2009-02-12 15:20

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2009-02-12 15:27
Sender: dcelso

With the compiled net-snmp-5.4.2.1 in debian-testing distribution (lenny)
version the trouble continues still.


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.