gpt4 book ai didi

linux - 在 slackware 13.37 上安装 libpar2 时出错

转载 作者:太空宇宙 更新时间:2023-11-04 04:26:38 25 4
gpt4 key购买 nike

有人可以告诉我为什么在尝试安装 libpar2 时可能会出现这些错误吗?

In file included from /usr/include/sigc++-2.0/sigc++/sigc++.h:23:0,
from libpar2.h:4,
from libpar2.cpp:1:
/usr/include/sigc++-2.0/sigc++/signal.h:1557:26: error: declaration of 'typedef struct sigc::signal0<T_return, T_accumulator>::slot_list_type sigc::signal0<T_return, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:166:1: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return> >'
/usr/include/sigc++-2.0/sigc++/signal.h:1666:26: error: declaration of 'typedef struct sigc::signal1<T_return, T_arg1, T_accumulator>::slot_list_type sigc::signal1<T_return, T_arg1, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:166:1: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1> >'
/usr/include/sigc++-2.0/sigc++/signal.h:1777:26: error: declaration of 'typedef struct sigc::signal2<T_return, T_arg1, T_arg2, T_accumulator>::slot_list_type sigc::signal2<T_return, T_arg1, T_arg2, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:166:1: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2> >'
/usr/include/sigc++-2.0/sigc++/signal.h:1890:26: error: declaration of 'typedef struct sigc::signal3<T_return, T_arg1, T_arg2, T_arg3, T_accumulator>::slot_list_type sigc::signal3<T_return, T_arg1, T_arg2, T_arg3, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:166:1: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3> >'
/usr/include/sigc++-2.0/sigc++/signal.h:2005:26: error: declaration of 'typedef struct sigc::signal4<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_accumulator>::slot_list_type sigc::signal4<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:166:1: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4> >'
/usr/include/sigc++-2.0/sigc++/signal.h:2122:26: error: declaration of 'typedef struct sigc::signal5<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_accumulator>::slot_list_type sigc::signal5<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:166:1: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5> >'
/usr/include/sigc++-2.0/sigc++/signal.h:2241:26: error: declaration of 'typedef struct sigc::signal6<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_accumulator>::slot_list_type sigc::signal6<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:166:1: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6> >'
/usr/include/sigc++-2.0/sigc++/signal.h:2362:26: error: declaration of 'typedef struct sigc::signal7<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7, T_accumulator>::slot_list_type sigc::signal7<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:166:1: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7> >'

... whole slew of warnings

make[1]: *** [libpar2.lo] Error 1
make[1]: Leaving directory `/tmp/SBo/libpar2-0.2'
make: *** [all] Error 2

据我所知 sigc++-2.0 已正确安装

root@a:/home/g/dnlds/libpar2# ls /usr/lib/libsigc*.so
/usr/lib/libsigc-2.0.so@
root@a:/home/g/dnlds/libpar2# pkg-config --list-all|grep -i sigc
sigc++-2.0 libsigc++ 2 - Typesafe signal and callback system for C++
root@a:/home/g/dnlds/libpar2#

最佳答案

没有启发,但这确实解决了我的问题。我以前从未接触过这个网站

http://slackfind.net/en/

但他们目前索引了 37834 个 slackware 软件包,我获得了 libpar2 和 libsigc++ 的软件包,并且安装顺利。

关于linux - 在 slackware 13.37 上安装 libpar2 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8271591/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com