pkgsrc-Bugs archive

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

pkg/44401: sysutils/gamin linking problem on SunOS



>Number:         44401
>Category:       pkg
>Synopsis:       sysutils/gamin linking problem on SunOS
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 16 16:40:00 +0000 2011
>Originator:     Jan Guttek
>Release:        Solaris 10, pkgsrc-2010q4
>Organization:
>Environment:
SunOS global 5.10 Generic_142909-17 sun4v sparc SUNW,SPARC-Enterprise-T1000

>Description:
Package pkgsrc/sysutils/gamin fails to build on SunOS with Sun Studio compiler. 
Please see following:

---
libtool: link: cc -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g -O -xarch=sparc 
-xchip=ultraT1 -m64 -xO2 -g -xarch=sparc -xchip=ultraT1 -m64 -xO2 -g 
-Wl,-R/usr/pkg/lib -o .libs/gamin gamin.o  
-L/pkg/tmp//pkg/src/sysutils/libgamin/.buildlink/lib 
/pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so 
-R/usr/pkg/lib
Undefined                       first referenced
 symbol                             in file
socket                              
/pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
recvmsg                             
/pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
sendmsg                             
/pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
connect                             
/pkg/tmp//pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin/.libs/libgamin-1.so
ld: fatal: Symbol referencing errors. No output written to .libs/gamin
*** Error code 2

Stop.
bmake: stopped in /pkg/tmp/pkg/src/sysutils/libgamin/gamin-0.1.10/libgamin
*** Error code 1

Stop.
bmake: stopped in /pkg/tmp/pkg/src/sysutils/libgamin/gamin-0.1.10
*** Error code 1

Stop.
bmake: stopped in /pkg/tmp/pkg/src/sysutils/libgamin/gamin-0.1.10
*** Error code 1

Stop.
bmake: stopped in /pkg/src/sysutils/libgamin
*** Error code 1

Stop.
bmake: stopped in /pkg/src/sysutils/libgamin
*** Error code 1

Stop.
bmake: stopped in /pkg/src/sysutils/gamin
---
>How-To-Repeat:

>Fix:
Add -lsocket.



Home | Main Index | Thread Index | Old Index