LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 899|回复: 6

make kdelib 出错?

[复制链接]
发表于 2004-1-10 15:12:47 | 显示全部楼层 |阅读模式
ore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/opt/qt/include -I/usr/X11R6/include -I/opt/kde-3.1.93/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o deviceman.lo `test -f 'deviceman.cc' || echo './'`deviceman.cc
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
make[2]: *** [deviceman.lo] 错误 1
make[2]: Leaving directory `/sources/kdelibs-3.1.93/libkmid'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/sources/kdelibs-3.1.93'
make: *** [all] 错误 2
什么原因啊,开始还能到KDEBASE才出错
发表于 2004-1-10 15:22:57 | 显示全部楼层
你的alsa是什么?我都没用kde 3.1.93,用的是3.1.4。

我觉得是你的alsa问题。
 楼主| 发表于 2004-1-10 15:48:15 | 显示全部楼层
2.6内核直接支持的!
 楼主| 发表于 2004-1-10 16:12:03 | 显示全部楼层
2.6内核里面怎么安装ALSA-1.0.1?

我已经在内核里选了对我的声卡支持了,我在安装ALSA-Drivers里,显示:

checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... /opt/gcc-2.95.3/bin/gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether /opt/gcc-2.95.3/bin/gcc needs -traditional... no
checking for current directory... /sources/alsa-driver-1.0.1
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.0/build
checking for kernel version... 2.6.0
checking for GCC version... Kernel compiler: Used compiler: 2.95.3

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel.
是不是要把声卡改为模块啊,我想没这个可能吧!~
发表于 2004-1-14 18:21:19 | 显示全部楼层
我一般都没有去再装alsa drivers之类的那些软件包,都是内核选择好了之后,然后编译的时候都不会再出现此类的错误了。我用的是kde-cvs的,每日更新包。
发表于 2004-1-15 04:14:23 | 显示全部楼层
checking for built-in ALSA... "yes"
2.6内核自带alsa,不需要安装alsa-driver包。
发表于 2004-1-15 10:29:49 | 显示全部楼层
应该是,,把alsa从内核中去掉把?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表