module-udev-detect.c:235: undefined reference to `pa_fopen_cloexec' during 'make install'

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

 



Hello,

I was just checking out the latest development tree from :

git clone git://git.0pointer.de/pulseaudio.git


I ran:
./bootstrap.sh
./configure --prefix=/usr/local/pulseaudio --sysconfdir=/etc
--localstatedir=/var --enable-alsa --enable-avahi
make
sudo make install

and the install process ended with the following error:

libtool: install: warning: relinking `module-udev-detect.la'
libtool: install: (cd /disk/share/home/ivar/pulseaudio/src; /bin/bash
/disk/share/home/ivar/pulseaudio/libtool  --silent --tag CC --mode=relink
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/oss -I../src/modules/oss -I../src/modules/alsa
-I../src/modules/alsa -I../src/modules/raop -I../src/modules/raop
-I../src/modules/x11 -I../src/modules/x11 -I../src/modules/jack
-I../src/modules/jack -I../src/modules/dbus -I../src/modules/dbus -pthread
-D_POSIX_PTHREAD_SEMANTICS
-DPA_BUILDDIR=\"/disk/share/home/ivar/pulseaudio/src\"
-DPA_DLSEARCHPATH=\"/usr/local/pulseaudio/lib/pulse-0.9.19/modules\"
-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"
-DPA_BINARY=\"/usr/local/pulseaudio/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/local/pulseaudio/share/locale\"
-DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\"
-DPA_ALSA_PATHS_DIR=\"/usr/local/pulseaudio/share/pulseaudio/alsa-mixer/paths\"
-DPA_ALSA_PROFILE_SETS_DIR=\"/usr/local/pulseaudio/share/pulseaudio/alsa-mixer/profile-sets\"
-g -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 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -module -disable-static -avoid-version
-Wl,--no-undefined -o module-udev-detect.la -rpath
/usr/local/pulseaudio/lib/pulse-0.9.19/modules
module_udev_detect_la-module-udev-detect.lo -ludev libpulsecore-0.9.19.la
libpulsecommon-0.9.19.la libpulse.la -lrt -ldl -lm )
.libs/module_udev_detect_la-module-udev-detect.o: In function
`is_card_busy':
/disk/share/home/ivar/pulseaudio/src/modules/module-udev-detect.c:235:
undefined reference to `pa_fopen_cloexec'
collect2: ld returned 1 exit status
libtool: install: error: relink `module-udev-detect.la' with the above
command before installing it
make[4]: *** [install-modlibexecLTLIBRARIES] Error 1
make[4]: Leaving directory `/disk/share/home/ivar/pulseaudio/src'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/disk/share/home/ivar/pulseaudio/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/disk/share/home/ivar/pulseaudio/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/disk/share/home/ivar/pulseaudio'
make: *** [install] Error 2


My ./configure output look like this:

 ---{ pulseaudio 0.9.19-530-g0525 }---

    prefix:                        /usr/local/pulseaudio
    sysconfdir:                    /etc
    localstatedir:                 /var
    System Runtime Path:           /var/run/pulse
    System State Path:             /var/lib/pulse
    System Config Path:            /var/lib/pulse
    Compiler:                      gcc -std=gnu99
    CFLAGS:                        -g -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 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include

    Have X11:                      no
    Enable OSS Output:             yes
    Enable OSS Wrapper:            yes
    Enable CoreAudio:              no
    Enable Alsa:                   yes
    Enable Solaris:                no
    Enable GLib 2.0:               yes
    Enable Gtk+ 2.0:               no
    Enable GConf:                  no
    Enable Avahi:                  yes
    Enable Jack:                   no
    Enable Async DNS:              no
    Enable LIRC:                   no
    Enable DBUS:                   yes
    Enable HAL:                    no
    Enable udev:                   yes
    Enable HAL->udev compat:       yes
    Enable BlueZ:                  no
    Enable TCP Wrappers:           no
    Enable libsamplerate:          no
    Enable IPv6:                   yes
    Enable OpenSSL (for Airtunes): no
    Enable tdb:                    no
    Enable gdbm:                   no
    Enable simple database:        yes
    Enable fftw:                   no

    System User:                   pulse
    System Group:                  pulse
    Access Group:                  pulse-access
    Enable per-user EsounD socket: yes
    Force preopen:                 no
    Preopened modules:             all


I am compiling this on an ubuntu server 9.10.

Any suggestions? The function not being found is located in
pulsecore/core-util.[ch]. Is it anything with my particular configuration
that leaves this function out?


With Kind Regards,
Ivar!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20100902/a76a99df/attachment.htm>


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

  Powered by Linux