Getting rid of annoying (but harmless) linking warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check whether output of
pkg-config --libs dbus-1
pkg-config --libs sndfile
contains any offensive parameters.

If there is anything out of the ordinary, cat libpulsecommon-1.0.la
could also reveal something, as I suspect your problem has more to do
with libtool than with autotools.

Maarten

2011/3/26 Colin Guthrie <gmane at colin.guthr.ie>:
> Hi,
>
> With the build looking so neat and tidy these days, I'm curious if I can
> clean up one of the things that still bugs me a little!
>
> It relates to the fact that I have a 64 bit system. My 64 bit libs are
> in /usr/lib64, but the link path searches in /usr/lib and thus produces
> the following:
>
> libtool: link: gcc -std=gnu99 -I../../src -I../../src/modules
> -I../src/modules -pthread -D_POSIX_PTHREAD_SEMANTICS
> -DPA_BUILDDIR=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/src\"
> -DPA_DLSEARCHPATH=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/lib/pulse-1.0/modules\"
> -DPA_DEFAULT_CONFIG_DIR=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/etc/pulse\"
> -DPA_BINARY=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/bin/pulseaudio\"
> -DPA_SYSTEM_RUNTIME_PATH=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/var/run/pulse\"
> -DPA_SYSTEM_CONFIG_PATH=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/var/lib/pulse\"
> -DPA_SYSTEM_STATE_PATH=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/var/lib/pulse\"
> -DAO_REQUIRE_CAS
> -DPULSE_LOCALEDIR=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/share/locale\"
> -DPA_MACHINE_ID=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/var/lib/dbus/machine-id\"
> -DPA_ALSA_PATHS_DIR=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/share/pulseaudio/alsa-mixer/paths\"
> -DPA_ALSA_PROFILE_SETS_DIR=\"/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/share/pulseaudio/alsa-mixer/profile-sets\"
> -g -O2 -Wall -W -Wextra -pipe -Wno-long-long -Wvla
> -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2
> -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs
> -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self
> -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
> -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations
> -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align
> -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math
> -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
> -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Wl,-z
> -Wl,nodelete -o .libs/pactl pactl-pactl.o ?./.libs/libpulse.so
> -L/usr/lib
> /home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/src/.libs/libpulsecommon-1.0.so
> ./.libs/libpulsecommon-1.0.so /usr/lib64/libX11-xcb.so
> /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXtst.so
> /usr/lib64/libXi.so /usr/lib64/libXext.so /usr/lib64/libX11.so
> /usr/lib64/libxcb-atom.so /usr/lib64/libxcb.so /usr/lib64/libXau.so
> /usr/lib64/libXdmcp.so -lwrap /usr/lib64/libsamplerate.so -lasyncns
> -ldbus-1 -lpthread /usr/lib64/libsndfile.so /usr/lib64/libFLAC.so
> /usr/lib64/libvorbisenc.so /usr/lib64/libvorbis.so /usr/lib64/libogg.so
> -lcap -lrt -ldl -lm -pthread -Wl,-rpath
> -Wl,/home/colin/Development/Personal/Mageia/pulse/pulseaudio/SOURCES/pulseaudio/build-master/lib
> /usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
> for -lpthread
> /usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
> /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
> /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching
> for -lgcc_s
> /usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
> for -lpthread
> /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
> /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching
> for -lgcc_s
>
>
>
> Note the -L/usr/lib just after libpulse.so in the above command.
>
> I need to track down where this is introduced. Anyone with an
> appropriately advanced autotools foo to help me work out where it comes
> from so I can nuke it?
>
> Col
>
> --
>
> Colin Guthrie
> gmane(at)colin.guthr.ie
> http://colin.guthr.ie/
>
> Day Job:
> ?Tribalogic Limited [http://www.tribalogic.net/]
> Open Source:
> ?Mageia Contributor [http://www.mageia.org/]
> ?PulseAudio Hacker [http://www.pulseaudio.org/]
> ?Trac Hacker [http://trac.edgewall.org/]
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux