pkgsrc-Users archive

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

problems building security/dsniff-nox11



Hello,

building security/dsniff-nox11 from HEAD pkgsrc on a current NetBSD/i386
system fails as follows:

[...]
cc -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/libnet10 
-Wl,-R/usr/pkg/lib/libnet10 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o dsniff asn1.o 
base64.o buf.o hex.o magic.o mount.o pcaputil.o rpc.o tcp_raw.o trigger.o 
record.o dsniff.o decode.o decode_aim.o decode_citrix.o decode_cvs.o 
decode_ftp.o decode_hex.o decode_http.o decode_icq.o decode_imap.o decode_irc.o 
decode_ldap.o decode_mmxp.o decode_mountd.o decode_napster.o decode_nntp.o 
decode_oracle.o decode_ospf.o decode_pcanywhere.o decode_pop.o decode_portmap.o 
decode_postgresql.o decode_pptp.o decode_rip.o decode_rlogin.o decode_smb.o 
decode_smtp.o decode_sniffer.o decode_snmp.o decode_socks.o decode_tds.o 
decode_telnet.o decode_vrrp.o decode_yp.o decode_x11.o -lresolv -lrpcsvc  -L. 
-lmissing -L/usr/pkg/lib -lnids -L/usr/pkg/lib -lpcap -L/usr/pkg/lib/libnet10 
-lnet  -lssl -lcrypto
/b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o): 
In function `nids_dispatch':
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:765: undefined 
reference to `g_async_queue_push'
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:759: undefined 
reference to `g_thread_create_full'
/b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o): 
In function `cap_queue_process_thread':
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:566: undefined 
reference to `g_async_queue_pop'
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:572: undefined 
reference to `g_thread_exit'
/b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o): 
In function `nids_exit':
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:707: undefined 
reference to `g_async_queue_length'
/b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o): 
In function `nids_run':
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:688: undefined 
reference to `g_thread_create_full'
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:691: undefined 
reference to `g_async_queue_push'
/b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o): 
In function `nids_init':
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:671: undefined 
reference to `g_thread_init'
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:672: undefined 
reference to `g_async_queue_new'
/b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o): 
In function `nids_pcap_handler':
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:341: undefined 
reference to `g_async_queue_lock'
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:343: undefined 
reference to `g_async_queue_length_unlocked'
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:349: undefined 
reference to `g_async_queue_push_unlocked'
/b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o): 
In function `nids_next':
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:745: undefined 
reference to `g_thread_create_full'
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:747: undefined 
reference to `g_async_queue_push'
/b/build/pkg/c/security/dsniff-nox11/work/.buildlink/lib/libnids.a(libnids.o): 
In function `nids_pcap_handler':
/b/build/pkg/c/net/libnids/work/libnids-1.23/src/libnids.c:351: undefined 
reference to `g_async_queue_unlock'
*** Error code 1
[...]

In addition, with MAKE_JOBS=2 it fails even earlier:

[...]
--- decode_mountd.o ---
./decode_mountd.c:22:19: error: mount.h: No such file or directory
./decode_mountd.c: In function 'decode_mountd':
./decode_mountd.c:33: error: storage size of 'fhstat' isn't known
./decode_mountd.c:43: error: 'MOUNTPROG' undeclared (first use in this function)
./decode_mountd.c:43: error: (Each undeclared identifier is reported only once
./decode_mountd.c:43: error: for each function it appears in.)
./decode_mountd.c:44: error: 'MOUNTPROC_MNT' undeclared (first use in this 
function)
./decode_mountd.c:48: error: 'MOUNTVERS' undeclared (first use in this function)
./decode_mountd.c:66: error: 'FHSIZE' undeclared (first use in this function)
*** [decode_mountd.o] Error code 1
1 error
[...]

BTW, building the package from pkgsrc 2008Q4 (which seems to be
identical to the one from HEAD) on a NetBSD/i386 5.0_RC2 system
succeeded some months ago...

Anybody else seeing this?  Any hints about how to fix this?


Regards, Jukka

-- 
This email fills a much-needed gap in the archives.


Home | Main Index | Thread Index | Old Index