Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2015 14:40:09 -0500
From:      Michael Butler <imb@protected-networks.net>
To:        zi@freebsd.org
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   SVN r377448 breaks net-snmp on -current
Message-ID:  <54BD5D99.8000200@protected-networks.net>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--i6Pfdt79CmVOJaLaInAMeuKVk6vKVqEq2
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Apparently, there was some 'magic' to accessing these sysctls:

libtool: link: cc -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -pipe
-march=3Dpentium4 -I/usr/local/include -I/include -D_WANT_IFADDR
-fstack-protector -fno-strict-aliasing -Ufreebsd11 -Dfreebsd11=3Dfreebsd1=
1
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include
-I/usr/local/lib/perl5/5.18/mach/CORE -o .libs/snmpd .libs/snmpd.o
-Wl,-R/usr/local/lib/perl5/5.18/mach/CORE  -L/usr/lib -L/lib
=2E/.libs/libnetsnmpagent.so -L/usr/local/lib
-L/usr/local/lib/perl5/5.18/mach/CORE ./.libs/libnetsnmpmibs.so
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.3/agent/.libs/libnetsnmpag=
ent.so
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.3/snmplib/.libs/libnetsnmp=
=2Eso
=2E./snmplib/.libs/libnetsnmp.so -lpkg -lwrap -lperl -lcrypt -lutil -lelf=

-lssp_nonshared -lm -lkvm -ldevstat -lcrypto -pthread  -Wl,-rpath
-Wl,/usr/local/lib
=2E/.libs/libnetsnmpmibs.so: undefined reference to `sysctl_read_icmp_sta=
t'
=2E/.libs/libnetsnmpmibs.so: undefined reference to `sysctl_read_icmp6_st=
at'
=2E/.libs/libnetsnmpmibs.so: undefined reference to
`sysctl_read_icmp6_msg_stat'
=2E/.libs/libnetsnmpmibs.so: undefined reference to
`sysctl_read_icmp_msg_stat'
cc: error: linker command failed with exit code 1 (use -v to see invocati=
on)
*** Error code 1

	imb


--i6Pfdt79CmVOJaLaInAMeuKVk6vKVqEq2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlS9XZwACgkQQv9rrgRC1JJfRwCcDI8PhoHYznXI4b7tXIncbkEO
4SYAoI/SkONR8GYIhCUpiHWo5JliVNMr
=zHS2
-----END PGP SIGNATURE-----

--i6Pfdt79CmVOJaLaInAMeuKVk6vKVqEq2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54BD5D99.8000200>