Bug#566779: snd: FTBFS on GNU/kFreeBSD: missing -ldl

Cyril Brulebois kibi at debian.org
Wed Jan 27 14:29:58 UTC 2010


Alessio Treglia <quadrispro at ubuntu.com> (27/01/2010):
> Cyril, I'm about to apply the attached patch, what do think about
> it?  Could you test whether it actually prevents the build failure?

It looks like it does not:
| gcc -Wl,-export-dynamic -I. -g -O2 -g3 -Wall -O -g3 -Wredundant-decls -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wimplicit -Wreturn-type -Wunused-label -Wunused-variable -Wunused-value -Wcomment -Wformat -Wunused-function -Wuninitialized -Wparentheses -Wall -Winit-self -Wsequence-point -Wmissing-field-initializers s7.o headers.o audio.o io.o sound.o clm.o xen.o vct.o sndlib2xen.o clm2xen.o snd-io.o snd-utils.o snd-listener.o snd-error.o snd-completion.o snd-menu.o snd-axis.o snd-data.o snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o snd-region.o snd-select.o snd-find.o snd-snd.o snd-help.o snd-main.o snd-print.o snd-trans.o snd-mix.o snd.o snd-env.o snd-xen.o snd-ladspa.o snd-kbd.o snd-sig.o snd-draw.o run.o rt-various.o snd-nogui.o  -o snd         -lfftw3 -lm   -L/usr/lib -lgsl -lgslcblas -lm  -lgmp -lmpfr -lmpc -lc -lm  -lm
| snd-xen.o: In function `g_dlinit':
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-xen.c:1340: undefined reference to `dlsym'
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-xen.c:1341: undefined reference to `dlerror'
| snd-xen.o: In function `g_dlerror':
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-xen.c:1331: undefined reference to `dlerror'
| snd-xen.o: In function `g_dlclose':
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-xen.c:1324: undefined reference to `dlclose'
| snd-xen.o: In function `g_dlopen':
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-xen.c:1299: undefined reference to `dlopen'
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-xen.c:1304: undefined reference to `dlopen'
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-xen.c:1309: undefined reference to `dlerror'
| snd-ladspa.o: In function `loadLADSPADirectory':
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-ladspa.c:230: undefined reference to `dlopen'
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-ladspa.c:234: undefined reference to `dlerror'
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-ladspa.c:236: undefined reference to `dlsym'
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-ladspa.c:238: undefined reference to `dlerror'
| snd-ladspa.o: In function `unloadLADSPA':
| /srv/storage/kibi/hack/porting-4/snd-11.2/snd-ladspa.c:137: undefined reference to `dlclose'
| collect2: ld returned 1 exit status

Grepping the log for configure, one gets:
| ./configure --with-ladspa --enable-snd-debug --with-gmp --prefix=/usr \
| 									--with-no-gui \
| 									--with-oss
| checking build system type... i686-unknown-kfreebsd8.0-gnu
| checking host system type... i686-unknown-kfreebsd8.0-gnu
| checking for gcc... gcc
| checking whether the C compiler works... yes
| checking for C compiler default output file name... a.out
| checking for suffix of executables... 
| checking whether we are cross compiling... no

Looks like -ldl is still missing. ;)

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100127/067ecfc8/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list