Hello

We have problems building net-snmp 5.3.1 with Perl support on RedHat Linux 
enterprise edition. We get the following error message:

make[2]: Entering directory 
`/home/eno/prj/open-source/net-snmp/net-snmp-5.3.1/perl/default_store'
gcc -c   -g -O2 -Dlinux -I/usr/include/rpm -I. -I/usr/local/include 
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4   
-DVERSION=\"5.0301\" -DXS_VERSION=\"5.0301\" -fPIC 
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"   default_store.c
cc1: Invalid option `32'
cc1: Invalid option `tune=pentium4'
make[2]: *** [default_store.o] Error 1
make[2]: Leaving directory 
`/home/eno/prj/open-source/net-snmp/net-snmp-5.3.1/perl/default_store'

uname -a: Linux odin02.lokal.lan 2.6.9-42.ELsmp #1 SMP Sat Aug 12 09:39:11 CDT 
2006 i686 i686 i386 GNU/Linux
gcc -v: gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-129.7.2)
./configure \
            --with-cflags="-g -Wall" \
            --with-default-snmp-version="1" \
            --without-sys-contact \
            --without-sys-location \
            --with-logfile="/var/log/snmpd.log" \
            --with-persistent-directory="/var/net-snmp" \
            --with-out-transports="AAL5PVC IPX" \
            --enable-mfd-rewrites \
            --enable-shared \
            --with-perl-modules \
            --enable-embedded-perl \
            --with-mib-modules="tcp-mib \
                                udp-mib \
                                ip-mib/ipv4InterfaceTable \
                                ip-mib/ipv6InterfaceTable \
                                agentx "


_______________________________________________________

Eirik Nordbrøden           Telephone     (+47) 90174789
moreCom A/S                Switchboard   (+47) 90064444
Tønne Huitfeldts plass 2   Fax.          (+47) 69188119
N-1767 Halden              Home          (+47) 69187899
Norway

Email: mailto:[EMAIL PROTECTED]
WWW:   http://www.moreCom.no/
_______________________________________________________
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to