[vlc-devel] Errors in Java Bindings during compile...

Tony Anecito adanecito at yahoo.com
Mon Jul 2 10:37:18 CEST 2007


Okay. I fixed the issue in the utils.h it was missing a "\" on the line before 37. I reran make and now getting:
   
  g++ -mno-cygwin -mms-bitfields -o jvlc.dll libjvlc_a-audio-jni.o libjvlc_a-core-
jni.o libjvlc_a-graphics-jni.o libjvlc_a-input-jni.o libjvlc_a-playlist-jni.o li
bjvlc_a-utils.o libjvlc_a-video-jni.o libjvlc_a-vlm-jni.o libjvlc_a-callback-jni
.o -Wl,--kill-at ./libjvlc.def -shared -Wl,--exclude-libs -Wl,libunicows.a  -L/u
sr/win32/lib ../../../src/libvlc.dll.a -LC:/java/jdk1.6.0_02/lib -ljawt -L/usr/l
ocal/lib -lunicows -lkernel32 /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a
 -lws2_32 -lnetapi32 -lwinmm
libjvlc_a-audio-jni.o:audio-jni.cc:(.text+0x41): undefined reference to `_libvlc
_playlist_get_input'
libjvlc_a-audio-jni.o:audio-jni.cc:(.text+0x131): undefined reference to `_libvl
c_playlist_get_input'
libjvlc_a-video-jni.o:video-jni.cc:(.text+0x41): undefined reference to `_libvlc
_playlist_get_input'
libjvlc_a-video-jni.o:video-jni.cc:(.text+0x12a): undefined reference to `_libvl
c_playlist_get_input'
libjvlc_a-video-jni.o:video-jni.cc:(.text+0x221): undefined reference to `_libvl
c_playlist_get_input'
libjvlc_a-video-jni.o:video-jni.cc:(.text+0x311): more undefined references to `
_libvlc_playlist_get_input' follow
collect2: ld returned 1 exit status
make[4]: *** [jvlc.dll] Error 1
make[4]: Leaving directory `/home/administrator/vlc-trunk/bindings/java/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/administrator/vlc-trunk/bindings/java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/administrator/vlc-trunk/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/administrator/vlc-trunk'
make: *** [all] Error 2

Tony Anecito <adanecito at yahoo.com> wrote:
    Hi All,
   
  I downloaded the latest vlc and got errors during compile of the java bindings. I suspect it was for some recent changes by Little John. Looks as if there were updates that might not have been checked in?
   
  I have included the error message. Please let me know when fixed and I will try to re-compile.
   
  Regards,
  -Tony
   
  make[4]: Entering directory `/home/administrator/vlc-trunk/bindings/java/src'
g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I../../..  `top_builddir="../../.." ../../.
./vlc-config --cflags pic` -IC:/java/jdk1.6.0_02/include -IC:/java/jdk1.6.0_02/i
nclude/win32 -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=l
ong -DSYS_MINGW32 -I../../../include  -mms-bitfields  -MT libjvlc_a-input-jni.o
-MD -MP -MF .deps/libjvlc_a-input-jni.Tpo -c -o libjvlc_a-input-jni.o `test -f '
input-jni.cc' || echo './'`input-jni.cc
In file included from input-jni.cc:32:
utils.h:38: error: expected constructor, destructor, or type conversion before '
->' token
utils.h:38: error: expected `,' or `;' before '->' token
make[4]: *** [libjvlc_a-input-jni.o] Error 1
make[4]: Leaving directory `/home/administrator/vlc-trunk/bindings/java/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/administrator/vlc-trunk/bindings/java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/administrator/vlc-trunk/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/administrator/vlc-trunk'
make: *** [all] Error 2
   
  I suspect there is still code that was not checked in or there is still fixes being worked on?
   
  All the rest of vlc that I am using seems to compile just fine.
   
  Regards,
  -Tony
   
   
    
---------------------------------
  Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online._______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070702/44ecff10/attachment.html>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list