Robert:

I have worked to get the dot11StationConfigTable linked into
the Net-SNMP daemon, with some interesting errors observed.

First, why is it that the headers files produced via MFD
mediated MIB compilation are not found during the build
process?  Here is a relevant extract from build messaging:

gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g
-O2 -Dlinux -c dot11StationConfigTable_interface.c  -fPIC -DPIC -o
.libs/dot11StationConfigTable_interface.lo
In file included from dot11StationConfigTable_interface.c:12:
dot11StationConfigTable.h:34:42: dot11StationConfigTable_oids.h: No such file or
directory
dot11StationConfigTable.h:39:43: dot11StationConfigTable_enums.h: No such file
or directory
dot11StationConfigTable_interface.c: In function
`_dot11StationConfigTable_initialize_interface':
dot11StationConfigTable_interface.c:77: `DOT11STATIONCONFIGTABLE_MIN_COL'
undeclared (first use in this function)


As you can see, the headers

   dot11StationConfigTable_oids.h and
   dot11StationConfigTable_enums.h

are not found in the include path, though 1) these headers are contained in
the same directory at the file that is being compiled, and 2) they are
included using the #include "" form of the include statement.

I was able to work-around this problem by placing links into the directory
./agent/mibgroup, which tells me that the search path for include stops at
this subdirectory.  Is this really how users who are looking to extend the
agent (as by implementing a MIB) are supposed to make the results of MIB
compilation available to the build process?



William R. Buckley
President
SoftNerd, A California Corporation
Director Emeritus,
International Core Wars Society
[EMAIL PROTECTED]
415-240-6107


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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

Reply via email to