Compiling ucd-snmp on Sequent/Dynix

Compiling ucd-snmp on Sequent/Dynix

Post by Glenn Warburt » Tue, 10 Jul 2001 10:00:08

I have been having trouble compiling ucd-snmp-4.1.2 on Sequent
DYNIX/ptx, which falls over as follows:

In file included from asn1.c:72:
snmp_api.h:471: parse error before `*'
snmp_api.h:515: parse error before `fd_set'
snmp_api.h:691: parse error before `fd_set'
snmp_api.h:693: parse error before `fd_set'
make[1]: *** [asn1.o] Error 1

The code reads:
 * void snmp_read(fdset)
 *     fd_set  *fdset;
 * Checks to see if any of the fd's set in the fdset belong to
 * snmp.  Each socket with it's fd set has a packet read from it
 * and snmp_parse is called on the packet received.  The resulting pdu
 * is passed to the callback routine for that session.  If the callback
 * routine returns successfully, the pdu and it's request are deleted.
void snmp_read (fd_set *);

Anyone have any clues, or can you direct me to a site which may have a
pre-compiled version for Sequent.




1. compiling ucd-snmp module on linux.

I have developed a ucd-snmp module for making snmp agent to support my tree
of object ID's. ucd-snmp supports to have one .c and .h file for adding the
module. I have support functions which fetches the data for this  module,
and is written in a seperate file. I am not sure regarding how I can include
this file in the agent compilation, as  the compilation of SNMP modules,
expects only one .c and .h file when the automake is generated
with --with-mib-module="module_name" option.

Does any one has solution on how we can go about having multiple files for
the module. Adding all the functions in a single file makes the file very
huge and not good way of programming.

Thanks and regards

2. sun4u architecture does not support the 4096 block size?

3. ucd-snmp install error under 4.1-release

4. DIP

5. Has anyone ported the "ucd-snmp" package to linux ??

6. iPlanet LDAP and Proxy

7. Using UCD-IPFWACC-MIB.txt with UCD-SNMP 4.2.1

8. Q: kernel page-directory

9. Can't build ucd-snmp on FreeBSD current

10. ucd-snmp 3.?.? and FreeBSD 3.0-current

11. something wrong with ucd-snmp?

12. mrtg/ucd-snmp and Linux

13. ucd-snmp & mrtg