[vlc-devel] Compilation problem on Ubuntu Gutsy

Giorgio giorgio.salluzzo at gmail.com
Wed Jan 2 16:53:53 CET 2008


Hi all and Happy New Year,
I'm trying to compile the last snapshot on a Gutsy.

I installed all the dependencies using an 'apt-get build-dep'

I'm using the following configure:
./configure --enable-static --enable-python-bindings --disable-shared


...and I get this error:

   1. Making all in python
   2. make[3]: Entering directory `/home/giorgio/Desktop/vlc/vlc-0.9.0
   -svn/bindings/python'
   3. COMPILERARG=
   4. srcdir="." top_builddir="../.." python "./setup.py" build
   "--build-base=../../bindings/python" "--build-temp=../../bindings/python"
   5. running build
   6. running build_ext
   7. building 'vlc' extension
   8. gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall
   -Wstrict-prototypes -fPIC -I../.. -I./../../include -I. -I/usr/win32/include
   -I/usr/include/python2.5 -c ./vlc_module.c -o
   ../../bindings/python/./vlc_module.o -I/usr/local/include
   -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT
   -D_THREAD_SAFE -DLOCALEDIR="/usr/local/share/locale"
   -DDATA_PATH="/usr/local/share/vlc" -DPLUGIN_PATH="/usr/local/lib/vlc"
   -DMODULE_NAME=vlc -DMODULE_NAME_IS_vlc -O2 -ffast-math -funroll-loops
   -mtune=pentium2 -fomit-frame-pointer
   9. In file included from ./vlc_module.c:168:
   10. ./vlc_instance.c: In function 'vlcInstance_new':
   11. ./vlc_instance.c:102: warning: passing argument 2 of 'libvlc_new'
   from incompatible pointer type
   12. ./vlc_instance.c: In function 'vlcInstance_playlist_add':
   13. ./vlc_instance.c:285: warning: passing argument 5 of '
   libvlc_playlist_add_extended' from incompatible pointer type
   14. ./vlc_instance.c: At top level:
   15. ./vlc_instance.c:752: warning: initialization from incompatible
   pointer type
   16. ./vlc_instance.c:764: warning: initialization from incompatible
   pointer type
   17. In file included from ./vlc_module.c:169:
   18. ./vlc_input.c: In function 'vlcInput_video_take_snapshot':
   19. ./vlc_input.c:299: warning: passing argument 3 of '
   libvlc_video_take_snapshot' makes integer from pointer without a cast
   20. ./vlc_input.c:299: error: too few arguments to function '
   libvlc_video_take_snapshot'
   21. error: command 'gcc' failed with exit status 1
   22. make[3]: *** [all] Error 1
   23. make[3]: Leaving directory `/home/giorgio/Desktop/vlc/vlc-
   0.9.0-svn/bindings/python'
   24. make[2]: *** [all-recursive] Error 1
   25. make[2]: Leaving directory `/home/giorgio/Desktop/vlc/vlc-0.9.0
   -svn/bindings'
   26. make[1]: *** [all-recursive] Error 1
   27. make[1]: Leaving directory `/home/giorgio/Desktop/vlc/vlc-
   0.9.0-svn'
   28. make: *** [all] Error 2


On IRC somebody told me to ask here because probably that function changed.

Thanks in advance,

Giorgio Salluzzo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080102/5c4b118c/attachment.html>


More information about the vlc-devel mailing list