I am trying to cross-compile VLC 2.2.4 with some modification on our project. for now i have managed to correctly build vlc for osx, but the windows and linux builds are failing.
For linux I have been following the official tutorial (https://wiki.videolan.org/UnixCompile/). But it fails on one of the last build steps when generating the plugins.dat:
Code: Select all
...
/bin/bash: line 4: 23670 Segmentation fault (core dumped) ./vlc-cache-gen ../modules
Makefile:1527: recipe for target '../modules/plugins.dat' failed
make[2]: *** [../modules/plugins.dat] Error 139
make[2]: Leaving directory '/home/knek/workspace/vlc-custom-2.2.4-linux/bin'
Makefile:2266: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/knek/workspace/vlc-custom-2.2.4-linux'
Makefile:2151: recipe for target 'all' failed
make: *** [all] Error 2
my system is a ubuntu mate 16.04, and all the dependencies have been installed as per the tutorial.
I have no clue actually on why is this segmentation fault happening,