Chinaunix首页 | 论坛 | 博客
  • 博客访问: 662269
  • 博文数量: 137
  • 博客积分: 7000
  • 博客等级: 少将
  • 技术积分: 1335
  • 用 户 组: 普通用户
  • 注册时间: 2005-11-23 15:18
文章分类

全部博文(137)

文章存档

2010年(2)

2009年(2)

2008年(2)

2007年(30)

2006年(99)

2005年(2)

我的朋友

分类: LINUX

2006-07-10 16:01:41

编译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。
修改后不再出现该错误提示。
阅读(1848) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~