编译kdelibs-3.5.3出现错误:
/usr/bin/ld:can't not find -lselinux
解决方法:
装libselinux 和 libselinux-devel;
装了后编译没再出现该错误提示。
出现错误:
In file included from libkmid_la.all_cc.cc:9:
deviceman.cc: In member function `int DeviceManager::initManager()':
deviceman.cc:347: error: aggregate `snd_seq_client_info_t clienti' has
incomplete type and cannot be defined
deviceman.cc:348: error: aggregate `snd_seq_port_info_t porti' has incomplete
type and cannot be defined
deviceman.cc:350: error: `SND_SEQ_OPEN' undeclared (first use this function)
deviceman.cc:350: error: (Each undeclared identifier is reported only once for
each function it appears in.)
deviceman.cc:353: error: aggregate `snd_seq_system_info_t info' has incomplete
type and cannot be defined
据说是因为alsa版本太高,用./configure --without-alsa尝试避过,rpmbuild的修改spec中alsa的define。
修改后不再出现该错误提示。
阅读(1866) | 评论(0) | 转发(0) |