Page 1 of 1
How to build vlc for i486-linux and arm-linux ?
Posted: 08 Mar 2007 15:13
by Franck
Hi,
I search to build vlc source code for either i486-linux target or arm-linux target in the same directory.
In particular, I wish create the following directory tree :
vlc-x.x.x/...
vlc-x.x.x/i486-linux-gnu/debug
vlc-x.x.x/i486-linux-gnu/release
vlc-x.x.x/arm-lin
vlc-x.x.x/i486-linux-gnu/release
But, I have some problems with bootstrap and Makefile of vlc project in order to build vlc in another directory than vlc-x.x.x.
Would you please help me ?
Best regards
Posted: 08 Mar 2007 18:14
by Jean-Baptiste Kempf
Bootstrap in the trunk.
and launch configure with
in your final repository.
I'll do that to have a win32 and a linux one.
Posted: 09 Mar 2007 11:16
by Franck
Thank you for your answer.
In fact, my problem is with the libraries in vlc-x.x.x/extra/contrib/src.
This is the native and cross building process I used :
vlc-x.x.x/bootstrap
cd build/i486-linux-gnu/debug
./../../../configure --disable-mad --disable-ffmpeg --disable-libmpeg2 --disable-wxwidgets --disable-skins2
cd build/arm-linux/debug
./../../../configure --disable-mad --disable-ffmpeg --disable-libmpeg2 --disable-wxwidgets --disable-skins2 CC=arm-linux-gcc --host=arm-linux --target=arm-linux
Now, I want build some libraries in vlc-x.x.x/extra/contrib/src with the process :
In the natif case :
vlc-x.x.x/extra/contrib/boostrap
vlc-x.x.x/extra/contrib/make
In the cross case :
vlc-x.x.x/extra/contrib/boostrap arm-linux
vlc-x.x.x/extra/contrib/make
But, the problem is the library are installed in vlc-x.x.x/extras/contrib/lib.
I try the following process :
dev@barcelone:~/workspace/vlc-0.8.6a/build/i486-linux-gnu/debug$ make -f ./../../../extras/contrib/Makefile
'make bin' isn't functional at the moment,
running 'make src' instead...
make src
make[1]: entrant dans le répertoire « /home/dev/workspace/vlc-0.8.6a/build/i486-linux-gnu/debug »
make[1]: Rien à faire pour « src ».
make[1]: quittant le répertoire « /home/dev/workspace/vlc-0.8.6a/build/i486-linux-gnu/debug »
dev@barcelone:~/workspace/vlc-0.8.6a/build/i486-linux-gnu/debug$
I think I have to modify some Makefiles in vlc-x.x.x/extras/contrib/, but I have some problems to understand the first error with "src".
Would you please help me to resolve this problem ?
Best regards
Posted: 13 Mar 2007 17:24
by Rémi Denis-Courmont
As far as I know, automake can only handle ONE level of subdirectory, i.e. you can build from the source directory, of from a direct subdirectory, but not from a subsubdir or further.
Posted: 13 Mar 2007 17:56
by Franck
Thank you for your respons.
I find a solution to my problem with some small changes in Makefile.
Re:
Posted: 21 Dec 2008 01:14
by diamondblast
Thank you for your respons.
I find a solution to my problem with some small changes in Makefile.
hey Frank...
can you publish your findings
it might be very useful for me...
thanks i hope it's not too trouble