Code Sample |
<snip> rdirq.h:6 from /mnt/sda1/SOURCES/KERNEL2.4.31/linux-2.4.31/include/linux/ interrupt.h:11, from /mnt/sda1/SOURCES/KERNEL2.4.31/linux-2.4.31/include/linux/ netdevice.h:489, from ipw2200.h:41, from ipw2200.c:33: /mnt/sda1/SOURCES/KERNEL2.4.31/linux-2.4.31/include/asm/hw_irq.h:28: `NR_IRQS' u ndeclared here (not in a function) /mnt/sda1/SOURCES/KERNEL2.4.31/linux-2.4.31/include/asm/hw_irq.h:31: `NR_IRQS' u ndeclared here (not in a function) ipw2200.c: In function `proc_set_debug_level': ipw2200.c:685: parse error before `char' ipw2200.c:688: `p' undeclared (first use in this function) ipw2200.c:688: (Each undeclared identifier is reported only once ipw2200.c:688: for each function it appears in.) ipw2200.c:692: `val' undeclared (first use in this function) ipw2200.c: In function `proc_get_nic_type': ipw2200.c:764: parse error before `type' ipw2200.c:766: `type' undeclared (first use in this function) ipw2200.c:768: warning: unreachable code at beginning of switch statement ipw2200.c:757: warning: unused variable `p' ipw2200.c: In function `dump_error_log': ipw2200.c:804: parse error before `char' ipw2200.c:806: `p' undeclared (first use in this function) ipw2200.c: In function `dump_event_log': ipw2200.c:840: parse error before `char' ipw2200.c:842: `p' undeclared (first use in this function) ipw2200.c: In function `proc_get_rf_kill': ipw2200.c:1273: parse error before `int' ipw2200.c:1275: `val' undeclared (first use in this function) ipw2200.c:1262: warning: unused variable `priv' ipw2200.c: In function `ipw_radio_kill_sw': ipw2200.c:1296: warning: implicit declaration of function `schedule_task' ipw2200.c: In function `ipw_get_fw': ipw2200.c:2759: warning: passing arg 3 of `request_firmware' from incompatible p ointer type ipw2200.c: In function `ipw_gather_stats': ipw2200.c:3644: warning: duplicate `const' ipw2200.c:3644: warning: duplicate `const' ipw2200.c:3644: warning: duplicate `const' ipw2200.c:3644: warning: duplicate `const' ipw2200.c:3644: warning: duplicate `const' ipw2200.c:3644: warning: duplicate `const' ipw2200.c:3644: warning: duplicate `const' ipw2200.c: In function `ipw_wpa_set_encryption': ipw2200.c:5564: warning: implicit declaration of function `__MOD_INC_USE_COUNT' ipw2200.c: In function `ipw_pci_probe': ipw2200.c:8442: warning: implicit declaration of function `flush_scheduled_tasks ' make[2]: *** [ipw2200.o] Error 1 make[2]: Leaving directory `/mnt/hda3/IPW2200_SOURCES/ipw2200-1.0.1' make[1]: *** [_mod_/mnt/hda3/IPW2200_SOURCES/ipw2200-1.0.1] Error 2 make[1]: Leaving directory `/mnt/sda1/SOURCES/KERNEL2.4.31/linux-2.4.31' make: *** [modules] Error 2 |
Code Sample |
/mnt/sda1/SOURCES/KERNEL2.4.31/linux-2.4.31/include/asm/mpspec.h:6: mach_mpspec. h: No such file or directory |
Quote |
Chnge the following: /usr/src/linux/include/asm/mpspec.h In line 6 change: <mach_mpspec.h> to: <asm/mach-default/mach_mpspec.h> /usr/src/linux/include/asm/smp.h In line 71 change: <mach_apicdef.h> to: <asm/mach-default/mach_apicdef.h> (from http://forum.paragon-software.com/customer/viewtopic.php?=&p=902 ) |
Quote |
<snip> EXTRA_CFLAGS := -I$(KSRC)/include/linux ifneq ($(CONFIG_IPW_DEBUG),) EXTRA_CFLAGS += -g -Wa,-adhlms=$@.lst endif <snip> Then use make KSRC=/path/to/mysources |
Quote |
Changed kernel from 2.4.34.1 to 2.4.31 to gain user contributed modules, e.g., ipw2* and nvidia. |
Quote |
Here I'm assuming Tempestous did actually compile this on a livecd boot of dsl-2.1b, and not on eg Woody or Slackware or RH9 with the same kernel or something. |