pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysutils/libgtop2 won't compile on -current



I'm trying to build sysutils/libgtop2 on a -current machine; I'm
getting the following error:

mkdir .libs
cc -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -fno-strict-aliasing -O2
-I/usr/pkgsrc/sysutils/libgtop2/work/.buildlink/include
-I/usr/include/krb5 -Wl,-R/usr/pkg/lib -o .libs/libgtop_daemon2
gnuserv.o slave.o main.o io.o version.o
-L/usr/pkgsrc/sysutils/libgtop2/work/.buildlink/lib 
../../lib/.libs/libgtop-2.0.so ../../sysdeps/common/.libs/libgtop_common-2.0.a 
/usr/pkgsrc/sysutils/libgtop2/work/.buildlink/lib/libglib-2.0.so 
../../sysdeps/freebsd/.libs/libgtop_sysdeps-2.0.a 
../../sysdeps/freebsd/.libs/libgtop_sysdeps_suid-2.0.a 
../../sysdeps/common/.libs/libgtop_suid_common-2.0.a 
/usr/pkgsrc/sysutils/libgtop2/work/.buildlink/lib/libpopt.so
-lintl -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath
-Wl,/usr/pkgsrc/sysutils/libgtop2/work/.buildlink/lib 
../../lib/.libs/libgtop-2.0.so:
undefined reference to `kvm_open' ../../lib/.libs/libgtop-2.0.so:
undefined reference to `kvm_nlist' ../../lib/.libs/libgtop-2.0.so:
undefined reference to `kvm_read' ../../lib/.libs/libgtop-2.0.so:
undefined reference to `kvm_getargv' ../../lib/.libs/libgtop-2.0.so:
undefined reference to `kvm_getprocs' gmake[3]: *** [libgtop_daemon2]
Error 1 gmake[3]: Leaving directory
`/usr/pkgsrc/sysutils/libgtop2/work/libgtop-2.12.2/src/daemon'

Prsumably, a -lkvm is needed somewhere, but I haven't figure out just
where yet.

I'm using up-to-date pkgsrc from the head.

                --Steven M. Bellovin, http://www.cs.columbia.edu/~smb



Home | Main Index | Thread Index | Old Index