Subject: pkg/34216: games/gtetrinet need -lesd
To: None <,,>
From: Gilles Dauphin <>
List: pkgsrc-bugs
Date: 08/16/2006 17:55:00
>Number:         34216
>Category:       pkg
>Synopsis:       games/gtetrinet  need -lesd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 16 17:55:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc

System: SunOS 5.10 Generic_Patch_118844-30 i86pc


gcc  -O -I/usr/pkg/include -I/usr/pkg/include/krb5 -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include/freetype2 -R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/openwin/lib/64 -Wl,-R/usr/openwin/lib/64 -o gtetrinet  client.o commands.o config.o dialogs.o fields.o gtetrinet.o misc.o partyline.o sound.o tetrinet.o tetris.o winlist.o -Wl,-R/usr/pkg/lib -Wl,-R/usr/openwin/lib/64 -R/usr/openwin/lib/64 -L/usr/pkg/lib -L/usr/openwin/lib/64 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lxml2 -lz -lsocket -lnsl -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lgobject-2.0 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lintl   -ldb4
Undefined                       first referenced
 symbol                             in file
esd_sample_free                     sound.o  (symbol belongs to implicit dependency /pkg/obj/games/gtetrinet/work/.buildlink/lib/
esd_sample_play                     sound.o  (symbol belongs to implicit dependency /pkg/obj/games/gtetrinet/work/.buildlink/lib/
ld: fatal: Symbol referencing errors. No output written to gtetrinet
collect2: ld returned 1 exit status
gmake[3]: *** [gtetrinet] Error 1




maybe in audio/esound or the following patch

--- Makefile.orig       Wed Jul  5 11:39:40 2006
+++ Makefile    Wed Aug 16 19:37:57 2006
@@ -26,6 +26,7 @@
 GCONF2_SCHEMAS=                gtetrinet.schemas
+LIBS.SunOS+=   -lesd
 .include "../../audio/esound/"
 .include "../../devel/GConf2/"
 .include "../../devel/gettext-lib/"