Prev: �۩��@��-���W���M�ͣxMM���R
Next: KDE 4.4 problems
From: Mike Jakubik on 12 May 2010 16:56 Hi, I am having trouble compiling net-snmp on a number of 8-STABLE systems, below is the error. Thanks. --- creating libnetsnmpmibs.la (cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la libnetsnmpmibs.la) : libnetsnmpmibs.la /bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c -o snmpd.lo snmpd.c cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -fPIC -DPIC -o .libs/snmpd.o cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -o snmpd.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o snmpd snmpd.lo -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers -L/usr/lib -rpath=/usr/lib:/usr/local/lib libnetsnmpagent.la helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf -lssp_nonshared cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o .libs/snmpd .libs/snmpd.o -rpath=/usr/lib:/usr/local/lib -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers -L/usr/lib ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ../.libs/libnetsnmpmibs.so /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so -lwrap -lkvm /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so -ldevstat ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf -lssp_nonshared -Wl,--rpath -Wl,/usr/local/lib ../.libs/libnetsnmpmibs.so: undefined reference to `exp' *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent. *** Error code 1 _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Garrett Cooper on 12 May 2010 17:16 On May 12, 2010, at 4:56 PM, Mike Jakubik wrote: > Hi, > > I am having trouble compiling net-snmp on a number of 8-STABLE systems, below is the error. > > Thanks. > > --- > creating libnetsnmpmibs.la > (cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la libnetsnmpmibs.la) > : libnetsnmpmibs.la > /bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c -o snmpd.lo snmpd.c > cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -fPIC -DPIC -o .libs/snmpd.o > cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -o snmpd.o >/dev/null 2>&1 > /bin/sh ../libtool --mode=link cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o snmpd snmpd.lo -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers -L/usr/lib -rpath=/usr/lib:/usr/local/lib libnetsnmpagent.la helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf -lssp_nonshared > cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o .libs/snmpd .libs/snmpd.o -rpath=/usr/lib:/usr/local/lib -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers -L/usr/lib ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ../.libs/libnetsnmpmibs.so /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so -lwrap -lkvm /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so -ldevstat ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf -lssp_nonshared -Wl,--rpath -Wl,/usr/local/lib > ./.libs/libnetsnmpmibs.so: undefined reference to `exp' > *** Error code 1 It looks like -lm is missing in the linker line -- do you have the config.log? Thanks, -Garrett_______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Boris Kochergin on 12 May 2010 22:32 Garrett Cooper wrote: > On May 12, 2010, at 4:56 PM, Mike Jakubik wrote: > > >> Hi, >> >> I am having trouble compiling net-snmp on a number of 8-STABLE systems, below is the error. >> >> Thanks. >> >> --- >> creating libnetsnmpmibs.la >> (cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la libnetsnmpmibs.la) >> : libnetsnmpmibs.la >> /bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c -o snmpd.lo snmpd.c >> cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -fPIC -DPIC -o .libs/snmpd.o >> cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -o snmpd.o >/dev/null 2>&1 >> /bin/sh ../libtool --mode=link cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o snmpd snmpd.lo -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers -L/usr/lib -rpath=/usr/lib:/usr/local/lib libnetsnmpagent.la helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf -lssp_nonshared >> cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o .libs/snmpd .libs/snmpd.o -rpath=/usr/lib:/usr/local/lib -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers -L/usr/lib ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so -lwrap -lkvm /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so -ldevstat ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf -lssp_nonshared -Wl,--rpath -Wl,/usr/local/lib >> ./.libs/libnetsnmpmibs.so: undefined reference to `exp' >> *** Error code 1 >> > > It looks like -lm is missing in the linker line -- do you have the config.log? > Thanks, > -Garrett_______________________________________________ > freebsd-ports(a)freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" > I don't have the autotools chops to submit a proper fix, but here are instructions to at least get it to finish building: http://lists.freebsd.org/pipermail/freebsd-ports/2010-May/061065.html -Boris _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Sahil Tandon on 13 May 2010 00:56 On Wed, 12 May 2010, Mike Jakubik wrote: > I am having trouble compiling net-snmp on a number of 8-STABLE > systems, below is the error. Are you using any non-default OPTIONS? > ./.libs/libnetsnmpmibs.so: undefined reference to `exp' I wonder if this is a quirk with how link time arguments are passed to ld(1) via the configure script. Would you try compiling after applying the attached patch? -- Sahil Tandon <sahil(a)FreeBSD.org>
From: =?ISO-8859-1?Q?Sylvio_C=E9sar?= on 13 May 2010 07:17
2010/5/13 Sahil Tandon <sahil(a)freebsd.org>: > On Wed, 12 May 2010, Mike Jakubik wrote: > >> I am having trouble compiling net-snmp on a number of 8-STABLE >> systems, below is the error. > > Are you using any non-default OPTIONS? > >> ./.libs/libnetsnmpmibs.so: undefined reference to `exp' > > I wonder if this is a quirk with how link time arguments are passed to > ld(1) via the configure script. Would you try compiling after applying > the attached patch? > > -- > Sahil Tandon <sahil(a)FreeBSD.org> > Hi, I'll commit soon the solution to this problem. -- Regards, Sylvio Cesar || FreeBSD Committer || Team multimedia(a)FreeBSD.org sylvio(a)FreeBSD.org || http://people.freebsd.org/~sylvio || http://www.scjamorim.org || http://www.freebsd.org "Tenho posto o Senhor continuamente diante de mim; porque Ele está à minha mão direita, não vacilarei. Portanto, alegre está o meu coração". (Salmos 16:8) "Os olhos do SENHOR estão sobre os justos, e os seus ouvidos atentos ao seu clamor". (Salmos 34:15) _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" |