vls linker problem

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
ktr
New Cone
New Cone
Posts: 2
Joined: 14 Jan 2004 21:54

vls linker problem

Postby ktr » 14 Jan 2004 22:02

Hello Community,

I have tried to compile the current CVS version of vls on a Debian/Woody box.

Compilation works ok -- but linking doesn't work :(

Here is, what make says:

Code: Select all

make[4]: Entering directory `/home/klaus/src/videolan/vls-cvs-2004-01-14/src' /bin/sh ../libtool --mode=link g++-3.3 -Wall -O2 -o vls -export-dynamic $(if test -n "filechannel netchannel filereader ts2ts ps2ts localinput videoinput dummyinterface telnetinterface nativeinterface unixinterface normaltrickplay tcpinput tcpreader v4linput v4lreader raw2ts"; then for m in filechannel netchannel filereader ts2ts ps2ts localinput videoinput dummyinterface telnetinterface nativeinterface unixinterface normaltrickplay tcpinput tcpreader v4linput v4lreader raw2ts; do echo modules/${m}/.libs/${m}.a; done; sed -ne 's/^\('`echo "filechannel netchannel filereader ts2ts ps2ts localinput videoinput dummyinterface telnetinterface nativeinterface unixinterface normaltrickplay tcpinput tcpreader v4linput v4lreader raw2ts" | tr '[a-z]' '[A-Z]' | sed -e 's/ */\\\\|/g'`'\)_LIBADD *= *//p' Makefile; fi) vls-application.o vls-exception.o vls-file.o vls-iso_lang.o vls-lexer.o vls-log.o vls-module.o vls-parsers.o vls-pipe.o vls-reflect.o vls-serialization.o vls-settings.o vls-socket.o vls-string.o vls-system.o vls-thread.o vls-admin.o vls-broadcast.o vls-buffer.o vls-channel.o vls-directory.o vls-input.o vls-interface.o vls-manager.o vls-output.o vls-program.o vls-request.o vls-tsstreamer.o vls-vls.o vls-daemon.o vls-ts.o vls-rtp.o vls-pes.o vls-streamdescr.o vls-reader.o vls-converter.o vls-trickplay.o vls-dvbpsi.o vls-tsdemux.o vls-tsmux.o -ldl -lcrypt -lpthread -ldvbpsi -L/home/klaus/src/ffmpeg-0.4.8/libavcodec /home/klaus/src/ffmpeg-0.4.8/libavcodec/libavcodec.a g++-3.3 -Wall -O2 -o vls vls-application.o vls-exception.o vls-file.o vls-iso_lang.o vls-lexer.o vls-log.o vls-module.o vls-parsers.o vls-pipe.o vls-reflect.o vls-serialization.o vls-settings.o vls-socket.o vls-string.o vls-system.o vls-thread.o vls-admin.o vls-broadcast.o vls-buffer.o vls-channel.o vls-directory.o vls-input.o vls-interface.o vls-manager.o vls-output.o vls-program.o vls-request.o vls-tsstreamer.o vls-vls.o vls-daemon.o vls-ts.o vls-rtp.o vls-pes.o vls-streamdescr.o vls-reader.o vls-converter.o vls-trickplay.o vls-dvbpsi.o vls-tsdemux.o vls-tsmux.o -Wl,--export-dynamic modules/filechannel/.libs/filechannel.a modules/netchannel/.libs/netchannel.a modules/filereader/.libs/filereader.a modules/ts2ts/.libs/ts2ts.a modules/ps2ts/.libs/ps2ts.a modules/localinput/.libs/localinput.a modules/videoinput/.libs/videoinput.a modules/dummyinterface/.libs/dummyinterface.a modules/telnetinterface/.libs/telnetinterface.a modules/nativeinterface/.libs/nativeinterface.a modules/unixinterface/.libs/unixinterface.a modules/normaltrickplay/.libs/normaltrickplay.a modules/tcpinput/.libs/tcpinput.a modules/tcpreader/.libs/tcpreader.a modules/v4linput/.libs/v4linput.a modules/v4lreader/.libs/v4lreader.a modules/raw2ts/.libs/raw2ts.a -ldl -lcrypt -lpthread /usr/local/lib/libdvbpsi.so -L/home/klaus/src/ffmpeg-0.4.8/libavcodec /home/klaus/src/ffmpeg-0.4.8/libavcodec/libavcodec.a -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib modules/filechannel/.libs/filechannel.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make[4]: *** [vls] Error 1 make[4]: Leaving directory `/home/klaus/src/videolan/vls-cvs-2004-01-14/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/klaus/src/videolan/vls-cvs-2004-01-14/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/klaus/src/videolan/vls-cvs-2004-01-14/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/klaus/src/videolan/vls-cvs-2004-01-14' make: *** [all] Error 2 klaus@han-solo:/home/klaus/src/videolan/vls-cvs-2004-01-14 >
I have already tried different versions of gcc -- but until now, I have no idea how to fix this.

Are there any hints?

Best regards,

Klaus

ktr
New Cone
New Cone
Posts: 2
Joined: 14 Jan 2004 21:54

Postby ktr » 15 Jan 2004 16:08

I am sorry for any inconvenience.

After upgrading the libtool and re-running bootstrap the linker worked as expected.

Cheers,

Klaus


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 20 guests