Compilation error

Sylvain Dery <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>




Hello,

 

I'm having the following compilation error:

 



gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -c host/hr_swinst.c  -fPIC -DPIC -o host/.libs/hr_swinst.o
host/hr_swinst.c: In function ‘var_hrswinst’:
host/hr_swinst.c:480: error: ‘int_32’ undeclared (first use in this function)
host/hr_swinst.c:480: error: (Each undeclared identifier is reported only once
host/hr_swinst.c:480: error: for each function it appears in.)
host/hr_swinst.c:480: error: ‘rpm_data’ undeclared (first use in this function)
make[2]: *** [host/hr_swinst.lo] Error 1
make[2]: Leaving directory `/home/sylvain.dery/net-snmp-5.4.2.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/sylvain.dery/net-snmp-5.4.2.1/agent'
make: *** [subdirs] Error 1

Some of you already experienced this issue.  Any help would be appreciated.

I'm trying to install net-snmp-5.4.2.1 on Fedora 11.  I previously installed successfully the 5.5 version, which I removed using the "make uninstall", "make clean" and "make distclean" commands.  The config summary is as follow:

---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  SNMP Versions Supported:    1 2c 3
  Net-SNMP Version:           5.4.2.1
  Building for:               linux
  Network transport support:  Callback Unix TCP UDP
  SNMPv3 Security Modules:     usm
  Agent MIB code:             default_modules =>  snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
  Embedded Perl support:      disabled
  SNMP Perl modules:          building -- not embeddable
  SNMP Python modules:        disabled
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES

---------------------------------------------------------

Regards,

Sylvain

 		 	   		  
_________________________________________________________________

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.