[SM-Grimoire-Bugs] [Bug 15307] New: pulseaudio 0.9.15 fails to compile with -Wl, --as-needed in LDFLAGS

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Jul 21 17:48:46 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15307

           Summary: pulseaudio 0.9.15 fails to compile with
                    -Wl,--as-needed in LDFLAGS
           Product: Codex
           Version: test grimoire
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: audio-libs
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sandalle at sourcemage.org
            Blocks: 15215


$ gaze version gcc glibc binutils
Grimoire  Section  Spell     Grimoire Version  Installed Version
--------  -------  -----     ----------------  -----------------
test      gnu      gcc       4.3.3             4.3.3
test      libs     glibc     2.10.1            2.10.1
test      devel    binutils  2.19.1            2.19.1

$ sorcery -v
1.14.4-rc2

# cast pulseaudio
...
libtool: link: gcc -std=gnu99 -I../src -I../src -I../src/modules
-I../src/modules -I../src/modules/rtp -I../src/modules/rtp
-I../src/modules/gconf -I../src/modules/gconf -I../src/modules/bluetooth
-I../src/modules/bluetooth -I../src/modules/alsa -I../src/modules/alsa
-I../src/modules/raop -pthread -D_POSIX_PTHREAD_SEMANTICS
-DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9.15/modules/\"
-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\"
-DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\"
-DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\"
-DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS
-DPULSE_LOCALEDIR=\"/usr/share/locale\"
-DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" -march=nocona -fPIC -DPIC -pipe
-DPIC -fPIC -O2 -Wall -W -Wextra -pipe -Wno-long-long -Winline -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=2 -Wwrite-strings
-Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common
-fdiagnostics-show-option -Wl,-z -Wl,nodelete -z combreloc -s -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -o .libs/mcalign-test
mcalign_test-mcalign-test.o  ./.libs/libpulsecore-0.9.15.so -L/usr/lib
/usr/lib/libltdl.so /usr/lib/libsamplerate.so /usr/lib/libsndfile.so
/usr/lib/libFLAC.so /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so
/usr/lib/libogg.so /usr/lib/libspeexdsp.so /usr/lib/liboil-0.3.so
/usr/src/pulseaudio-0.9.15/src/.libs/libpulse.so
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so
./.libs/libpulsecommon-0.9.15.so /usr/lib/libSM.so /usr/lib/libuuid.so
/usr/lib/libICE.so /usr/lib/libXtst.so /usr/lib/libXext.so /usr/lib/libX11.so
/usr/lib/libXdmcp.so /usr/lib/libXau.so -lwrap /usr/lib/libasyncns.so -lresolv
-lnsl /usr/lib/libdbus-1.so -lpthread -lcap /usr/lib/libgdbm.so -lrt -ldl -lm
-pthread
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_xmalloc'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_from_string'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_timeval_add'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_timeval_diff'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_timeval_load'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_msleep'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_bytes_snprint'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_xmemdup'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_contains'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_free'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_get_host_name'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_get_user_name'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_sets'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_get_fqdn'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_xstrdup'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_utf8_to_locale'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_timeval_cmp'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_xstrndup'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_xfree'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_path_get_filename'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_get_binary_name'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_set'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_xmalloc0'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_utf8_valid'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_get'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_locale_to_utf8'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_utf8_filter'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_iterate'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_get_home_dir'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_xrealloc'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_gets'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_ascii_filter'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_proplist_update'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_timeval_sub'
/usr/src/pulseaudio-0.9.15/src/.libs/libpulsecommon-0.9.15.so: undefined
reference to `pa_gettimeofday'
collect2: ld returned 1 exit status
make[3]: Leaving directory `/usr/src/pulseaudio-0.9.15/src'  
make[3]: *** [mcalign-test] Error 1
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/pulseaudio-0.9.15/src'  
make[1]: Leaving directory `/usr/src/pulseaudio-0.9.15'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list