Ticket #1 (closed defect: fixed)

Opened 6 years ago

Last modified 3 years ago

Problem compiling polypaudio 0.7

Reported by: pierre42d@… Owned by: somebody
Milestone: Component: component1
Keywords: Cc:

Description (last modified by lennart) (diff)

# make
make  all-recursive
make[1]: Entering directory `/tmp/polypaudio-0.7'
Making all in polyp
make[2]: Entering directory `/tmp/polypaudio-0.7/polyp'
make  all-am
make[3]: Entering directory `/tmp/polypaudio-0.7/polyp'
/bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -I.. -pthread -DDLSEARCHPATH=\"/usr/local/lib/polypaudio-0.7\" -DDEFAULT_CONFIG_DIR=\"/usr/local/etc/polypaudio\" -DPOLYPAUDIO_BINARY=\"/usr/local/bin/polypaudio\" '-DDEBUG_TRAP=__asm__("int $3")' -s -O3 -march=i686 -pipe -W -Wall -pedantic -std=c99 -Wno-unused-parameter   -o polypaudio  -export-dynamic -dlopen force  polypaudio-idxset.o polypaudio-queue.o polypaudio-strbuf.o polypaudio-main.o polypaudio-mainloop.o polypaudio-memblock.o polypaudio-sample.o polypaudio-sample-util.o polypaudio-memblockq.o polypaudio-client.o polypaudio-core.o polypaudio-source-output.o polypaudio-sink-input.o polypaudio-source.o polypaudio-sink.o polypaudio-module.o polypaudio-mainloop-signal.o polypaudio-mainloop-api.o polypaudio-util.o polypaudio-hashmap.o polypaudio-namereg.o polypaudio-sconv.o polypaudio-resampler.o polypaudio-memchunk.o polypaudio-sconv-s16le.o polypaudio-sconv-s16be.o polypaudio-sioman.o polypaudio-modargs.o polypaudio-cmdline.o polypaudio-cli-command.o polypaudio-cli-text.o polypaudio-tokenizer.o polypaudio-dynarray.o polypaudio-scache.o polypaudio-sound-file.o polypaudio-play-memchunk.o polypaudio-autoload.o polypaudio-xmalloc.o polypaudio-subscribe.o polypaudio-sound-file-stream.o polypaudio-cpulimit.o polypaudio-log.o polypaudio-modinfo.o polypaudio-daemon-conf.o polypaudio-dumpmodules.o polypaudio-conf-parser.o polypaudio-caps.o polypaudio-props.o polypaudio-mcalign.o polypaudio-g711.o polypaudio-pid.o  -lm -lltdl -L/usr/local/lib -lsamplerate   -L/usr/local/lib -lsndfile   -lcap -lm 
rm -f .libs/polypaudio.nm .libs/polypaudio.nmS .libs/polypaudio.nmT
creating .libs/polypaudioS.c
(cd .libs && gcc -c -fno-builtin "polypaudioS.c")
rm -f .libs/polypaudioS.c .libs/polypaudio.nm .libs/polypaudio.nmS .libs/polypaudio.nmT
gcc -D_GNU_SOURCE -I.. -DDLSEARCHPATH=\"/usr/local/lib/polypaudio-0.7\" -DDEFAULT_CONFIG_DIR=\"/usr/local/etc/polypaudio\" -DPOLYPAUDIO_BINARY=\"/usr/local/bin/polypaudio\" "-DDEBUG_TRAP=__asm__(\"int \$3\")" -s -O3 -march=i686 -pipe -W -Wall -pedantic -std=c99 -Wno-unused-parameter -o polypaudio .libs/polypaudioS.o polypaudio-idxset.o polypaudio-queue.o polypaudio-strbuf.o polypaudio-main.o polypaudio-mainloop.o polypaudio-memblock.o polypaudio-sample.o polypaudio-sample-util.o polypaudio-memblockq.o polypaudio-client.o polypaudio-core.o polypaudio-source-output.o polypaudio-sink-input.o polypaudio-source.o polypaudio-sink.o polypaudio-module.o polypaudio-mainloop-signal.o polypaudio-mainloop-api.o polypaudio-util.o polypaudio-hashmap.o polypaudio-namereg.o polypaudio-sconv.o polypaudio-resampler.o polypaudio-memchunk.o polypaudio-sconv-s16le.o polypaudio-sconv-s16be.o polypaudio-sioman.o polypaudio-modargs.o polypaudio-cmdline.o polypaudio-cli-command.o polypaudio-cli-text.o polypaudio-tokenizer.o polypaudio-dynarray.o polypaudio-scache.o polypaudio-sound-file.o polypaudio-play-memchunk.o polypaudio-autoload.o polypaudio-xmalloc.o polypaudio-subscribe.o polypaudio-sound-file-stream.o polypaudio-cpulimit.o polypaudio-log.o polypaudio-modinfo.o polypaudio-daemon-conf.o polypaudio-dumpmodules.o polypaudio-conf-parser.o polypaudio-caps.o polypaudio-props.o polypaudio-mcalign.o polypaudio-g711.o polypaudio-pid.o -Wl,--export-dynamic  -pthread /usr/local/lib/libltdl.so -L/usr/local/lib /usr/local/lib/libsamplerate.so /usr/local/lib/libsndfile.so -lcap -lm
polypaudio-main.o: In function `main':
main.c:(.text+0x1ab): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
rm -f .libs/polypaudioS.o
make[3]: *** [polypaudio] Error 1
make[3]: Leaving directory `/tmp/polypaudio-0.7/polyp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/polypaudio-0.7/polyp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/polypaudio-0.7'
make: *** [all] Error 2

Change History

Changed 6 years ago by lennart

  • status changed from new to closed
  • resolution set to wontfix

Pleas test again with Polypaudio 0.8!

Changed 3 years ago by rodrigo

  • status changed from closed to reopened
  • type set to defect
  • resolution wontfix deleted

I am seeing this same error now again with 0.9.12. I tried hard coding -lltdl in the link flags, but no luck. Any idea how this can be fixed? It seems it uses the system-installed ltdl.h, but doesn't get those symbols right.

Changed 3 years ago by lennart

  • description modified (diff)

Changed 3 years ago by lennart

  • description modified (diff)

Changed 3 years ago by lennart

Looks like libtool 2.2's preloading support is broken.

Changed 3 years ago by lennart

This seems to work fine now in PA git. Feel free to reopen when problem persists.

Changed 3 years ago by lennart

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.