[Xorp-users] SNMP Compilation Error

Maritess Malazarte malazarte.maritess at gmail.com
Thu Mar 22 01:48:12 PDT 2007


Hi,

I've downloaded the latest version Xorp 1.4 and I'm trying to compile is
using FreeBSD 6.1 as my operating system.  I modified my bootstrap's
following entries:
ACLOCAL=${ACLOCAL:-"aclocal15"}
AUTOCONF=${AUTOCONF:-"autoconf259"}
AUTOHEADER=${AUTOHEADER:-"autoheader259"}
AUTOMAKE=${AUTOMAKE:-"automake15"}
then I ran configure --with-snmp
When I ran gmake, an error occurred.  Here is what was outputted.

/bin/sh ./libtool --mode=link g++  -DNETSNMP_NO_INLINE -g -W -Wall
-Wwrite-strings -Wcast-qual -Werror -Wpointer-arith -Wcast-align
-Woverloaded-virtual -ftemplate-depth-22   -o libnetsnmpxorp.la -rpath
/usr/local/xorp/mibs/. -avoid-version -fPIC
xorpevents.lo../libxipc/libxipc.la ../libxorp/libxorp.la
../libcomm/libcomm.la -lcrypto
rm -fr .libs/libnetsnmpxorp.la .libs/libnetsnmpxorp.* .libs/libnetsnmpxorp.*
g++ -shared  xorpevents.lo -Wl,--whole-archive ../libxipc/.libs/libxipc.a
../libxorp/.libs/libxorp.a ../libcomm/.libs/libcomm.a
-Wl,--no-whole-archive  ../libxipc/.libs/libxipc.a
../libxorp/.libs/libxorp.a ../libcomm/.libs/libcomm.a -lcrypto    -lc
-Wl,-soname -Wl,libnetsnmpxorp -o .libs/libnetsnmpxorp
/usr/bin/ld: ../libxipc/.libs/libxipc.a(hmac_md5.o): relocation R_X86_64_32S
can not be used when making a shared object; recompile with -fPIC
../libxipc/.libs/libxipc.a(hmac_md5.o): could not read symbols: Bad value

Can you tell me what I'm doing wrong here?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20070322/c03f5652/attachment.html 


More information about the Xorp-users mailing list