[Sovled] Unable to compile current VLC master

VLC for Android and Chrome OS specific usage questions
Ltty
Blank Cone
Blank Cone
Posts: 15
Joined: 13 Jan 2014 15:51

[Sovled] Unable to compile current VLC master

Postby Ltty » 15 Oct 2014 14:49

Hey guys,

not sure if anybody else is having this issue, but since the latest checkout (master), I am unable to compile VLC. It seems that there is an issue with the omx and/or mediacodec:

SharedLibrary : libvlcjni.so
../../modules/codec/omxil/omxil.c:918: error: undefined reference to 'myVm'
../../modules/codec/omxil/android_mediacodec.c:657: error: undefined reference to 'myVm'
../../modules/codec/omxil/android_mediacodec.c:671: error: undefined reference to 'myVm'
../../modules/codec/omxil/android_mediacodec.c:587: error: undefined reference to 'myVm'
collect2: error: ld returned 1 exit status
make[1]: *** [obj/local/armeabi-v7a/libvlcjni.so] Error 1
make[1]: Leaving directory `/home/dev/dev/vlc_sdk/vlc-android'
make: *** [vlc-android/obj/local/armeabi-v7a/libvlcjni.so] Error 2
rm android-libs/libcutils.c android-libs/libmedia.c android-libs/libutils.c android-libs/libstagefright.c android-libs/libui.c android-libs/libbinder.c

Any ideas, how to resolve this issue?

Best regards

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Unable to compile current VLC master

Postby edwardw » 15 Oct 2014 18:21

Try to pull and re-compile.

Ltty
Blank Cone
Blank Cone
Posts: 15
Joined: 13 Jan 2014 15:51

Re: Unable to compile current VLC master

Postby Ltty » 16 Oct 2014 14:26

I tried again, did a clean checkout of the repository's master and the old error is gone, but now it seems that it is stuck in a loop, I get these few lines, which repeat until I finally stop the building process:

make[1]: Entering directory `/home/dev/dev/vlc_sdk/vlc/contrib/contrib-android-arm-linux-androideabi/ffmpeg'
make[1]: Warning: File `tests/fate/xvid.mak' has modification time 5.2e+04 s in the future
make[1]: Leaving directory `/home/dev/dev/vlc_sdk/vlc/contrib/contrib-android-arm-linux-androideabi/ffmpeg'

Everything is up-to-date, I did a clean checkout of the entire repository, just to make sure that some pulls do not interfere.

Update: Okay, I am now building the latest tag, which seems to work.

Best,
Florian

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Unable to compile current VLC master

Postby edwardw » 16 Oct 2014 17:12

Cool.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 16 guests