compilation error

Gabriele Giorelli <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi

I am using fedora 10 and I want to install net-snmp:

  SNMP Versions Supported:    1 2c 3
  Net-SNMP Version:           5.4.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:          disabled
  SNMP Python modules:        disabled
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES


Default version of SNMP to use (3):
System Contact Information (root@):
System Location (Unknown):
Location to write logfile (/var/log/snmpd.log):



I am getting this error when I do make

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 'init_hr_swinst':
host/hr_swinst.c:210: warning: assignment makes pointer from integer without a cast
host/hr_swinst.c: In function 'var_hrswinst':
host/hr_swinst.c:464: error: 'int_32' undeclared (first use in this function)
host/hr_swinst.c:464: error: (Each undeclared identifier is reported only once
host/hr_swinst.c:464: error: for each function it appears in.)
host/hr_swinst.c:464: error: 'rpm_data' undeclared (first use in this function)
make[2]: *** [host/hr_swinst.lo] Error 1
make[2]: Leaving directory `/root/net-snmp-5.4.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/root/net-snmp-5.4.1/agent'
make: *** [subdirs] Error 1



any idea what's wrong?

thank you



      


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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.