LinuxSir.cn,穿越时空的Linuxsir!

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

x200安装无限网卡驱动错误

[复制链接]
发表于 2011-5-6 11:31:22 | 显示全部楼层 |阅读模式
emerge  net-wireless/rtl8192se 时,提示 *   CONFIG_WIRELESS_EXT:         is not set when it should be.

我编译内核时只看到CONFIG_WIRELESS_EXT_SYSFS=y,没有CONFIG_WIRELESS_EXT选项

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-wireless/rtl8192se-2.6.0019.1207.2010
* rtl8192se_linux_2.6.0019.1207.2010.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                   [ ok ]
* Package:    net-wireless/rtl8192se-2.6.0019.1207.2010
* Repository: gentoo
* Maintainer: chithanh@gentoo.org
* USE:        elibc_glibc kernel_linux userland_GNU x86
* FEATURES:   sandbox
* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Found kernel object directory:
*     /lib/modules/2.6.38-gentoo-r4/build
* Found sources for kernel version:
*     2.6.38-gentoo-r4
* Checking for suitable kernel configuration options...
*   CONFIG_WIRELESS_EXT:         is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
>>> Unpacking source...
>>> Unpacking rtl8192se_linux_2.6.0019.1207.2010.tar.gz to /var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work
>>> Source unpacked in /var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work
>>> Preparing source in /var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010 ...
* Applying rtl8192se-include-semaphore.patch ...                                                              [ ok ]
* Fixing broken build system... ...                                                                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010 ...
ln: 无法创建符号链接"Module.symvers": 文件已存在
* Preparing r8192se_pci module
make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= all
make[1]: 进入目录“/usr/src/linux-2.6.38-gentoo-r4”
make[1]: 警告: jobserver 不存在: 使用 -j1。添加 “+” 到父 make 的规则。
  CC [M]  /var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.o
/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.c: 在函数‘rtl8192_pci_probe’中:
/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.c:6170: 错误:‘struct net_device’没有名为‘wireless_handlers’的成员
make[2]: *** [/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.o] 错误 1
make[1]: *** [_module_/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192] 错误 2
make[1]: 离开目录“/usr/src/linux-2.6.38-gentoo-r4”
make: *** [all] 错误 2
emake failed
* ERROR: net-wireless/rtl8192se-2.6.0019.1207.2010 failed (compile phase):
*   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=   all
*
* Call stack:
*     ebuild.sh, line   56:  Called src_compile
*   environment, line 3445:  Called linux-mod_src_compile
*   environment, line 2662:  Called die
* The specific snippet of code:
*               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                                 CROSS_COMPILE=${CHOST}-                                                 LDFLAGS=\"$(get_abi_LDFLAGS)\"                                         ${BUILD_FIXES}                                                 ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
*
* If you need support, post the output of 'emerge --info =net-wireless/rtl8192se-2.6.0019.1207.2010',
* the complete build log and the output of 'emerge -pqv =net-wireless/rtl8192se-2.6.0019.1207.2010'.
* The complete build log is located at '/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/temp/environment'.
* S: '/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010'

>>> Failed to emerge net-wireless/rtl8192se-2.6.0019.1207.2010, Log file:

>>>  '/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/temp/build.log'

* Messages for package net-wireless/rtl8192se-2.6.0019.1207.2010:

*   CONFIG_WIRELESS_EXT:         is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* ERROR: net-wireless/rtl8192se-2.6.0019.1207.2010 failed (compile phase):
*   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=   all
*
* Call stack:
*     ebuild.sh, line   56:  Called src_compile
*   environment, line 3445:  Called linux-mod_src_compile
*   environment, line 2662:  Called die
* The specific snippet of code:
*               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                                 CROSS_COMPILE=${CHOST}-                                                 LDFLAGS=\"$(get_abi_LDFLAGS)\"                                         ${BUILD_FIXES}                                                 ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
*
* If you need support, post the output of 'emerge --info =net-wireless/rtl8192se-2.6.0019.1207.2010',
* the complete build log and the output of 'emerge -pqv =net-wireless/rtl8192se-2.6.0019.1207.2010'.
* The complete build log is located at '/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/temp/environment'.
* S: '/var/tmp/portage/net-wireless/rtl8192se-2.6.0019.1207.2010/work/rtl8192se_linux_2.6.0019.1207.2010'
发表于 2011-5-6 11:35:08 | 显示全部楼层
没有就自己增加。我的.config文件这两个都有
CONFIG_WIRELESS_EXT=y
CONFIG_WIRELESS_EXT_SYSFS=y

网卡与你的芯片一样
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-6 11:43:45 | 显示全部楼层
这样也行,我去试试,多谢多谢!!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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