pkgsrc-Bugs archive

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

pkg/33840: x11/xephem solaris missing -lnsl -lsocket



>Number:         33840
>Category:       pkg
>Synopsis:       x11/xephem solaris missing -lnsl -lsocket
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 27 10:45:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


make[1]: Leaving directory `/pkg/obj/x11/xephem/work/xephem-3.7.1/libz'
gcc -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd 
-L../../libpng -L../../libz -g -Wl,-R/usr/openwin/lib/64 -L/usr/openwin/lib/64 
-o xephem aavso.o annotmenu.o broadcast.o calmenu.o closemenu.o compiler.o 
coordsmenu.o datamenu.o db.o dbmenu.o earthmap.o earthmenu.o fallbacks.o 
favmenu.o formats.o fsmenu.o gallerymenu.o glance.o gsc.o gscnet.o helpmenu.o 
homeio.o hznmenu.o indimenu.o imregmenu.o jpeg2pm.o jupmenu.o listmenu.o 
mainmenu.o marsmenu.o marsmmenu.o moonmenu.o moviemenu.o msgmenu.o netmenu.o 
objmenu.o obslog.o patchlevel.o plot_aux.o plotmenu.o preferences.o progress.o 
ps.o query.o rotated.o satmenu.o saveres.o scope.o setiathome.o sites.o 
skybinary.o skyeyep.o skyfifos.o skyfiltmenu.o skyfits.o skyhist.o skyip.o 
skylist.o skytoolbar.o skyviewmenu.o solsysmenu.o splash.o srchmenu.o sunmenu.o 
time.o tips.o trailmenu.o uranusmenu.o ucac.o usno.o versionmenu.o webdbmenu.o 
xe2.o xe3.o xephem.o xmisc.o -Wl,-R/usr/dt/lib  -L/usr/dt/lib -lXm -lXp -lXp -lX
 t -lXext -lSM -lICE -lXmu -lX11 -lastro -lip -llilxml -ljpegd -lpng -lz -lm
Undefined                       first referenced
 symbol                             in file
gethostbyname                       netmenu.o  (symbol belongs to implicit 
dependency /lib/amd64/libnsl.so.1)
socket                              netmenu.o  (symbol belongs to implicit 
dependency /lib/amd64/libsocket.so.1)
getsockopt                          netmenu.o  (symbol belongs to implicit 
dependency /lib/amd64/libsocket.so.1)
connect                             netmenu.o  (symbol belongs to implicit 
dependency /lib/amd64/libsocket.so.1)
h_errno                             netmenu.o  (symbol belongs to implicit 
dependency /lib/amd64/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to xephem
collect2: ld returned 1 exit status
gmake: *** [xephem] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/xephem



>How-To-Repeat:


bmake


>Fix:


in Makefile
...
LDFLAGS.SunOS+= -lnsl -lsocket
X11_LDFLAGS+=   ${LDFLAGS.SunOS}
BUILD_ENV+=     X11_LDFLAGS=${X11_LDFLAGS:Q}

...





Home | Main Index | Thread Index | Old Index