Build VLC media player under Ubuntu Hardy (8.04)

28 March 2008

This post is an update of the popular howto for Build VLC with feisty.

Introduction

So we are going to build the latest VLC possible.

Everything will be done in a console/terminal and should be straight-forward. Every question should be asked on the forum, or in the comments here.

Conventions

Every line beginning with a # should be done as root, or using the sudo command. Every line beginning witha % is a normal line.

Building VLC

Prepare your environment

We need a few package starting from a fresh hardy:


# apt-get install vlc
# apt-get build-dep vlc 
# apt-get install cvs build-essential subversion git git-core automake1.9 libtool
# apt-get install libgcrypt-dev
# apt-get install libfaad-dev libtwolame-dev libqt4-dev libjack-dev 
# apt-get install libxpm-dev libcddb2-dev liblua5.1-0-dev libzvbi-dev libshout-dev

Checkout VLC trunk and bootstrap the tree


% git clone git://git.videolan.org/vlc.git

% cd vlc
% ./bootstrap

Build x264

x264

x264 is a library to encode movies in H.264.


% cd extras/
%
% git clone git://git.videolan.org/x264.git
% cd x264
% make
% sudo make install
% cd ../..

Configure VLC

Configure

 
% mkdir build; cd build;
%../configure --prefix=/usr \
        --enable-snapshot --enable-debug \
        --enable-dbus-control --enable-musicbrainz \
        --enable-shared-libvlc --enable-mozilla \
        --enable-lirc \
        --with-ffmpeg-tree=../extras/ffmpeg \
        --enable-x264 --with-x264-tree=../extras/x264 \
        --enable-shout --enable-taglib \
        --enable-v4l  \
        --enable-dvb  \
        --enable-realrtsp --disable-xvmc \
        --enable-svg   --enable-dvdread \
        --enable-dc1394 --enable-dv \
        --enable-theora --enable-faad \
        --enable-twolame --enable-real \
        --enable-flac --enable-tremor \
        --enable-skins2 --enable-qt4 \
        --enable-ncurses \
        --enable-aa --enable-caca \
        --enable-esd --disable-portaudio \
        --enable-jack --enable-xosd \
        --enable-galaktos --enable-goom \
        --enable-ggi \
        --disable-cddax --disable-vcdx \
       --disable-quicktime --enable-lua

Finish


% make

You just have to wait a bit :D

Jean-Baptiste Kempf

