[vlc-devel] Re: Build problem with 'enable-java-bindings' svn 17032

Gregor Fuis gujs.lists at gmail.com
Thu Oct 12 18:17:38 CEST 2006

I also have a problem to compile vlc with java bindings

Making all in java
make[3]: Entering directory 
make[4]: Entering directory 
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory 
gcj -C org/videolan/jvlc/VLCException.java
gcjh -jni org/videolan/jvlc/VLCException -o includes/VLCException.h
gcj -C org/videolan/jvlc/Playlist.java
gcjh -jni org/videolan/jvlc/Playlist -o includes/Playlist.h
gcj -C org/videolan/jvlc/AudioIntf.java
gcjh -jni org/videolan/jvlc/AudioIntf -o includes/AudioIntf.h
gcj -C org/videolan/jvlc/Audio.java
gcjh -jni org/videolan/jvlc/Audio -o includes/Audio.h
gcj -C org/videolan/jvlc/InputIntf.java
gcjh -jni org/videolan/jvlc/InputIntf -o includes/InputIntf.h
gcj -C org/videolan/jvlc/Input.java
gcjh -jni org/videolan/jvlc/Input -o includes/Input.h
gcj -C org/videolan/jvlc/PlaylistIntf.java
gcjh -jni org/videolan/jvlc/PlaylistIntf -o includes/PlaylistIntf.h
gcj -C org/videolan/jvlc/VideoIntf.java
gcjh -jni org/videolan/jvlc/VideoIntf -o includes/VideoIntf.h
gcj -C org/videolan/jvlc/Video.java
gcjh -jni org/videolan/jvlc/Video -o includes/Video.h
gcj -C org/videolan/jvlc/JLibVLC.java
gcjh -jni org/videolan/jvlc/JLibVLC -o includes/JLibVLC.h
gcj -C org/videolan/jvlc/JVLC.java
gcjh -jni org/videolan/jvlc/JVLC -o includes/JVLC.h
gcj -C org/videolan/jvlc/JVLCCanvas.java
gcjh -jni org/videolan/jvlc/JVLCCanvas -o includes/JVLCCanvas.h
gcj -C org/videolan/jvlc/JVLCPanel.java
gcjh -jni org/videolan/jvlc/JVLCPanel -o includes/JVLCPanel.h
gcj -C org/videolan/jvlc/VLMIntf.java
gcjh -jni org/videolan/jvlc/VLMIntf -o includes/VLMIntf.h
gcj -C org/videolan/jvlc/VLM.java
gcjh -jni org/videolan/jvlc/VLM -o includes/VLM.h
gcj -C org/videolan/jvlc/GenericVideoWidget.java
gcjh -jni org/videolan/jvlc/GenericVideoWidget -o 
make -C src
make[4]: Entering directory 
g++ utils.cc -Wsign-compare -Wsign-compare -Wextra -Wall  
-Wno-unused-parameter -pipe `top_builddir=../../.. ../../../vlc-config 
--cflags pic` -I. -Isrc -I../../ -I ../../include 
-I/usr/lib/jvm/java-1.5.0-sun/include/linux -c -o utils.o
In file included from utils.cc:29:
utils.h:6:24: error: vlc/libvlc.h: No such file or directory
utils.h:9: error: 'libvlc_exception_t' has not been declared
utils.cc:34: error: 'libvlc_exception_t' has not been declared
utils.cc: In function 'void handle_vlc_exception(JNIEnv*, int*)':
utils.cc:42: error: 'libvlc_exception_get_message' was not declared in 
this scope
make[4]: *** [utils.o] Error 1
make[4]: Leaving directory 
make[3]: *** [libjvlc.so] Error 2
make[3]: Leaving directory 
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gregor/Home/videolan/vlc_build/vlc-trunk'
make: *** [all] Error 2

filippo at carone.org wrote:
>> Hi,
>> Same errors Filippo even i've added --disable-libtool !
>  Are you using the trunk version? If so, remove any previously vlc
> installed file from /usr/local and check by hand that the functions the
> compiler cannot find are really present in libvlc.h.
>  Cheers,
>  Filippo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20061012/75dcda5a/attachment.html>

More information about the vlc-devel mailing list