[vlc-devel] Build problem with 'enable-java-bindings' svn 20429

vladakk vladakk at abanka.co.yu
Thu Jun 7 15:02:43 CEST 2007


Hi,

I am unable to build VLC svn source with enable-java-bindings.

Kubuntu 7.04

Linux vladakk-asoft 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux

.../bootstrap > bootstrap-out.log 2>&1
CPPFLAGS="-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include" \
JAVA_HOME=/usr/lib/j2sdk6.0-sun \
.../configure --prefix=$DEST_DIR --enable-java-bindings --enable-theora --enable-faad --enable-twolame --enable-real \
   --enable-flac --enable-tremor --enable-tarkin --enable-caca --enable-mozilla --enable-wxwidgets=no  \
         --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-dts --with-ffmpeg-vorbis --with-ffmpeg-theora \
         --with-ffmpeg-ogg --with-ffmpeg-zlib \
         > configure-out0.log 2>&1
JAVA_HOME=/usr/lib/j2sdk6.0-sun make all > make-out1.log 2>&1

if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../..  `top_builddir="../../.." ../../../vlc-config --cflags pic` -I/usr/lib/j2sdk6.0-sun/include -I/usr/lib/j2sdk6.0-sun/include/linux -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -DSYS_LINUX -I../../../include  -g -O2 -MT libjvlc_la-callback-jni.lo -MD -MP -MF ".deps/libjvlc_la-callback-jni.Tpo" -c -o libjvlc_la-callback-jni.lo `test -f 'callback-jni.cc' || echo './'`callback-jni.cc; \
	then mv -f ".deps/libjvlc_la-callback-jni.Tpo" ".deps/libjvlc_la-callback-jni.Plo"; else rm -f ".deps/libjvlc_la-callback-jni.Tpo"; exit 1; fi
  g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/asoft/vlc/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/asoft/vlc/share/locale\"
-DDATA_PATH=\"/usr/local/asoft/vlc/share/vlc\" -DPLUGIN_PATH=\"/usr/local/asoft/vlc/lib/vlc\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -I/usr/lib/j2sdk6.0-sun/include -I/usr/lib/j2sdk6.0-sun/include/linux -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -DSYS_LINUX -I../../../include -g -O2 -MT libjvlc_la-callback-jni.lo -MD -MP -MF .deps/libjvlc_la-callback-jni.Tpo -c callback-jni.cc  -fPIC -DPIC -o .libs/libjvlc_la-callback-jni.o
callback-jni.cc:46: error: 'libvlc_event_t' has not been declared
callback-jni.cc: In function 'void Java_org_videolan_jvlc_Audio__1install_1callback(JNIEnv*, _jobject*)':
callback-jni.cc:60: error: 'VOLUME_CHANGED' was not declared in this scope
callback-jni.cc:63: error: 'libvlc_event_add_callback' was not declared in this scope
callback-jni.cc: At global scope:
callback-jni.cc:67: error: 'libvlc_event_t' has not been declared
make[4]: *** [libjvlc_la-callback-jni.lo] Error 1
make[4]: Leaving directory `/temporary/vlc-trunk/bindings/java/src'
.......

Regards,
Vladimir Kokovic, Belgrade, Serbia










-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list