LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Proxim ORiNOCO 8420-WD Gold and 2.6.x - compilation errors. (https://www.linuxquestions.org/questions/linux-wireless-networking-41/proxim-orinoco-8420-wd-gold-and-2-6-x-compilation-errors-166086/)

Koxta 04-04-2004 11:23 AM

Proxim ORiNOCO 8420-WD Gold and 2.6.x - compilation errors.
 
Greetings!

I've switched to 2.6.x kernel and when I try to install the wl_lkm_718_release.tar.gz package, I get errors regarding mach_*.h files:

limbo work # cd pcmcia-cs-3.2.5/
limbo pcmcia-cs-3.2.5 # tar -zxvf wl_lkm_718_release.tar.gz

[...]

limbo pcmcia-cs-3.2.5 # ./Configure

-------- Linux PCMCIA Configuration Script --------

The default responses for each question are correct for most users.
Consult the PCMCIA-HOWTO for additional info about each option.

Linux kernel source directory [/usr/src/linux]:

The kernel source tree is version 2.6.3-gentoo-r1.
The current kernel build date is Sun Apr 4 14:55:41 2004.

Build 'trusting' versions of card utilities (y/n) [n]:
Include 32-bit (CardBus) card support (y/n) [y]:
Include PnP BIOS resource checking (y/n) [n]:
Module install directory [/lib/modules/2.6.3-gentoo-r1]:

Kernel configuration options:
Kernel-tree PCMCIA support is enabled.
Symmetric multiprocessing support is enabled.
Preemptive kernel support is enabled.
High memory support is disabled.
PCI BIOS support is enabled.
Power management (APM) support is enabled.
SCSI support is enabled.
IEEE 1394 (FireWire) support is disabled.
Networking support is enabled.
Radio network interface support is enabled.
Token Ring device support is disabled.
Fast switching is disabled.
Frame Diverter is disabled.
Module version checking is disabled.
Kernel debugging support is disabled.
Preemptive kernel patch is enabled.
/proc filesystem support is enabled.
PAE support is disabled.

touch: `include/config/modversions.h': No such file or directory
It looks like you have a System V init file setup.
The Forms library is not available.

Configuration successful.

** Your kernel is configured with PCMCIA driver support. Therefore,
** 'make all' will compile the PCMCIA utilities but not the drivers.
** See README-2.4 if this is not what you intended!

limbo pcmcia-cs-3.2.5 # ./Build
This system uses in-kernel pcmcia-cs.
make -C wireless -f wlags49_cs.mk all
make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.5-r1/work/pcmcia-cs-3.2.5/wireless'
make -C ../lib libstap-h1.a
make[2]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.5-r1/work/pcmcia-cs-3.2.5/lib'
gcc -o ../hcf/mmd_stap_h1.o -O -Wall -I. -I../include/hcf -I../include/wireless -I../hcf -I../hcf -I../hcf -I../firmware -I/lib/modules/2.6.3-gentoo-r1/build/include -I../include -D__KERNEL__ -DMODULE -DWVLAN_49 -DUSE_WPA -c ../hcf/mmd.c
In file included from /lib/modules/2.6.3-gentoo-r1/build/include/asm/smp.h:18,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/smp.h:17,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/sched.h:23,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/module.h:10,
from ../include/hcf/hcfcfg.h:766,
from ../hcf/hcf.h:81,
from ../hcf/mmd.c:62:
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /lib/modules/2.6.3-gentoo-r1/build/include/asm/smp.h:18,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/smp.h:17,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/sched.h:23,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/module.h:10,
from ../include/hcf/hcfcfg.h:766,
from ../hcf/hcf.h:81,
from ../hcf/mmd.c:62:
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:50: error: `MAX_APICS' undeclared here (not in a function)
In file included from /lib/modules/2.6.3-gentoo-r1/build/include/asm/smp.h:20,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/smp.h:17,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/sched.h:23,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/module.h:10,
from ../include/hcf/hcfcfg.h:766,
from ../hcf/hcf.h:81,
from ../hcf/mmd.c:62:
/lib/modules/2.6.3-gentoo-r1/build/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.3-gentoo-r1/build/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/lib/modules/2.6.3-gentoo-r1/build/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /lib/modules/2.6.3-gentoo-r1/build/include/linux/smp.h:17,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/sched.h:23,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/module.h:10,
from ../include/hcf/hcfcfg.h:766,
from ../hcf/hcf.h:81,
from ../hcf/mmd.c:62:
/lib/modules/2.6.3-gentoo-r1/build/include/asm/smp.h:72:26: mach_apicdef.h: Nie ma takiego pliku ani katalogu
In file included from /lib/modules/2.6.3-gentoo-r1/build/include/linux/smp.h:17,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/sched.h:23,
from /lib/modules/2.6.3-gentoo-r1/build/include/linux/module.h:10,
from ../include/hcf/hcfcfg.h:766,
from ../hcf/hcf.h:81,
from ../hcf/mmd.c:62:
/lib/modules/2.6.3-gentoo-r1/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.3-gentoo-r1/build/include/asm/smp.h:76: warning: implicit declaration of function `GET_APIC_ID'
In file included from ../hcf/hcf.h:81,
from ../hcf/mmd.c:62:
../include/hcf/hcfcfg.h: At top level:
../include/hcf/hcfcfg.h:771: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
../include/hcf/hcfcfg.h:771: warning: data definition has no type or storage class
make[2]: *** [../hcf/mmd_stap_h1.o] Błąd 1
make[2]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.5-r1/work/pcmcia-cs-3.2.5/lib'
make[1]: *** [stap-h1] Error 2
make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.5-r1/work/pcmcia-cs-3.2.5/wireless'
make: *** [all] Error 2

I've already tried to copy the mach_*.h files from asm-i386/mach-generic to /usr/include directory, but this only results in many new compilation errors.

Does anybody know how to fix this problem ?

Regards,

Jurek Bartuszek


All times are GMT -5. The time now is 07:01 AM.