cvs version of vls doesn't compile

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.
armand

cvs version of vls doesn't compile

Postby armand » 06 Apr 2004 17:15

running make (after ./configure) gives some errors:

# make
make all-recursive
make[1]: Entering directory `/usr/src/VideoLAN/cvs/vls'
Making all in src
make[2]: Entering directory `/usr/src/VideoLAN/cvs/vls/src'
rm -f server/vls_builtins.cpp
echo "" >> server/vls_builtins.cpp
make all-recursive
make[3]: Entering directory `/usr/src/VideoLAN/cvs/vls/src'
Making all in modules
make[4]: Entering directory `/usr/src/VideoLAN/cvs/vls/src/modules'
Making all in asiinput
make[5]: Entering directory `/usr/src/VideoLAN/cvs/vls/src/modules/asiinput'
make[5]: Leaving directory `/usr/src/VideoLAN/cvs/vls/src/modules/asiinput'
Making all in asireader
make[5]: Entering directory `/usr/src/VideoLAN/cvs/vls/src/modules/asireader'
make[5]: Leaving directory `/usr/src/VideoLAN/cvs/vls/src/modules/asireader'
Making all in dummyinterface
make[5]: Entering directory `/usr/src/VideoLAN/cvs/vls/src/modules/dummyinterface'
make[6]: Entering directory `/usr/src/VideoLAN/cvs/vls/src/modules/dummyinterface'
source='dummyinterface.cpp' object='dummyinterface_la-dummyinterface.lo' libtool=yes \
depfile='.deps/dummyinterface_la-dummyinterface.Plo' tmpdepfile='.deps/dummyinterface_la-dummyinterface.TPlo' \
depmode=gcc3 /bin/sh ../../../autotools/depcomp \
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static -Wall -O2 -c -o dummyinterface_la-dummyinterface.lo `test -f 'dummyinterface.cpp' || echo './'`dummyinterface.cpp
../../../libtool: line 1: s%^.*/%%: No such file or directory
../../../libtool: line 1: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
../../../libtool: line 1: -e: command not found
: compile: cannot determine name of library object from `'
make[6]: *** [dummyinterface_la-dummyinterface.lo] Error 1
make[6]: Leaving directory `/usr/src/VideoLAN/cvs/vls/src/modules/dummyinterface'
make[5]: *** [all-local] Error 2
make[5]: Leaving directory `/usr/src/VideoLAN/cvs/vls/src/modules/dummyinterface'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/VideoLAN/cvs/vls/src/modules'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/VideoLAN/cvs/vls/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/VideoLAN/cvs/vls/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/VideoLAN/cvs/vls'
make: *** [all] Error 2


./configure with v4l and ffmpeg seems to be OK:

global configuration
--------------------
system : linux-gnu
architecture : i686
debug : 0
profiling : 0

vls configuration
-----------------
vls version : 0.5.5-cvs
debug mode : 0
system logging : 1
daemon mode : 1
built-in modules : filechannel netchannel filereader ts2ts ps2ts localinput videoinput dummyinterface telnetinterface nativeinterface unixinterface normaltrickplay tcpinput tcpreader v4linput v4lreader raw2ts
plug-in modules : pvrreader dvdreader

Does anybody have any clue as to what went wrong?

armand

unresolved references

Postby armand » 07 Apr 2004 17:17

So I´ll answer my own problem.............
$SED and $max_cmd_len were not defined!!!
After I set them by hand in the makefile I could compile most of the subdirectories
(some I had to redo because the .o target was thrown away and the subsequent 'mv' to the .libs subdirectory failed.......)

Now, almost at the end I get some unresolved references.

Where can I find "inflateReset" etc.?

make[4]: Entering directory `/usr/src/VideoLAN/cvs/vls/src'
/bin/sh ../libtool --mode=link g++ -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/usr/src/VideoLAN/cvs/ffmpeg//libavcodec /usr/src/VideoLAN/cvs/ffmpeg//libavcodec/libavcodec.a -ldvdread
g++ -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 -lcrypt -lpthread /usr/local/lib/libdvbpsi.so -L/usr/src/VideoLAN/cvs/ffmpeg//libavcodec /usr/src/VideoLAN/cvs/ffmpeg//libavcodec/libavcodec.a /usr/local/lib/libdvdread.so -ldl -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/src/VideoLAN/cvs/ffmpeg//libavcodec/libavcodec.a(lcl.o): In function `decode_frame':
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:272: undefined reference to `inflateReset'
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:284: undefined reference to `inflate'
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:293: undefined reference to `inflateReset'
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:302: undefined reference to `inflate'
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:316: undefined reference to `inflate'
/usr/src/VideoLAN/cvs/ffmpeg//libavcodec/libavcodec.a(lcl.o): In function `encode_frame':
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:565: undefined reference to `deflateReset'
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:575: undefined reference to `deflate'
/usr/src/VideoLAN/cvs/ffmpeg//libavcodec/libavcodec.a(lcl.o): In function `decode_init':
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:726: undefined reference to `inflateInit_'
/usr/src/VideoLAN/cvs/ffmpeg//libavcodec/libavcodec.a(lcl.o): In function `encode_init':
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:794: undefined reference to `deflateInit_'
/usr/src/VideoLAN/cvs/ffmpeg//libavcodec/libavcodec.a(lcl.o): In function `decode_end':
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:828: undefined reference to `inflateEnd'
/usr/src/VideoLAN/cvs/ffmpeg//libavcodec/libavcodec.a(lcl.o): In function `encode_end':
/usr/src/VideoLAN/cvs/ffmpeg/libavcodec/lcl.c:848: undefined reference to `deflateEnd'


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 34 guests