Hello [email protected]

VLC-2.1.4 segfault during make

The Error:
/bin/sh: line 4:  8658 Segmentation fault      ./vlc-cache-gen ../modules
during make.

Background:
I have a BLFS SVN ca 2014-04-01 -- current
uname -a
Linux lfs 3.14.1 #2 SMP Sat Apr 19 07:20:05 CEST 2014 x86_64 GNU/Linux
gcc --version
gcc (GCC) 4.8.2

I want to build VLC to prepare for KDE. (I have Xorg Twm for the time
being).

I follow:
http://www.linuxfromscratch.org/blfs/view/svn/multimedia/vlc.html

I have the recommended dependencies and all the optional dependencies
with internal references to other BLFS build instructions.

The Error:
/bin/sh: line 4:  8658 Segmentation fault      ./vlc-cache-gen
../modules during make.

Making all in bin
make[2]: Entering directory '/source/vlc-2.1.4/bin'
  CC       vlc.o
  CC       override.o
  CCLD     vlc
  CC       rootwrap.o
rootwrap.c: In function 'main':
rootwrap.c:244:12: warning: ignoring return value of 'setuid',
declared with attribute warn_unused_result [-Wunused-result]
     setuid (uid);
            ^
  CCLD     vlc-wrapper
  CC       vlc_static-vlc.o
  CC       vlc_static-override.o
  CCLD     vlc-static
  CC       cachegen.o
  CCLD     vlc-cache-gen
  GEN      ../modules/plugins.dat
/bin/sh: line 4:  8658 Segmentation fault      ./vlc-cache-gen ../modules
Makefile:1538: recipe for target '../modules/plugins.dat' failed
make[2]: *** [../modules/plugins.dat] Error 139
make[2]: Leaving directory '/source/vlc-2.1.4/bin'
Makefile:1952: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/source/vlc-2.1.4'
Makefile:1836: recipe for target 'all' failed
make: *** [all] Error 2

Steps to reproduce:
sed -i 's:libsmbclient.h:samba-4.0/&:' modules/access/smb.c &&
./bootstrap                                                 &&
./configure --prefix=/usr                                   &&
make

I have tried the latest VLC code from their git repo. Same problem.

Best regards,

Magnus L
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to