pkgsrc-Bugs archive

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

pkg/43938: net/mDNSResponder-214.3.2 fails to build on solaris 10



>Number:         43938
>Category:       pkg
>Synopsis:       net/mDNSResponder-214.3.2 fails to build on solaris 10
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 04 12:10:00 +0000 2010
>Originator:     Daniel Vergien
>Release:        pkgsrc-current
>Organization:
private
>Environment:
SunOS nilfisk-ng 5.10 Generic_142910-17 i86pc i386 i86pc
>Description:
mDNSresponder fails to build with this error:

mkdir build
cc dns-sd.c ClientCommon.c -L../mDNSPosix/build/prod/ -ldns_sd 
-L/nilfisk/pkgsrc-2010Q1/gcc44/lib/gcc/i386-pc-solaris2.10/4.4.3 
-Wl,-R/nilfisk/pkgsrc-2010Q1/gcc44/lib/gcc/i386-pc-solaris2.10/4.4.3 
-L/nilfisk/pkgsrc-2010Q1/gcc44/lib -Wl,-R/nilfisk/pkgsrc-2010Q1/gcc44/lib 
-L/usr/lib -Wl,-R/usr/lib -L/nilfisk/pkgsrc-2010Q1/lib 
-L/nilfisk/pkgsrc-2010Q1/gcc44/lib/gcc/i386-pc-solaris2.10/4.4.3/ 
-Wl,-R/nilfisk/pkgsrc-2010Q1/lib -I../mDNSShared -Wall -o build/dns-sd
Undefined                       first referenced
 symbol                             in file
if_indextoname                      /var/tmp//ccQSFj8v.o  (symbol belongs to 
implicit dependency /usr/lib/libsocket.so.1)
if_nametoindex                      /var/tmp//ccQSFj8v.o  (symbol belongs to 
implicit dependency /usr/lib/libsocket.so.1)
getaddrinfo                         /var/tmp//ccQSFj8v.o  (symbol belongs to 
implicit dependency /usr/lib/libsocket.so.1)
freeaddrinfo                        /var/tmp//ccQSFj8v.o  (symbol belongs to 
implicit dependency /usr/lib/libsocket.so.1)
ld: fatal: Symbol referencing errors. No output written to build/dns-sd
collect2: ld returned 1 exit status
gmake[1]: *** [build/dns-sd] Error 1
gmake[1]: Leaving directory 
`/nilfisk/pkgsrc-2010Q1/usr/pkgsrc/net/mDNSResponder/work/mDNSResponder-214.3.2/Clients'
gmake: *** [../Clients/build/dns-sd] Error 2

>How-To-Repeat:
build mDNSresponder on Solaris 10
>Fix:
Add

LDFLAGS.SunOS+=        -lsocket

to Makefile



Home | Main Index | Thread Index | Old Index