pkgsrc-Bugs archive

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

pkg/41710: security/dsniff link errors (NetBSD 4.0)



>Number:         41710
>Category:       pkg
>Synopsis:       security/dsniff link errors (NetBSD 4.0)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 13 12:55:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        security/dsniff generates undefined symbols attemping to
        link webspy (on, at least, a NetBSD 4.0 system)

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        (except x*, I use pkgsrc modular xorg)

        When building expect to see ...

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 webspy 
webspy.o base64.o buf.o remote.o -lresolv -lrpcsvc  -L. -lmissing 
-L/usr/pkg/lib -lnids -lpcap -L/usr/pkg/lib/libnet10 -lnet -lSM -lICE -lXmu 
-lX11
/pkg_comp/obj/pkgsrc/security/dsniff/4x/.buildlink/lib/libnids.a(libnids.o): In 
function `nids_dispatch':
libnids.c:(.text+0x98): undefined reference to `g_async_queue_push'
libnids.c:(.text+0xc2): undefined reference to `g_thread_create_full'
/pkg_comp/obj/pkgsrc/security/dsniff/4x/.buildlink/lib/libnids.a(libnids.o): In 
function `cap_queue_process_thread':
libnids.c:(.text+0x189): undefined reference to `g_async_queue_pop'
libnids.c:(.text+0x19f): undefined reference to `g_thread_exit'
/pkg_comp/obj/pkgsrc/security/dsniff/4x/.buildlink/lib/libnids.a(libnids.o): In 
function `nids_exit':
libnids.c:(.text+0x27a): undefined reference to `g_async_queue_length'

        And a whole bunch more of the same (g_thread_* and g_async_*
        undefined functions refereenced from various functions in libnids).

>Fix:
        I assume there's a missing library on the link line, or
        something like that...



Home | Main Index | Thread Index | Old Index