Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350803 - net-wireless/rtl8192se-2.6.0018.1013.2010.ebuild can't be make with 2.6.37 kernel
Summary: net-wireless/rtl8192se-2.6.0018.1013.2010.ebuild can't be make with 2.6.37 ke...
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 10:33 UTC by marioosh
Modified: 2011-01-11 19:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,4.16 KB, text/plain)
2011-01-06 10:34 UTC, marioosh
Details
kernel config (.config,64.92 KB, text/plain)
2011-01-10 05:23 UTC, marioosh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marioosh 2011-01-06 10:33:36 UTC
I have upgrade my kernel do 2.6.37 (linux-2.6.37-gentoo), but can't install rtl8192se modules :(

build.log:



 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.37-gentoo/build
 * Found sources for kernel version:
 *     2.6.37-gentoo
 * 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.0018.1013.2010.tar.gz to /var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work
>>> Source unpacked in /var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work
>>> Preparing source in /var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.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.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.2010 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.2010 ...
ln: creating symbolic link `Module.symvers': File exists
 * Preparing r8192se_pci module
make -j4 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= all 
make[1]: Entering directory `/usr/src/linux-2.6.37-gentoo'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.2010/HAL/rtl8192/rtl_core.o
/var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.2010/HAL/rtl8192/rtl_core.c: In function 'rtl8192_pci_probe':
/var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.2010/HAL/rtl8192/rtl_core.c:5702: error: 'struct net_device' has no member named 'wireless_handlers'
make[2]: *** [/var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.2010/HAL/rtl8192/rtl_core.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.2010/HAL/rtl8192] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.37-gentoo'
make: *** [all] Error 2
 * ERROR: net-wireless/rtl8192se-2.6.0018.1013.2010 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=   all
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3613:  Called linux-mod_src_compile
 *   environment, line 2792:  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.0018.1013.2010',
 * the complete build log and the output of 'emerge -pqv =net-wireless/rtl8192se-2.6.0018.1013.2010'.
 * The complete build log is located at '/var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/temp/environment'.
 * S: '/var/tmp/portage/net-wireless/rtl8192se-2.6.0018.1013.2010/work/rtl8192se_linux_2.6.0018.1013.2010'
Comment 1 marioosh 2011-01-06 10:34:47 UTC
Created attachment 259024 [details]
build.log
Comment 2 Dustin Polke 2011-01-08 20:58:26 UTC
(In reply to comment #0)
>  * Found kernel source directory:
>  *     /usr/src/linux
>  * Found kernel object directory:
>  *     /lib/modules/2.6.37-gentoo/build
>  * Found sources for kernel version:
>  *     2.6.37-gentoo
>  * 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.

Please double-check that CONFIG_WIRELESS_EXT is set and if so, please attach your kernel config.
Comment 3 marioosh 2011-01-10 05:23:43 UTC
Created attachment 259441 [details]
kernel config

grep WIRELESS .config
CONFIG_WIRELESS=y
CONFIG_WIRELESS_EXT_SYSFS=y
# CONFIG_IPWIRELESS is not set
Comment 4 marioosh 2011-01-10 05:40:00 UTC
Kernel 2.6.37 have not CONFIG_WIRELESS_EXT symbol.

kernel 2.6.31:
<*>   Improved wireless configuration API                                                      
[ ]     cfg80211 regulatory debugging                                                          
[ ]     cfg80211 DebugFS entries                                                               
[ ]   Old wireless static regulatory definitions                                               
-*-   Wireless extensions                     <--------- CONFIG_WIRELESS_EXT                                                 
[*]     Wireless extensions sysfs files                                                        
{*}   Common routines for IEEE802.11 drivers                                                   
[ ]   lib80211 debugging messages                                                              
<*>   Generic IEEE 802.11 Networking Stack (mac80211)                                          
[*]   enable powersave by default                                                              
      Rate control algorithm selection  --->                                                   
-*-   Enable LED triggers                                                                      
[ ]   Export mac80211 internals in DebugFS                                                     
[ ]   Select mac80211 debugging features  --->       

kernel 2.6.37:
<*>   cfg80210 - wireless configuration API                                                    
[ ]     nl80211 testmode command                                                               
[ ]     enable developer warnings                                                              
[ ]     cfg80211 regulatory debugging                                                          
[*]     enable powersave by default                                                            
[ ]     cfg80211 DebugFS entries                                                               
[*]     cfg80211 wireless extensions compatibility                                             
[*]   Wireless extensions sysfs files                                                          
<*>   Common routines for IEEE802.11 drivers                                                   
[ ]   lib80211 debugging messages                                                              
<*>   Generic IEEE 802.11 Networking Stack (mac80211)                                          
      Default rate control algorithm (Minstrel)  --->                                          
[ ]   Enable mac80211 mesh networking (pre-802.11s) support                                    
[*]   Enable LED triggers                                                                      
[ ]   Export mac80211 internals in DebugFS                                                     
[ ]   Select mac80211 debugging features  --->           
Comment 5 marioosh 2011-01-11 19:53:43 UTC
Setting in kernel CONFIG_HOSTAP=y will unhide a symbol:
CONFIG_WIRELESS_EXT=y
and module compile now successful.