Libasound?

Hi, someone just e-mailed me saying they couldn’t compile one of my SDL apps.
It looks like an sdl-config flavored issue:

cc -O2 -Wall -I/usr/include/SDL -D_REENTRANT
-DDATA_PREFIX="/usr/local/share/tuxpaint/" -o tuxpaint tuxpaint.o -L/usr/lib
-lSDL -lpthread -lm -lasound -L/usr/lib -ldl -lartsc -lpthread -L/usr/lib -lesd-laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv
-lXinerama -ldl -lSDL_image -lSDL_mixer
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make: *** [tuxpaint] Erreur 1

Look familiar to anyone? In the meantime, I’ll ask them how they installed
SDL/etc. (I think they installed them from RPMs)

Thx!

-bill!

isn’t that for the ALSA libs ? Sounds like either they are missing or
wrong path to the libs.

Ben

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020706/b8a2707c/attachment.pgpOn Sat, 2002-07-06 at 15:22, nbs wrote:

Hi, someone just e-mailed me saying they couldn’t compile one of my SDL apps.
It looks like an sdl-config flavored issue:

cc -O2 -Wall -I/usr/include/SDL -D_REENTRANT
-DDATA_PREFIX="/usr/local/share/tuxpaint/" -o tuxpaint tuxpaint.o -L/usr/lib
-lSDL -lpthread -lm -lasound -L/usr/lib -ldl -lartsc -lpthread -L/usr/lib -lesd-laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv
-lXinerama -ldl -lSDL_image -lSDL_mixer
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make: *** [tuxpaint] Erreur 1

Look familiar to anyone? In the meantime, I’ll ask them how they installed
SDL/etc. (I think they installed them from RPMs)

Thx!

-bill!


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Yes, this happens when SDL is linked to asound but alsa-devel or
libasound-dev or whatever it’s called on that dist. If the package for
SDL has dependencies for its devel package (it should unless we’re talking
Slackware here), it should have the appropriate dependency data.

Debian gets around this problem by building libsdl1.2-dev from the
libsdl1.2-oss package, which has dependency only on X11.On Sat, Jul 06, 2002 at 12:22:48PM -0700, nbs wrote:

Hi, someone just e-mailed me saying they couldn’t compile one of my SDL apps.
It looks like an sdl-config flavored issue:

cc -O2 -Wall -I/usr/include/SDL -D_REENTRANT
-DDATA_PREFIX="/usr/local/share/tuxpaint/" -o tuxpaint tuxpaint.o -L/usr/lib
-lSDL -lpthread -lm -lasound -L/usr/lib -ldl -lartsc -lpthread -L/usr/lib -lesd-laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv
-lXinerama -ldl -lSDL_image -lSDL_mixer
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make: *** [tuxpaint] Erreur 1

Look familiar to anyone? In the meantime, I’ll ask them how they installed
SDL/etc. (I think they installed them from RPMs)


Joseph Carter glDisable (DX8_CRAP);

exarkun: i am going to tell you my secret now
“i see dead processess”

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020706/72be93fe/attachment.pgp

Yeah I got this after installing Mandrake 8.2

It was just a matter of symlinking libasound.so to libasound.so.1. No
dramas.

Mick> ----- Original Message -----

From: nbs
To: sdl at libsdl.org
Sent: 7/7/02 5:22 AM
Subject: [SDL] libasound?

Hi, someone just e-mailed me saying they couldn’t compile one of my SDL
apps.
It looks like an sdl-config flavored issue:

cc -O2 -Wall -I/usr/include/SDL -D_REENTRANT
-DDATA_PREFIX="/usr/local/share/tuxpaint/" -o tuxpaint tuxpaint.o
-L/usr/lib
-lSDL -lpthread -lm -lasound -L/usr/lib -ldl -lartsc -lpthread
-L/usr/lib -lesd-laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm
-lXxf86dga -lXv
-lXinerama -ldl -lSDL_image -lSDL_mixer
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make: *** [tuxpaint] Erreur 1

Look familiar to anyone? In the meantime, I’ll ask them how they
installed
SDL/etc. (I think they installed them from RPMs)

Thx!

-bill!


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl