Net:Snmp compile issues

"George Monappallil" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all:
I get the following error when compiling Net::Snmp (5.3.0.1) on a
Solaris 9 x86 box. Configure had no issues.
Your help is appreciated.


*********************************
/bin/sh ../../libtool  --mode=compile gcc -I../../include -I.
-I../../agent -I../../agent/mibgroup -I../../snmplib
-I/usr/local/ssl/include   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/perl5/5.6.1/lib/i86pc-solaris-64int/CORE   -g -O2 -Dsolaris2  -c
-o ucd-snmp/memory_solaris2.lo ucd-snmp/memory_solaris2.c
rm -f ucd-snmp/.libs/memory_solaris2.lo
gcc -I../../include -I. -I../../agent -I../../agent/mibgroup
-I../../snmplib -I/usr/local/ssl/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/perl5/5.6.1/lib/i86pc-solaris-64int/CORE
-g -O2 -Dsolaris2 -c ucd-snmp/memory_solaris2.c  -fPIC -DPIC -o
ucd-snmp/.libs/memory_solaris2.lo
In file included from ucd-snmp/memory_solaris2.c:21:
/usr/include/sys/swap.h:47:2: #error "Cannot use swapctl in the large
files compilation environment"
make[2]: *** [ucd-snmp/memory_solaris2.lo] Error 1
make[2]: Leaving directory
`/opt/Packages/Sol9/net-snmp-5.3.0.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/opt/Packages/Sol9/net-snmp-5.3.0.1/agent'
make: *** [subdirs] Error 1
*********************************


Thanks,
G



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
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.