Comments

  1. On 23 May 23230, 2:41 by mirc

    I think dosent work guys ,, can u check pls ? thanx ..

  2. On 9 May 9090, 2:32 by id3210

    Hi, folks
    if you have no >=QT 4.5.1 installed, then goto https://launchpad.net/~c-korn/+arch… , and follow instructions, how to download it. Also, there is numerous other downloads for vlc build.

    i follow these steps, and get new QT version, ubuntu 9.04

  3. On 1 May 1010, 10:14 by venkat

    Hi folks,
    I am not a ubuntu geek. I followed the whole tutorial on my ubuntu machine. Every step finished successfully except for the “make” in the last step. It said there is no make file and it stopped.

    Any help…

  4. On 31 May 31310, 11:20 by Feo

    I have the same problem(

  5. On 10 May 10100, 6:25 by Mdr

    I am also getting the same kind of error on ..Configure step. Any solution?????

  6. On 7 May 7070, 12:49 by howcome

    I get to the configure stage in vlc/build. There I get this error:

    checking for buggy GNU/libc versions… found
    configure: error: Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable work-around for this. Check with your distribution vendor on how to update the glibc run-time.

    Help appreciated.

  7. On 5 May 5050, 5:39 by JBK

    Run ./vlc in build dir.

  8. On 5 May 5050, 2:29 by boshi

    hi
    i made vlc complete and i didn’t get any error. then what should i do to execute it? where is the executable file that i have made?

  9. On 11 May 11110, 5:43 by miti

    Hi
    I’ve got problem with using git over a proxy server in ubuntu which blocks me to compile vlc. Any help would be appreciated.

  10. On 15 May 15150, 6:03 by ku

    jan, i get the same error with libmux_ts_plugin_la-ts.lo
    how did you solve it?

  11. On 3 May 3030, 11:59 by helpdeskdan

    I also had to install libdvbpsi5-0.1.6.tar.gz to make it work correctly.

  12. On 3 May 3030, 10:42 by helpdeskdan

    Had to compile a newer nasm to make x264 compile

  13. On 16 May 16160, 8:21 by jan

    hi meow, do u able to compile using older version vlc? 0.8.6e?

  14. On 15 May 15150, 4:56 by meow

    ive followed your guide so far and a have had trouble with the configure, x26x isnt recognized for some reason, i have tried installing it from the repos (jaunty(yes im using hardy))
    here
    "
    checking for x264.h in /home/meow/Program Files/vlc-1.0.0-git/extras/x264… ../configure: line 54899: test: /home/meow/Program: binary operator expected
    no
    configure: error: the specified tree doesn’t have x264.h
    meow@Nebula-Class:~/Program Files/vlc-1.0.0-git/build$
    "
    dont know whats wrong :/

  15. On 11 May 11110, 8:08 by jan

    Ok. i’ve done with make install. However the problem i cant transcode it using ffmpeg. it give me segmentation fault and it crashes. :( any ideas? even when i try to stream via mmsh, rtsp.

  16. On 11 May 11110, 3:54 by jan

    Thanks. but got this another error.
    In file included from ../../../../include/vlc_common.h:500,
    from ../../../../modules/mux/mpeg/ts.c:37:
    ../../../../include/vlc_mtime.h:80: warning: ‘error’ attribute directive ignored
    ../../../../include/vlc_mtime.h:90: warning: ‘warning’ attribute directive ignored
    ../../../../include/vlc_mtime.h:108: warning: ‘error’ attribute directive ignored
    ../../../../modules/mux/mpeg/ts.c: In function ‘FixPES’:
    ../../../../modules/mux/mpeg/ts.c:1771: warning: unused parameter ‘p_mux’
    ../../../../modules/mux/mpeg/ts.c: In function ‘TSNew’:
    ../../../../modules/mux/mpeg/ts.c:2008: warning: unused parameter ‘p_mux’
    ../../../../modules/mux/mpeg/ts.c: In function ‘PEStoTS’:
    ../../../../modules/mux/mpeg/ts.c:2226: warning: unused parameter ‘p_sout’
    ../../../../modules/mux/mpeg/ts.c: In function ‘WritePSISection’:
    ../../../../modules/mux/mpeg/ts.c:2318: warning: unused parameter ‘p_sout’
    ../../../../modules/mux/mpeg/ts.c: In function ‘GetPMT’:
    ../../../../modules/mux/mpeg/ts.c:2464: error: implicit declaration of function ‘dvbpsi_SDTServiceAddDescriptor’
    make[6]: *** [libmux_ts_plugin_la-ts.lo] Error 1
    make[6]: Leaving directory /home/dvbh/vlc/build/modules/mux/mpeg' make[5]: *** [all] Error 2 make[5]: Leaving directory /home/dvbh/vlc/build/modules/mux/mpeg’
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory /home/dvbh/vlc/build/modules/mux' make[3]: *** [all] Error 2 make[3]: Leaving directory /home/dvbh/vlc/build/modules/mux’
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory /home/dvbh/vlc/build/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/dvbh/vlc/build’
    make: *** [all] Error 2

  17. On 10 May 10100, 3:10 by JBK

    make clean, make in src/

  18. On 10 May 10100, 10:27 by jan

    Hi JBK, it was a great guides. however i got this error saying tat “../../src/libvlc.so not found”. Can i download it from other source?

    thanks.

  19. On 1 May 1010, 11:56 by JBK

    Add –disable-zvbi to the configure line.

  20. On 1 May 1010, 6:30 by Tesla

    i’m getting just the same error as eclipsemountain in post #30. Have no idea what to do about it. any ideas?

  21. On 11 May 11110, 3:54 by eclipsemountain

    Hi…. I was trying to apply this procedure, but I found a problem on the final “make”. I get this error:

    In file included from ../../../include/vlc_common.h:500,
    from ../../../modules/codec/zvbi.c:44:
    ../../../include/vlc_mtime.h:80: warning: ‘error’ attribute directive ignored
    ../../../include/vlc_mtime.h:90: warning: ‘warning’ attribute directive ignored
    ../../../include/vlc_mtime.h:108: warning: ‘error’ attribute directive ignored
    ../../../modules/codec/zvbi.c: In function ‘EventKey’:
    ../../../modules/codec/zvbi.c:683: error: implicit declaration of function ‘vbi_bcd_digits_greater’
    make[5]: *** [libzvbi_plugin_la-zvbi.lo] Error 1

    Anyone knows how to fix it?

    Thanks

  22. On 31 May 31310, 10:04 by aef110

    Hello,

    I just discovered that these instructions won’t work for Ubuntu 8.10 (“Couldn’t find package build-dep”). Have I neglected to enable a repository?

    Or may I request instructions on compiling VLC under 8.10?

    Many thanks!

  23. On 10 May 10100, 10:17 by ying

    Hi,
    I am following the above steps to compile vlc.

    But i am getting this error:
    checking for x264.h in /home/ying/src/vlc-0.9.4/extras/x264… yes
    checking for X264… no
    configure: error: the specified tree hasn’t been compiled

    but I did compile extra/x264 and there is a x264 executable under etc/x264.

    Please let me know how can i fix my problem.

  24. On 15 May 15150, 1:02 by dreamnid

    For those having problems with yasm not being detected, when running the configure w/ the x264: refer to http://ubuntuforums.org/showthread….

    Essentially, the yasm package in the repo is too old, so you have to compile your own.

  25. On 14 May 14140, 4:37 by worthless

    Hi,

    Thank you for a good howto. I had some exciting problems to work around I thought I’d share.

    Ocram: yasm didn’t work for me either, so I removed it and installed nasm instead – worked fine.

    apt-get build-dep vlc did not work for me because of a dependency bug on libsound2-dev vs. libsound2 (and it gives the extremely descriptive error message: “Build-dependencies for vlc could not be satisfied.”). If you get this problem “apt-cache showsrc vlc” will show you the actual dependencies, and trying them showed that libsound2-dev required a specific (slightly older) version of libsound2, so i downgraded to that one with apt-get install libsound2=.

    The version of liveMedia in Ubuntu was too old, had to get a new one from www.live555.com/liveMedia , compile it in extras and supply configure with –with-live555-tree=../extras/live

    The version of speex in Ubuntu was too old, had to get a new one from www.speex.org , compile it in extras and supply configure with –with-speex-tree=../extras/live

  26. On 23 May 23230, 2:13 by Hackeron

    I’m getting:

    /usr/bin/ld: /usr/local/lib/libx264.a(cabac-a.o): relocation R_X86_64_32 against x264\_cabac\_range\_lps' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libx264.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[5]: *** [libx264\_plugin.la] Error 1 make[5]: Leaving directory /root/fusecctv-dist/dist/multimedia/vlc/build/modules/codec’
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory /root/fusecctv-dist/dist/multimedia/vlc/build/modules/codec' make[3]: *** [all] Error 2 make[3]: Leaving directory /root/fusecctv-dist/dist/multimedia/vlc/build/modules/codec’
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory /root/fusecctv-dist/dist/multimedia/vlc/build/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /root/fusecctv-dist/dist/multimedia/vlc/build’
    make: *** [all] Error 2

    I tried recompiling x264 with -fPIC – didn’t help :(

  27. On 21 May 21210, 12:43 by JBK

    Giulia, mail me in private the messages. :D

  28. On 18 May 18180, 9:33 by giulia

    Hi
    vlc was working for me in ubuntu 7. Since I updated to 8 it plays the MOV files but with no sound. I followed your instructions and everything worked fine, but still no sound… Any idea ? thanks !
    giulia

  29. On 4 May 4040, 4:03 by Hector

    Need to add extra apt source?
    Why i failed to fetch dependences?
    hector@hector-laptop:~$ sudo apt-get build-dep vlc
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Build-dependencies for vlc could not be satisfied.

    Here is my apt list:
    Ign http://ppa.launchpad.net intrepid Release.gpg
    Ign http://ppa.launchpad.net intrepid/main Translation-en_US
    Hit http://playonlinux.botux.net hardy Release.gpg
    Ign http://playonlinux.botux.net hardy/main Translation-en_US
    Ign http://ppa.launchpad.net hardy Release.gpg
    Ign http://ppa.launchpad.net hardy/main Translation-en_US
    Get:1 http://ppa.launchpad.net intrepid Release [27.6kB]
    Hit http://playonlinux.botux.net hardy Release
    Hit http://archive.ubuntu.com hardy Release.gpg
    Ign http://archive.ubuntu.com hardy/main Translation-en_US
    Get:2 http://ppa.launchpad.net hardy Release [27.6kB]
    Ign http://playonlinux.botux.net hardy/main Packages
    Ign http://archive.ubuntu.com hardy/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy/universe Translation-en_US
    Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
    Hit http://archive.ubuntu.com hardy-security Release.gpg
    Ign http://archive.ubuntu.com hardy-security/main Translation-en_US
    Ign http://archive.ubuntu.com hardy-security/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy-security/universe Translation-en_US
    Hit http://packages.medibuntu.org hardy Release.gpg
    Ign http://packages.medibuntu.org hardy/free Translation-en_US
    Hit http://playonlinux.botux.net hardy/main Packages
    Ign http://archive.ubuntu.com hardy-security/multiverse Translation-en_US
    Hit http://archive.ubuntu.com hardy-updates Release.gpg
    Ign http://archive.ubuntu.com hardy-updates/main Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates/universe Translation-en_US
    Ign http://packages.medibuntu.org hardy/non-free Translation-en_US
    Hit http://packages.medibuntu.org hardy Release
    Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-en_US
    Hit http://archive.ubuntu.com hardy-proposed Release.gpg
    Ign http://archive.ubuntu.com hardy-proposed/main Translation-en_US
    Ign http://archive.ubuntu.com hardy-proposed/restricted Translation-en_US
    Hit http://packages.medibuntu.org hardy/free Packages
    Ign http://archive.ubuntu.com hardy-proposed/universe Translation-en_US
    Ign http://archive.ubuntu.com hardy-proposed/multiverse Translation-en_US
    Get:3 http://archive.ubuntu.com hardy-backports Release.gpg [189B]
    Ign http://archive.ubuntu.com hardy-backports/main Translation-en_US
    Ign http://archive.ubuntu.com hardy-backports/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy-backports/universe Translation-en_US
    Ign http://archive.ubuntu.com hardy-backports/multiverse Translation-en_US
    Hit http://packages.medibuntu.org hardy/non-free Packages
    Hit http://archive.ubuntu.com hardy Release
    Hit http://archive.ubuntu.com hardy-security Release
    Ign http://ppa.launchpad.net intrepid/main Packages
    Ign http://ppa.launchpad.net intrepid/main Sources
    Hit http://archive.ubuntu.com hardy-updates Release
    Hit http://archive.ubuntu.com hardy-proposed Release
    Get:4 http://archive.ubuntu.com hardy-backports Release [44.0kB]
    Ign http://ppa.launchpad.net hardy/main Packages
    Ign http://ppa.launchpad.net hardy/main Sources
    Hit http://ppa.launchpad.net intrepid/main Packages
    Hit http://ppa.launchpad.net intrepid/main Sources
    Get:5 http://ppa.launchpad.net hardy/main Packages [6591B]
    Hit http://archive.ubuntu.com hardy/main Packages
    Hit http://archive.ubuntu.com hardy/restricted Packages
    Hit http://archive.ubuntu.com hardy/universe Packages
    Hit http://archive.ubuntu.com hardy/multiverse Packages
    Hit http://archive.ubuntu.com hardy/main Sources
    Hit http://archive.ubuntu.com hardy/restricted Sources
    Hit http://archive.ubuntu.com hardy/universe Sources
    Hit http://archive.ubuntu.com hardy/multiverse Sources
    Hit http://archive.ubuntu.com hardy-security/main Packages
    Hit http://archive.ubuntu.com hardy-security/restricted Packages
    Get:6 http://ppa.launchpad.net hardy/main Sources [1630B]
    Hit http://archive.ubuntu.com hardy-security/universe Packages
    Hit http://archive.ubuntu.com hardy-security/multiverse Packages
    Hit http://archive.ubuntu.com hardy-security/main Sources
    Hit http://archive.ubuntu.com hardy-security/restricted Sources
    Hit http://archive.ubuntu.com hardy-security/universe Sources
    Hit http://archive.ubuntu.com hardy-security/multiverse Sources
    Hit http://archive.ubuntu.com hardy-updates/main Packages
    Hit http://archive.ubuntu.com hardy-updates/restricted Packages
    Hit http://archive.ubuntu.com hardy-updates/universe Packages
    Hit http://archive.ubuntu.com hardy-updates/multiverse Packages
    Hit http://archive.ubuntu.com hardy-updates/main Sources
    Hit http://archive.ubuntu.com hardy-updates/restricted Sources
    Hit http://archive.ubuntu.com hardy-updates/universe Sources
    Hit http://archive.ubuntu.com hardy-updates/multiverse Sources
    Hit http://archive.ubuntu.com hardy-proposed/main Packages
    Hit http://archive.ubuntu.com hardy-proposed/restricted Packages
    Hit http://archive.ubuntu.com hardy-proposed/universe Packages
    Hit http://archive.ubuntu.com hardy-proposed/multiverse Packages
    Hit http://archive.ubuntu.com hardy-proposed/main Sources
    Hit http://archive.ubuntu.com hardy-proposed/restricted Sources
    Hit http://archive.ubuntu.com hardy-proposed/universe Sources
    Hit http://archive.ubuntu.com hardy-proposed/multiverse Sources
    Get:7 http://archive.ubuntu.com hardy-backports/main Packages [53.0kB]
    Get:8 http://archive.ubuntu.com hardy-backports/restricted Packages [14B]
    Get:9 http://archive.ubuntu.com hardy-backports/universe Packages [21.2kB]
    Get:10 http://archive.ubuntu.com hardy-backports/multiverse Packages [3012B]
    Get:11 http://archive.ubuntu.com hardy-backports/main Sources [7804B]
    Get:12 http://archive.ubuntu.com hardy-backports/restricted Sources [14B]
    Get:13 http://archive.ubuntu.com hardy-backports/universe Sources [6515B]
    Get:14 http://archive.ubuntu.com hardy-backports/multiverse Sources [1237B]

  30. On 28 May 28280, 2:05 by Ocram

    I have problems with compiling the x264.

    cd extras/

    git clone git://git.videolan.org/x264.git

    Initialized empty Git repository in /afs1/uploads/vlc/extras/x264/.git/
    remote: Generating pack…
    remote: Done counting 6158 objects.
    remote: Deltifying 6158 objects…
    remote: 100% (6158/6158) done
    remote: Total 6158 (delta 4870), reused 0 (delta 0)
    Receiving objects: 100% (6158/6158), 1.51 MiB | 636 KiB/s, done.
    Resolving deltas: 100% (4870/4870), done.

    cd x264/

    make

    Makefile:3: config.mak: No such file or directory
    ./configure
    No suitable assembler found. Install ‘yasm’ to get MMX/SSE optimized code.
    If you really want to compile without asm, configure with –disable-asm.
    make: *** [config.mak] Error 1

    I have yasm installed:

    type yasm
    yasm is a tracked alias for /usr/bin/yasm

  31. On 27 May 27270, 1:52 by aef110

    Thanks; I tried again and it compiled successfully this time!

  32. On 25 May 25250, 8:03 by JBK

    Try to reconfigure and make clean.

    This shouldn’t happen in GIt HEAD.

  33. On 24 May 24240, 6:19 by aef110

    After much trial and error I had to copy the ffmpeg folder from my 7.10 install to 8.04. Then I was able to compile vlc.

    However, ‘make’ returns the following output:

    /usr/bin/ld: cannot find -lvlccore
    collect2: ld returned 1 exit status
    libtool: install: error: relink libvlc.la' with the above command before installing it make[4]: *** [install-libLTLIBRARIES] Error 1 make[4]: Leaving directory /home/albert/vlc/build/src’
    make[3]: *** [install-am] Error 2
    make[3]: Leaving directory /home/albert/vlc/build/src' make[2]: *** [install] Error 2 make[2]: Leaving directory /home/albert/vlc/build/src’
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/albert/vlc/build’
    make: *** [install] Error 2

    I’m stuck now and would be grateful for help. Many thanks in advance!

  34. On 21 May 21210, 2:21 by JBK

    Yes, you can. Use all the caching options.

  35. On 20 May 20200, 7:00 by Alexandre Gontijo Rabelo

    So, Can I change the size buffer of the MPEG 4 transmission in the source code? Or, is possible change in the configuration of the program without recompile?

  36. On 17 May 17170, 6:41 by dionysos23

    Thanks for the HowTo. The tree for ffmpeg did not work for me either, I had to do it like ECN above….

  37. On 9 May 9090, 10:17 by JBK

    I am interesting in how to reproduce that bug. Please share it!

  38. On 7 May 7070, 9:34 by sasch

    Hi Jean-Baptiste,
    i have compiled it. But when i start the playlist vlc abortet. Over the terminal this comes:

    ASSERT: “logicalIndex >= 0” in file itemviews/qheaderview.cpp, line 1215
    Aborted

    Greets from Hamburg
    Sasch

  39. On 30 May 30300, 12:08 by ECN

    In order to compile it without errors I had to take out the tree- specifiction for instance:

    –with-ffmpeg-tree=../extras/ffmpeg

    ../configure –prefix=/usr –enable-snapshot –enable-debug –enable-dbus-control –enable-musicbrainz –enable-shared-libvlc –enable-mozilla –enable-lirc –enable-x264 –with-x264-tree=../extras/x264 –enable-shout –enable-taglib –enable-v4l –enable-dvb –enable-realrtsp –disable-xvmc –enable-svg –enable-dvdread –enable-dc1394 –enable-dv –enable-theora –enable-faad –enable-twolame –enable-real –enable-flac –enable-tremor –enable-skins2 –enable-qt4 –enable-ncurses –enable-aa –enable-caca –enable-esd –disable-portaudio –enable-jack –enable-xosd –enable-galaktos –enable-goom –enable-ggi –disable-cddax –disable-vcdx –disable-quicktime –enable-lua

    And then it went ok, is it normal?

  40. On 29 May 29290, 6:36 by TK

    Thank you, seemed to have worked just fine.

  41. On 27 May 27270, 11:04 by JBK

    Give me MORE details if you want help.

  42. On 26 May 26260, 6:14 by spud

    ffmpeg is not being seen and I can mot cinfigure it in the eXtras folder a how to for ffmpeg is a MUSTit was in your fist post on 7.04 followed it but it will not config

  43. On 26 May 26260, 7:42 by spud

    this did not work for me followed the steps all the way to the end.when I ran the make command said no make file stop any ideas what went wrong

  44. On 18 May 18180, 9:02 by will

    p.s. would you consider posting this on the ubuntu forums? I looked for a long time and was never successful at getting a working install before this. It certainly does not work over the network when you just use the synaptic to install

  45. On 18 May 18180, 8:57 by will

    I can’t thank you enough for this post. Before following these instructions every time i went to play anything over my network including dvr.ms f iles it was choppy to the point of being unwatchable. The only thing that did not work for me was the final % make command. but everything seems to working despite that.

  46. On 16 May 16160, 12:53 by JBK

    Yes, x264 and VLC moved to Git.

    The HowTo should be good.

  47. On 13 May 13130, 10:30 by mariuz

    sorry for the above post

    ok now is fixed i compiled on hardy and all went ok

    http://mapopa.blogspot.com/2008/04/…

  48. On 11 May 11110, 6:19 by mariuz

    i have the same problem with compiling on hardy

    dget -x http://nightlies.videolan.org/build…
    then doing the
    debuild -i

  49. On 10 May 10100, 6:16 by mariuz

    x264 is moved to git seems
    so replace the svn checkout with this

    git clone git://git.videolan.org/x264.git

  50. On 1 May 1010, 9:26 by quentusrex

    I get the following errors even though I configured ffmpeg to build shared libs:

    /usr/share/svn/vlc/extras/ffmpeg/libavutil/mem.h:45:27: warning: “__GNU__” is not defined
    /usr/share/svn/vlc/extras/ffmpeg/libavutil/mem.h:45:42: warning: “__GNU__” is not defined
    /usr/share/svn/vlc/extras/ffmpeg/libavutil/mem.h:51:27: warning: “__GNU__” is not defined
    /usr/share/svn/vlc/extras/ffmpeg/libavutil/mem.h:51:42: warning: “__GNU__” is not defined
    /bin/sh ../../../libtool –tag=CC –mode=link gcc -std=gnu99 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath ‘/usr/lib/vlc/codec’ -avoid-version -module -no-undefined -shrext .so -export-dynamic -o libffmpeg_plugin.la -rpath ‘/usr/lib/vlc/codec’ -avoid-version -module -no-undefined -shrext .so -export-dynamic top\_builddir="../../.." ../../../vlc-config --ldflags plugin ffmpeg libffmpeg_plugin_la-ffmpeg.lo libffmpeg_plugin_la-video.lo libffmpeg_plugin_la-audio.lo libffmpeg_plugin_la-video_filter.lo libffmpeg_plugin_la-deinterlace.lo libffmpeg_plugin_la-chroma.lo libffmpeg_plugin_la-encoder.lo libffmpeg_plugin_la-postprocess.lo libffmpeg_plugin_la-demux.lo libffmpeg_plugin_la-mux.lo libffmpeg_plugin_la-scale.lo ../../../src/libvlc.la top\_builddir="../../.." ../../../vlc-config -libs plugin ffmpeg

    *** Warning: Linking the shared library libffmpeg_plugin.la against the
    *** static library /usr/share/svn/vlc/extras/ffmpeg/libavformat/libavformat.a is not portable!

    *** Warning: Linking the shared library libffmpeg_plugin.la against the
    *** static library /usr/share/svn/vlc/extras/ffmpeg/libavcodec/libavcodec.a is not portable!

    *** Warning: Linking the shared library libffmpeg_plugin.la against the
    *** static library /usr/share/svn/vlc/extras/ffmpeg/libavutil/libavutil.a is not portable!

    *** Warning: Linking the shared library libffmpeg_plugin.la against the
    *** static library /usr/share/svn/vlc/extras/ffmpeg/libpostproc/libpostproc.a is not portable!
    gcc -std=gnu99 -shared .libs/libffmpeg_plugin_la-ffmpeg.o .libs/libffmpeg_plugin_la-video.o .libs/libffmpeg_plugin_la-audio.o .libs/libffmpeg_plugin_la-video_filter.o .libs/libffmpeg_plugin_la-deinterlace.o .libs/libffmpeg_plugin_la-chroma.o .libs/libffmpeg_plugin_la-encoder.o .libs/libffmpeg_plugin_la-postprocess.o .libs/libffmpeg_plugin_la-demux.o .libs/libffmpeg_plugin_la-mux.o .libs/libffmpeg_plugin_la-scale.o -Wl,–rpath -Wl,/usr/share/svn/vlc/build/src/.libs ../../../src/.libs/libvlc.so -lpthread /usr/share/svn/vlc/extras/ffmpeg/libavformat/libavformat.a /usr/share/svn/vlc/extras/ffmpeg/libavcodec/libavcodec.a /usr/share/svn/vlc/extras/ffmpeg/libavutil/libavutil.a -lz -ldl -L/usr/share/svn/vlc/extras/ffmpeg/libpostproc /usr/share/svn/vlc/extras/ffmpeg/libpostproc/libpostproc.a -lm -Wl,-z -Wl,defs -Wl,-soname -Wl,libffmpeg_plugin.so -o .libs/libffmpeg_plugin.so
    .libs/libffmpeg_plugin_la-scale.o: In function CloseScaler\_\_0\_9\_0j': scale.c:(.text+0x1f): undefined reference to sws_freeFilter’
    .libs/libffmpeg_plugin_la-scale.o: In function OpenScaler\_\_0\_9\_0j': scale.c:(.text+0x698): undefined reference to sws_getDefaultFilter’
    scale.c:(.text+0x9f1): undefined reference to sws\_freeFilter' /usr/bin/ld: /usr/share/svn/vlc/extras/ffmpeg/libavcodec/libavcodec.a(dsputil\_mmx.o): relocation R\_X86\_64\_PC32 against ff_pw_20’ can not be used when making a shared object; recompile with -fPIC
    /usr/bin/ld: final link failed: Bad value
    collect2: ld returned 1 exit status
    make[6]: *** [libffmpeg_plugin.la] Error 1
    make[6]: Leaving directory /usr/share/svn/vlc/build/modules/codec/ffmpeg' make[5]: *** [all-modules] Error 1 make[5]: Leaving directory /usr/share/svn/vlc/build/modules/codec/ffmpeg’
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory /usr/share/svn/vlc/build/modules/codec' make[3]: *** [all] Error 2 make[3]: Leaving directory /usr/share/svn/vlc/build/modules/codec’
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory /usr/share/svn/vlc/build/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /usr/share/svn/vlc/build’
    make: *** [all] Error 2

    ffmpeg configure:
    ./configure –enable-shared –enable-postproc –enable-gpl –extra-cflags=’-fPIC -DPIC’

    vlc configure:
    ../configure –prefix=/usr –enable-snapshot –enable-debug –enable-dbus-control –enable-musicbrainz –enable-shared-libvlc –enable-mozilla –enable-lirc –with-ffmpeg-tree=../extras/ffmpeg –enable-shout –enable-taglib –enable-v4l –enable-dvb –enable-realrtsp –disable-xvmc –enable-svg –enable-dvdread –enable-dc1394 –enable-dv –enable-theora –enable-faad –enable-twolame –enable-real –enable-flac –enable-tremor –enable-skins2 –disable-qt4 –enable-ncurses –enable-aa –enable-caca –enable-esd –disable-portaudio –enable-jack –enable-xosd –enable-galaktos –enable-goom –enable-ggi –disable-cddax –disable-vcdx –disable-quicktime