undefined reference to `input_LegacyVarInit'

*nix specific usage questions
User avatar
jiapei100
Blank Cone
Blank Cone
Posts: 33
Joined: 06 Aug 2009 02:17
VLC version: 4.0.0-dev
Operating System: Ubuntu
Location: Surrey, BC, Canada
Contact:

undefined reference to `input_LegacyVarInit'

Postby jiapei100 » 02 Sep 2018 03:54

Hi, all:

My working environment:
  • one: Ubuntu 18.04.1
  • two: $ gcc --version
    gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
    Copyright (C) 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  • three: VLC today's git (September 1, 2018) from
    https://github.com/videolan/vlc

Code: Select all

Making all in lib make[2]: Entering directory '....../vlc/lib' make all-am make[3]: Entering directory '....../vlc/lib' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '....../vlc/lib' make[2]: Leaving directory '....../vlc/lib' Making all in bin make[2]: Entering directory '....../vlc/bin' CCLD vlc CCLD vlc-cache-gen ../lib/.libs/libvlc.so: undefined reference to `input_LegacyVarInit' ../lib/.libs/libvlc.so: undefined reference to `input_LegacyEvents' ../lib/.libs/libvlc.so: undefined reference to `input_SetPosition' ../lib/.libs/libvlc.so: undefined reference to `input_SetTime' ../lib/.libs/libvlc.so: undefined reference to `vlc_tick_now' collect2: error: ld returned 1 exit status Makefile:1348: recipe for target 'vlc' failed make[2]: *** [vlc] Error 1 make[2]: *** Waiting for unfinished jobs.... ../lib/.libs/libvlc.so: undefined reference to `input_LegacyVarInit' ../lib/.libs/libvlc.so: undefined reference to `input_LegacyEvents' ../lib/.libs/libvlc.so: undefined reference to `input_SetPosition' ../lib/.libs/libvlc.so: undefined reference to `input_SetTime' ../lib/.libs/libvlc.so: undefined reference to `vlc_tick_now' collect2: error: ld returned 1 exit status Makefile:1352: recipe for target 'vlc-cache-gen' failed make[2]: *** [vlc-cache-gen] Error 1 make[2]: Leaving directory '....../vlc/bin' Makefile:1552: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '....../vlc' Makefile:1437: recipe for target 'all' failed make: *** [all] Error 2
Any suggestions?
Thank you very much
Pei
Welcome to Vision Open
http://www.visionopen.com

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: undefined reference to `input_LegacyVarInit'

Postby Jean-Baptiste Kempf » 03 Sep 2018 10:28

You are mixing 2 versions of VLC
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

User avatar
jiapei100
Blank Cone
Blank Cone
Posts: 33
Joined: 06 Aug 2009 02:17
VLC version: 4.0.0-dev
Operating System: Ubuntu
Location: Surrey, BC, Canada
Contact:

Re: undefined reference to `input_LegacyVarInit'

Postby jiapei100 » 03 Sep 2018 22:17

You might be correct. I was actually building the most recent GIT version (should be 3.0.4), but with VLC from repository installed (version 3.0.3-1) .

However, I cannot remove the installed version 3.0.3-1 from repository because there are so many other packages relying on this one...
Welcome to Vision Open
http://www.visionopen.com


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

Who is online

Users browsing this forum: No registered users and 29 guests