snapshot build - "undefined reference" to VLC_Die
Posted: 18 May 2007 04:41
i tried to build from source. i got latest version of "everything" (svn checkout yesterday evening, latest change at 2006-09-12 21:15:20 +0200 (Tue, 12 Sep 2006), which calls itself 0.9.0-svn, see below for other software's versions). but i got undefined reference-errors on the last meters of the make-process.
the tail of make's output
my software's versions
my configuration options (derived from debian unstable's one)
i got all the required development headers (although ./configure didn't notice when I hadn't libdvb-dev installed) and i built the recent version of ffmpeg by myself. my op.sys. is debian gnu/linux testing.
i've seen the same problem on two other posts:
viewtopic.php?t=28838
viewtopic.php?t=18403
once a guest claims that the ancient gcc version 2.95 has to be used.
one the other one, one tells about success with gcc 4.1.0, while a developer states that gcc < 3.3 are unsupported (and won't do it).
what may i change to get it working (gcc/g++, libtool..., ./configure-settings)?
or: has anyone experienced the same problem? found a solution/the problem?
the tail of make's output
Code: Select all
make[2]: Gehe in Verzeichnis »/home/claudio/spielkiste/00035/vlc-trunk«
cd src && make libvlc.la
make[3]: Gehe in Verzeichnis »/home/claudio/spielkiste/00035/vlc-trunk/src«
make[3]: »libvlc.la« ist bereits aktualisiert.
make[3]: Verlasse Verzeichnis »/home/claudio/spielkiste/00035/vlc-trunk/src«
/bin/bash ./libtool --tag=CC --mode=link gcc -std=gnu99 -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -o vlc vlc-vlc.o src/libvlc.la
gcc -std=gnu99 -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -o .libs/vlc vlc-vlc.o src/.libs/libvlc.so -Wl,--rpath -Wl,/usr/local/lib
vlc-vlc.o: In function `KillOnce':
vlc.c:(.text+0xb): undefined reference to `VLC_Die'
vlc-vlc.o: In function `main':
vlc.c:(.text+0x19c): undefined reference to `VLC_Create'
vlc.c:(.text+0x484): undefined reference to `VLC_Init'
vlc.c:(.text+0x4b2): undefined reference to `VLC_AddIntf'
vlc.c:(.text+0x4c2): undefined reference to `VLC_CleanUp'
vlc.c:(.text+0x4e3): undefined reference to `VLC_Destroy'
vlc.c:(.text+0x65a): undefined reference to `VLC_Destroy'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Fehler 1
make[2]: Verlasse Verzeichnis »/home/claudio/spielkiste/00035/vlc-trunk«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis »/home/claudio/spielkiste/00035/vlc-trunk«
make: *** [all] Fehler 2
Code: Select all
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
automake (GNU automake) 1.10
autoconf (GNU Autoconf) 2.61
ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06)
GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)
Code: Select all
./configure --enable-libtool --disable-gnome --disable-gtk --disable-familiar --disable-fb --enable-ggi --enable-sdl --enable-esd --enable-qt4 --enable-mad --enable-arts --enable-lirc --enable-a52 --enable-aa --enable-dvbpsi --disable-mozilla --disable-kde --enable-mp4 --enable-dvb --disable-satellite --enable-ogg --enable-vorbis --enable-flac --disable-skins --disable-basic-skins --enable-skins2 --enable-freetype --enable-mkv --enable-speex --enable-caca --enable-live555 --enable-libmpeg2 --enable-fribidi --enable-cdio --enable-mod --enable-theora --enable-modplug --enable-dvdnav --enable-gnutls --enable-ffmpeg --enable-ncurses --enable-smb --disable-gnomevfs --enable-bonjour --enable-mpc --enable-vcd --enable-vcdx --enable-xosd --enable-twolame --enable-notify --enable-faad --enable-mediacontrol-bindings --enable-x264 --enable-alsa --enable-dv --enable-v4l --enable-pvr --enable-svgalib
i've seen the same problem on two other posts:
viewtopic.php?t=28838
viewtopic.php?t=18403
once a guest claims that the ancient gcc version 2.95 has to be used.
one the other one, one tells about success with gcc 4.1.0, while a developer states that gcc < 3.3 are unsupported (and won't do it).
what may i change to get it working (gcc/g++, libtool..., ./configure-settings)?
or: has anyone experienced the same problem? found a solution/the problem?