[<<][davinci][>>][..]
Wed Jul 8 10:38:56 CEST 2009

more VLC build problems

/bin/sh ../../libtool --tag=CC --mode=link arm-linux-gcc
-Wsign-compare -Wall -Os -march=armv5te
-I/opt/src/neuros/linux-davinci-2.6/include
-I/opt/src/neuros/toolchains/default/target/usr/include -msoft-float
-mlittle-endian -I/opt/src/neuros/vlc/extras/contrib/include -pipe
-Wl,-z,defs -Wl,-z,defs -L/opt/src/neuros/vlc/extras/contrib/lib -o
libaccess_file_plugin.so libaccess_file_plugin.a -g -shared -lpthread
-fpic -fPIC -u vlc_entry__0_8_7neuros


../../libtool: line 847: X--tag=CC: command not found
../../libtool: line 880: libtool: ignoring unknown tag : command not found
../../libtool: line 847: X--mode=link: command not found
../../libtool: line 1014: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 1015: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../libtool: line 2259: X-Wsign-compare: command not found
../../libtool: line 2259: X-Wall: command not found
../../libtool: line 2259: X-Os: command not found
../../libtool: line 2094: X-march=armv5te: command not found
../../libtool: line 2259: X-I/opt/src/neuros/linux-davinci-2.6/include: No such file or directory
../../libtool: line 2259: X-I/opt/src/neuros/toolchains/default/target/usr/include: No such file or directory
../../libtool: line 2094: X-msoft-float: command not found
../../libtool: line 2094: X-mlittle-endian: command not found
../../libtool: line 2259: X-I/opt/src/neuros/vlc/extras/contrib/include: No such file or directory
../../libtool: line 2259: X-pipe: command not found
../../libtool: line 2222: X-Wl,-z,defs: command not found
X: user not authorized to run the X server, aborting.
../../libtool: line 2222: X-Wl,-z,defs: command not found
X: user not authorized to run the X server, aborting.
../../libtool: line 1973: X-L/opt/src/neuros/vlc/extras/contrib/lib: No such file or directory
../../libtool: line 2259: X-g: command not found
../../libtool: line 2259: X-shared: command not found
../../libtool: line 2259: X-fpic: command not found
../../libtool: line 2259: X-fPIC: command not found
../../libtool: line 2259: X-u: command not found
../../libtool: line 2398: Xvlc_entry__0_8_7neuros: command not found
../../libtool: line 2428: Xlibaccess_file_plugin.so: command not found
X: user not authorized to run the X server, aborting.
../../libtool: line 2440: Xlibaccess_file_plugin.so: command not found
../../libtool: line 2448: mkdir /.libs: No such file or directory
mkdir: cannot create directory `/.libs': Permission denied
make[5]: *** [libaccess_file_plugin.so] Error 1
make[5]: Leaving directory `/opt/debian-i386/opt/src/neuros/vlc/vlc-build-davinci/modules/access'  

I suspect this is due to mismatch between libtool used to compile the
deps and the downgraded libtool used to compile VLC.  Let's rebuild.

tom@zni:/opt/src/neuros/vlc/extras$ find -name ltmain.sh
./contrib/src/flac/ltmain.sh
./contrib/src/libtheora/ltmain.sh
./contrib/src/libmad/ltmain.sh
./contrib/src/faad2/ltmain.sh
./contrib/src/libpng/ltmain.sh
./contrib/src/lame/ltmain.sh
./contrib/src/libogg/ltmain.sh
./contrib/src/tremor/ltmain.sh
./contrib/src/faac/ltmain.sh
./contrib/src/libid3tag/ltmain.sh
./contrib/src/a52dec/autotools/ltmain.sh
./contrib/src/libdvbpsi/autotools/ltmain.sh


for i in `find -name libtool`; do echo; echo $i; $i --version |grep ltmain; done

there's one that's still at 2.2.3 (libpng):
./vlc/extras/contrib/src/libpng/libtool
ltmain.sh (GNU libtool 1.2971 2008-04-29) 2.2.3a

ltmain.sh v 2.2.3.a seems to be included in the tarball.


so, summary upto now:

  - first problem is solved by downgrade to 1.5.26 Debian 1.5.26-4
    (1.1220.2.493 2008/02/01 16:58:18)

  - second problem is a known issue [1]


According to jpsaman the following version works:
libtool 1.5.24 (1.1220.2.456 2007/06/24 02:25:32) 

Trying the version from etch:
http://packages.debian.org/etch/amd64/libtool/download
ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06)

Then in vlc/
rm -rf autotools                # make distclean doesn't do this!
./bootstrap

Hmm.. this still gives the same problem.  Let's read that thread[1]
again..  Apparently the problem there is different versions of libtool
in the build..  Probably the same as what's happening here.


[1] http://www.mail-archive.com/libtool@gnu.org/msg10239.html



[Reply][About]
[<<][davinci][>>][..]