Can't build PulseAudio 10.0 with gcc-6.3.1
make: Leaving directory '/builddir/build/BUILD/pulseaudio-10.0/src'
libtool: error: not configured to extract global symbols from dlpreopened files
daemon/main.c:528: error: undefined reference to 'lt__PROGRAM__LTX_preloaded_symbols'
daemon/dumpmodules.c:116: error: undefined reference to 'lt__PROGRAM__LTX_preloaded_symbols'
daemon/dumpmodules.c:129: error: undefined reference to 'lt__PROGRAM__LTX_preloaded_symbols'
collect2: error: ld returned 1 exit status
make: *** [Makefile:6723: pulseaudio] Error 1
make: *** [Makefile:4891: all] Error 2
make: *** [Makefile:807: all-recursive] Error 1
make: *** [Makefile:622: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.73086 (%build)
More logs can be found here
> libtool: error: not configured to extract global symbols from dlpreopened files
This sounds like your libtool has been configured in an unusual way. I have never seen this error before, and I don't know how to fix this. For now I'll assume that this is not a pulseaudio bug. Feel free to prove me wrong.
Exactly the same problem here, also when compiling pulseaudio 10.0.
It's a problem of the libtool generated in the pulseaudio build:
In the libtool script in the pulseaudio build tree,
the shell variables global_symbol_pipe and global_symbol_to_cdecl
are both set to empty strings.
In my /usr/bin/libtool, they are both set to sed commands.
Copying these two lines from /usr/bin/libtool to the build-local libtool
fixes the problem.
Problem still present in Pulseaudio 10.99.
The libtool script in the build tree is generated by config.status, which in turn is generated by the configure script, which in turn is generated by autoreconf, which is run from the bootstrap.sh script. Maybe it's a bug in autoconf, maybe it's a bug in libtool, I don't know.
I can't reproduce the problem, so I can't debug this.
Since the libtool script is generated by the PulseAudio build system, I wondered what generates /usr/bin/libtool, but on my machine that file doesn't even exist.
(In reply to Tanu Kaskinen from comment #5)
> Since the libtool script is generated by the PulseAudio build system, I
> wondered what generates /usr/bin/libtool, but on my machine that file
> doesn't even exist.
According to the package management, the libtool development package
installed /usr/bin/libtool on my system.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/142.