Page 1 of 1

Compile VLC for linux ((core dumped) ./vlc-cache-gen ../modules)

Posted: 30 Nov 2016 11:38
by kanekotic
Hello all, first of all thanks in advance if you can help me with this.
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,

Re: Compile VLC for linux ((core dumped) ./vlc-cache-gen ../modules)

Posted: 30 Nov 2016 17:07
by RĂ©mi Denis-Courmont
It could be a problem in your build, a bug in VLC, or a bug in an underlying library.