Hello module in-tree compile error

*nix specific usage questions
francescoBLT
New Cone
New Cone
Posts: 8
Joined: 03 Jul 2013 11:29

Hello module in-tree compile error

Postby francescoBLT » 26 May 2017 11:06

Hi
after compiling vlc under Linux Ubuntu 17.04 I've followed the hello example in the wiki.
It's not clear to me how to modify the modules.am file. If I add the lines in the wiki:

libhello_plugin_la_SOURCES = hello.c
libhello_plugin_la_CFLAGS = $(AM_CFLAGS)
libhello_plugin_la_LIBADD = $(AM_LIBADD)
libhello_plugin_la_DEPENDENCIES =
# Always compile the hello module:
libvlc_LTLIBRARIES += libhello_plugin.la

but when I bootstrap I receive the error:
modules/control/Modules.am:70: error: libvlc_LTLIBRARIES must be set with '=' before using '+='

and if I made a search for the text libvlc_LTLIBRARIES in all the directory vlc-2.6.6 no text libvlc_LTLIBRARIES is found.
May be there is an error in the wiki ? I've attempt to correct with control_LTLIBRARIES bootstrapping and configure
are ok but issuing make result is :

Making all in bin
make[2]: Entering directory '/home/alfredo/vlc-2.2.6/bin'
GEN ../modules/plugins.dat
/bin/bash: line 4: 12634 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/alfredo/vlc-2.2.6/bin'
Makefile:2267: recipe for target 'all-recursive' failed

What's I'm doing wrong ?
regards

Rémi Denis-Courmont
Developer
Developer
Posts: 15317
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Hello module in-tree compile error

Postby Rémi Denis-Courmont » 26 May 2017 19:06

Probably nothing wrong on your end. This looks like a known bug in Ubuntu 17.04.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 31 guests