SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've done a clean install using the 2021/04/08 snapshot of current from Alien Pastures. As usual I cannot build pulseview using sbopkg. This time I was able to build all the prerequisites, but not pulseview itself. So once again I am asking for help in getting pulseview built. Here's the error I get.
Code:
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
20 | extern "C" {
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
from /tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10.2.0/type_traits:2912:3: error: template with C linkage
2912 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
20 | extern "C" {
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
from /tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10.2.0/type_traits:2918:3: error: template with C linkage
2918 | template<typename _Result, typename _Fn, typename... _Args>
| ^~~~~~~~
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
20 | extern "C" {
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
from /tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10.2.0/type_traits:2925:3: error: template with C linkage
2925 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
20 | extern "C" {
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
from /tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10.2.0/type_traits:2930:3: error: template with C linkage
2930 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
20 | extern "C" {
| ^~~~~~~~~~
make[2]: *** [CMakeFiles/pulseview.dir/build.make:1533: CMakeFiles/pulseview.dir/pv/data/decode/annotation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:103: CMakeFiles/pulseview.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
pulseview:
Would you like to continue processing the rest of the
queue or would you like to abort?
Any help in solving this will be greatly appreciated. Thanks...Randy
I'm sorry but this is probably a consequence of the upgrade of glib2 to a version >= 2.68.x in current and upstream seems not to have catched up yet: you can try filing a bug in their bug tracker and also watch for a specific fix in their git repository
I'm sorry but this is probably a consequence of the upgrade of glib2 to a version >= 2.68.x in current and upstream seems not to have catched up yet: you can try filing a bug in their bug tracker and also watch for a specific fix in their git repository
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.