Net-snmp 5.3.1 on Fedora 7 make error "-fstack-protector"

Matt Matson <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm getting the following make error regarding "-fstack-protector" on 
Fedora7.  Thanks in Advance!

Fedora 7
Net-SNMP 5.3.1
GCC 3.4.3

Configure options:
   ./configure --prefix=/usr/local \
   --with-mib-modules="host mibII/mta_sendmail ucd_snmp disman/event-mib 
misc/ipfwacc tunnel smux" \
   --with-default-snmp-version="2" \
   --with-sys-contact="root@localhost <mailto:root@localhost>" \
   --with-sys-location="unknown" \
   --with-logfile="/var/log/snmpd.log" \
   --with-persistent-directory="/var/net-snmp" \
   --enable-static=yes \
   --with-perl-modules --enable-embedded-perl --enable-shared

root@server# make
.....
Writing Makefile for SNMP
Warning: prerequisite NetSNMP::OID 5.1 not found.
Checking if your kit is complete...
Looks good
Writing Makefile for NetSNMP::TrapReceiver
Writing Makefile for Bundle::NetSNMP
make[1]: Entering directory `/cittio/netsnmp/net-snmp-5.3.1/perl'
cp Makefile.subs.pl blib/lib/Bundle/Makefile.subs.pl
make[2]: Entering directory 
`/cittio/netsnmp/net-snmp-5.3.1/perl/default_store'
cp default_store.pm ../blib/lib/NetSNMP/default_store.pm
AutoSplitting ../blib/lib/NetSNMP/default_store.pm 
(../blib/lib/auto/NetSNMP/default_store)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -prototypes -typemap 
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  default_store.xs 
 > default_store.xsc && mv default_store.xsc default_store.c
gcc -c   -I../../include -g -O2 -Dlinux -I/usr/include/rpm -D_REENTRANT 
-D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE 
-I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing 
-pipe -Wdeclaration-after-statement -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g 
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables   -DVERSION=\"5.0301\" 
-DXS_VERSION=\"5.0301\" -fPIC 
"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"   default_store.c
cc1: error: unrecognized command line option "-fstack-protector"
cc1: error: invalid parameter `ssp-buffer-size'
default_store.c:1: error: bad value (generic) for -mtune= switch
make[2]: *** [default_store.o] Error 1
make[2]: Leaving directory 
`/cittio/netsnmp/net-snmp-5.3.1/perl/default_store'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/cittio/netsnmp/net-snmp-5.3.1/perl'
make: *** [perlmodules] Error 1

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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.