android compile-libvlc undefined references

This forum is about all development around libVLC.
dprh
Blank Cone
Blank Cone
Posts: 11
Joined: 12 Sep 2015 17:12

android compile-libvlc undefined references

Postby dprh » 12 Sep 2015 17:21

Hello,
I have problems when building the android version on the latest Ubuntu version:
The compile-libvlc.sh script complains about undefined references to avcodec functions (starting by avcodec_find_decoder) and ff_* (like ff_amv_decoder) after creating libvlcjni.so.
Do I have some conflict with other libraries or something is missing?

dprh
Blank Cone
Blank Cone
Posts: 11
Joined: 12 Sep 2015 17:12

Re: android compile-libvlc undefined references

Postby dprh » 19 Sep 2015 17:03

after installing dependencies with apt-get build-dep vlc I get only 1 left actually:
~/android/vlc/modules/video_output/android/nativewindowpriv.c:118: error: undefined reference to 'hw_get_module'
Any ideas?

dprh
Blank Cone
Blank Cone
Posts: 11
Joined: 12 Sep 2015 17:12

Re: android compile-libvlc undefined references

Postby dprh » 20 Sep 2015 15:48

solved by adding hw_get_module to libhardware.symbols which was empty for some reason...
Next unresolved is android:MemoryDealer (used by iomx)

In fact for some reason all my *.symbol files are empty...
What is the procedure to populate them?

dprh
Blank Cone
Blank Cone
Posts: 11
Joined: 12 Sep 2015 17:12

Re: android compile-libvlc undefined references

Postby dprh » 27 Sep 2015 18:35

I got sources from git again and everything was OK except the gettext required version to change from 0.19.3 to 0.19.2.
Probably I had missing prerequisites to setup configuration.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 21 guests