[Xorp-users] Xorp and SNMP on Fedora Core 5

Daniel daniel at jerveren.se
Thu Jun 8 02:52:51 PDT 2006


I'm getting errors when trying to configure xorp with SNMP support on a
Fedora system, ./configure --with-snmp gives me:

<snip>
...
checking whether C compiler supports flag "-DINET6 -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 -lcrypto -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/include/net-snmp -DNETSNMP_NO_INLINE"... ./configure: line 5226:
${ac_cv_prog_c_compiler__DINET6__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__lcrypto__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_include_net_snmp__DNETSNMP_NO_INLINE+set}:
bad substitution
./configure: line 5252:
ac_cv_prog_c_compiler__DINET6__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__lcrypto__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_include_net_snmp__DNETSNMP_NO_INLINE=yes:
command not found
no
-------------------------------------------------------------
'net-snmp-config --cflags' gave invalid cflags!
-------------------------------------------------------------
configure: WARNING: XORP MIBs will not be built
...
</snip>


I've tried Xorp 1.2 and todays CVS, both give me the same error. The
following relevant(?) software is installed on the system:

gcc version 4.1.1
libtool 1.5.22
GNU Make 3.80
autoconf 2.59
automake 1.9.6
net-snmp-5.3-4.2
net-snmp-utils-5.3-4.2
net-snmp-libs-5.3-4.2
net-snmp-devel-5.3-4.2

Any suggestions?

Best regards /d'.



More information about the Xorp-users mailing list