Compilation fails libqt_plugin.la

This forum is about all development around libVLC.
aleung27
New Cone
New Cone
Posts: 2
Joined: 02 May 2021 13:52

Compilation fails libqt_plugin.la

Postby aleung27 » 02 May 2021 14:01

Hi!

I've been trying to compile VLC on Ubuntu 20.04 and I've managed to get ./configure to run with no issue. However, when running 'make' I get the following error message:

Code: Select all

make[4]: Entering directory '/home/<username>/Desktop/vlc/modules' CXXLD libqt_plugin.la collect2: error: ld returned 1 exit status make[4]: *** [Makefile:20410: libqt_plugin.la] Error 1 make[4]: Leaving directory '/home/<username>/Desktop/vlc/modules' make[3]: *** [Makefile:34271: all-recursive] Error 1 make[3]: Leaving directory '/home/<username>/Desktop/vlc/modules' make[2]: *** [Makefile:14327: all] Error 2 make[2]: Leaving directory '/home/<username>/Desktop/vlc/modules' make[1]: *** [Makefile:1584: all-recursive] Error 1 make[1]: Leaving directory '/home/<username>/Desktop/vlc' make: *** [Makefile:1471: all] Error 2
The following packages I have installed that are returned from running

Code: Select all

apt list --installed | grep qt
are:

Code: Select all

libqt5concurrent5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5core5a/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5dbus5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5gui5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5network5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5printsupport5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5qml5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic] libqt5quick5/focal,now 5.12.8-0ubuntu1 amd64 [installed] libqt5quickcontrols2-5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed] libqt5quickparticles5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic] libqt5quickshapes5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic] libqt5quicktemplates2-5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5quicktest5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic] libqt5quickwidgets5/focal,now 5.12.8-0ubuntu1 amd64 [installed] libqt5sql5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5svg5-dev/focal,now 5.12.8-0ubuntu1 amd64 [installed] libqt5svg5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic] libqt5test5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5widgets5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] libqt5x11extras5-dev/focal,now 5.12.8-0ubuntu1 amd64 [installed] libqt5x11extras5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic] libqt5xml5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] qt5-qmake-bin/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] qt5-qmake/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] qt5-qmltooling-plugins/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic] qtbase5-dev-tools/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic] qtbase5-dev/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed] qtbase5-private-dev/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed] qtchooser/focal,now 66-2build1 amd64 [installed,automatic] qtdeclarative5-dev-tools/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic] qtdeclarative5-dev/focal,now 5.12.8-0ubuntu1 amd64 [installed] qtquickcontrols2-5-dev/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed]
I was wondering if anyone could please help me find out what's wrong. Please let me know if you also need any more information!
Many thanks :D

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

Re: Compilation fails libqt_plugin.la

Postby Rémi Denis-Courmont » 03 May 2021 17:33

Check the actual linker error.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

aleung27
New Cone
New Cone
Posts: 2
Joined: 02 May 2021 13:52

Re: Compilation fails libqt_plugin.la

Postby aleung27 » 06 May 2021 09:58

Hi Rémi,

Thanks for getting back to me, running ./compile I got the following error if this helps:

Code: Select all

MAKE : modules MAKE : . COMPILE : libqt_plugin_la-bookmarks.moc.lo ERROR : gui/qt/dialogs/bookmarks/bookmarks.moc.cpp:103: 18: 'QMetaObject::SuperData' has not been declared QMetaObject::SuperData::link<QVLCFrame::staticMetaObject>(), ^~~~~~~~~ ERROR : gui/qt/dialogs/bookmarks/bookmarks.moc.cpp:103: 63: expected primary-expression before ')' token QMetaObject::SuperData::link<QVLCFrame::staticMetaObject>(), ^ cc1plus: warning: unrecognized command line option '-Wno-deprecated-copy' make: *** [Makefile:1471: all] Error 2


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 19 guests