I am trying to get the wireless working on my Lenovo X61. I have an Intel 
wireless 4965AGN. I have a brand new SuSE 10.2 install (64 bit). 

As best I can tell, I need to recompile my kernel(which is currently stock 
SuSE) with the mac80211 patch in order to get it to work (per these 
instructions: http://intellinuxwireless.org/?p=iwlwifi&n=HOWTO-iwlwifi). but 
I get compile errors (see the bottom of the included shell output). Google 
has proven unhelpful.

Has anyone gotten this wireless card working on 10.2, or have any ideas how to 
go about fixing the compile errors? 

Thanks in advance for any help.

-Jesse 


--------------------------BASH OUTPUT---------------------------------
hayden:~/mac80211-9.0.4 # uname -a
Linux hayden 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 x86_64 
x86_64 x86_64 GNU/Linux

hayden:~ # cd mac80211-9.0.4/
hayden:~/mac80211-9.0.4 # make

hayden:~/mac80211-9.0.4 # make patch_kernel
Patching from compatible/ to /lib/modules/2.6.18.8-0.5-default/source/:
 + Replaced 63 files.
Checking for required kernel build updates...
 - checking net/Kconfig and net/Makefile...
 - checking net/core/Makefile for old 'wireless'...
 - checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
 - checking net/core/dev.c for wireless_process_ioctl v. wext_handle_ioctl...
 - checking net/core/dev.c for linxu/wireless.h v. net/wext.h...
 - checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
 - checking net/Makefile and Kconfig for old 'd80211'...
 - checking drivers/net/wireless/Kconfig...
Done.

NOTE:  As of mac80211-2.0.0, kernel built-ins for the wireless extension
handlers have been replaced with built-ins provided by mac80211.  This
requires you to rebuild your main kernel image and reboot to that
kernel in order to use the mac80211 subsystem.  We are looking for ways
to correct this in the future.

Patching from patches/ to /lib/modules/2.6.18.8-0.5-default/source/:
Checking kernel compatibility in:
        /lib/modules/2.6.18.8-0.5-default/source//
   - Requires old genlmsg_put() compat
 + Applying: patches/post-genlmsg_put.patch
        API changes for genlmsg_put

hayden:~/mac80211-9.0.4 # cd /lib/modules/$(uname -r)/build

hayden:/lib/modules/2.6.18.8-0.5-default/build # make menuconfig
make -C /usr/src/linux-2.6.18.8-0.5 
O=/usr/src/linux-2.6.18.8-0.5-obj/x86_64/default menuconfig
  GEN     /usr/src/linux-2.6.18.8-0.5-obj/x86_64/default/Makefile
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included 
from /usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:24:
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:31:20: error: 
curses.h: No such file or directory
In file included 
from /usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:24:
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:128: error: 
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_colors’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:129: error: 
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_shadow’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:131: error: 
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attributes’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:143: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:146: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:147: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:148: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:149: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/dialog.h:151: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:31: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:59: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:95: error: 
expected ‘)’ before ‘*’ token
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c: In 
function ‘dialog_checklist’:
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:117: 
error: ‘WINDOW’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:117: error: 
(Each undeclared identifier is reported only once
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:117: error: 
for each function it appears in.)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:117: 
error: ‘dialog’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:117: 
error: ‘list’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:117: warning: 
left-hand operand of comma expression has no effect
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:121: warning: 
implicit declaration of function ‘endwin’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:122: warning: 
implicit declaration of function ‘fprintf’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:122: warning: 
incompatible implicit declaration of built-in function ‘fprintf’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:122: 
error: ‘stderr’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:140: 
error: ‘COLS’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:141: 
error: ‘LINES’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:143: warning: 
implicit declaration of function ‘draw_shadow’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:143: 
error: ‘stdscr’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:145: warning: 
implicit declaration of function ‘newwin’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:146: warning: 
implicit declaration of function ‘keypad’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:146: 
error: ‘TRUE’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:148: warning: 
implicit declaration of function ‘draw_box’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:148: 
error: ‘attributes’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:149: warning: 
implicit declaration of function ‘wattrset’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:150: warning: 
implicit declaration of function ‘mvwaddch’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:152: warning: 
implicit declaration of function ‘waddch’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:156: warning: 
implicit declaration of function ‘print_title’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:159: warning: 
implicit declaration of function ‘print_autowrap’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:166: warning: 
implicit declaration of function ‘subwin’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:191: warning: 
implicit declaration of function ‘print_item’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:197: warning: 
implicit declaration of function ‘print_arrows’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:200: warning: 
implicit declaration of function ‘print_buttons’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:202: warning: 
implicit declaration of function ‘wnoutrefresh’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:204: warning: 
implicit declaration of function ‘doupdate’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:207: warning: 
implicit declaration of function ‘wgetch’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:214: 
error: ‘KEY_UP’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:214: 
error: ‘KEY_DOWN’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:224: 
error: ‘FALSE’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:225: warning: 
implicit declaration of function ‘scrollok’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:226: warning: 
implicit declaration of function ‘wscrl’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:235: warning: 
implicit declaration of function ‘wrefresh’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:285: warning: 
incompatible implicit declaration of built-in function ‘fprintf’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:286: warning: 
implicit declaration of function ‘delwin’
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:290: 
error: ‘KEY_LEFT’ undeclared (first use in this function)
/usr/src/linux-2.6.18.8-0.5/scripts/kconfig/lxdialog/checklist.c:291: 
error: ‘KEY_RIGHT’ undeclared (first use in this function)
make[4]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make[3]: *** [menuconfig] Error 2
make[2]: *** [menuconfig] Error 2
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
hayden:/lib/modules/2.6.18.8-0.5-default/build #
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to