LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-04-2004, 11:23 AM   #1
Koxta
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone got the proxim orinoco gold 8420-WD wireless pcmcia card working??? jipe Linux - Laptop and Netbook 15 03-02-2005 02:43 PM
Proxim Gold 8420-WD? Optimistic Linux - Wireless Networking 2 10-15-2004 06:01 PM
Proxim?Orinoco 8420-WD chopp Linux - Wireless Networking 2 08-27-2004 09:06 AM
Proxim 8420-WD orinoco gold, unsupported??? SlackinMonkeee Linux - Wireless Networking 3 08-06-2004 03:50 PM
rh9 proxim 8420(orinoco gold) and kismet pranitha Linux - Newbie 0 02-11-2004 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration