LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-01-2004, 11:14 AM   #1
epoo
Member
 
Registered: Aug 2003
Distribution: slackware 11, ubuntu 7.04
Posts: 165

Rep: Reputation: 30
mp_irqs problems - atmelwlandriver


im trying to "make all" the atmelwlandriver, but it quits with the error:
"lib/modules/2.6.2/build/include/asm/smp.h:72:26: mach_apicdef.h: No such file or directory"
i was able to compile this driver when i was running 2.4.22, but i recently installed 2.6.2, and now it wont work.
this is on a dell laptop with ati radeon chipset and slack 9.1.
any suggestions ?

Last edited by epoo; 03-01-2004 at 03:00 PM.
 
Old 03-01-2004, 12:21 PM   #2
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
upgrades upgrades everywhere...

Well, there are a few things you need to do to get ready for re-compiling drivers for different kernel versions. #1 - Are you sure that the 2.4.xxx code that you have can build for a 2.6.xxx kernel version (my guess would be no, but I'm not 100% familiar with that package). #2 - Did you make sure to reconfigure the software for a 2.6.xxx kernel? #3 - if you have done all of those things and there's still problems, post a detailed output of the configure options, source package version, and build errors.

Good Luck,
Aaron
 
Old 03-01-2004, 02:59 PM   #3
epoo
Member
 
Registered: Aug 2003
Distribution: slackware 11, ubuntu 7.04
Posts: 165

Original Poster
Rep: Reputation: 30
well, i downloaded the most recent version of the atmelwlandriver, which was dated feb 27th.
it doesnt say which kernel ver. its created for.
yes, im recompiling it under the 2.6.2 kernel. i fixed the last error, but heres what i get now:

bash-2.05b# make all
Building src/Pcmcia_Pci
make[1]: Entering directory `/usr/src/atmelwlandriver/src/Pcmcia_Pci'
PCMCIA yes : revd
make[2]: Entering directory `/usr/src/atmelwlandriver/src/Pcmcia_Pci'
make clean
make[3]: Entering directory `/usr/src/atmelwlandriver/src/Pcmcia_Pci'
find . -name '*.o'|xargs rm -f
find . -name '*.ko'|xargs rm -f
make[3]: Leaving directory `/usr/src/atmelwlandriver/src/Pcmcia_Pci'
make final CFLAGS:='-I/lib/modules/2.6.2/build/include -DLINUX_OS -D__KERNEL__ -pipe -O2 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.6.2/build/include -I/usr/src/atmelwlandriver/src/includes -I/usr/src/atmelwlandriver/src/includes/pcmcia -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_D' RF:='0' DBG:='0' MODULE:='pcmf502rd' LIB:=-REVD-
make[3]: Entering directory `/usr/src/atmelwlandriver/src/Pcmcia_Pci'
gcc -I/lib/modules/2.6.2/build/include -DLINUX_OS -D__KERNEL__ -pipe -O2 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.6.2/build/include -I/usr/src/atmelwlandriver/src/includes -I/usr/src/atmelwlandriver/src/includes/pcmcia -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_D -c -o card.o card.c
In file included from /lib/modules/2.6.2/build/include/asm/smp.h:18,
from /lib/modules/2.6.2/build/include/linux/smp.h:17,
from /lib/modules/2.6.2/build/include/linux/sched.h:23,
from /usr/src/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /usr/src/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/lib/modules/2.6.2/build/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /lib/modules/2.6.2/build/include/asm/smp.h:18,
from /lib/modules/2.6.2/build/include/linux/smp.h:17,
from /lib/modules/2.6.2/build/include/linux/sched.h:23,
from /usr/src/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /usr/src/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/lib/modules/2.6.2/build/include/asm/mpspec.h:8: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/mpspec.h:9: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/mpspec.h:10: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/mpspec.h:12: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/mpspec.h:19: `MAX_APICS' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/mpspec.h:20: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/mpspec.h:20: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.2/build/include/asm/mpspec.h:8: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.2/build/include/asm/mpspec.h:22: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/mpspec.h:24: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/mpspec.h:24: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.2/build/include/asm/mpspec.h:12: previous declaration of `mp_bus_id_to_pci_bus'
/lib/modules/2.6.2/build/include/asm/mpspec.h:50: `MAX_APICS' undeclared here (not in a function)
In file included from /lib/modules/2.6.2/build/include/asm/smp.h:20,
from /lib/modules/2.6.2/build/include/linux/smp.h:17,
from /lib/modules/2.6.2/build/include/linux/sched.h:23,
from /usr/src/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /usr/src/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/lib/modules/2.6.2/build/include/asm/io_apic.h:160: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.2/build/include/asm/io_apic.h:160: conflicting types for `mp_irqs'
/lib/modules/2.6.2/build/include/asm/mpspec.h:22: previous declaration of `mp_irqs'
make[3]: *** [card.o] Error 1
make[3]: Leaving directory `/usr/src/atmelwlandriver/src/Pcmcia_Pci'
make[2]: *** [revd] Error 2
make[2]: Leaving directory `/usr/src/atmelwlandriver/src/Pcmcia_Pci'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/atmelwlandriver/src/Pcmcia_Pci'
make: *** [all] Error 1
bash-2.05b#
 
Old 06-07-2005, 04:36 AM   #4
KiloByte
LQ Newbie
 
Registered: Jun 2005
Location: Italy
Distribution: Debian
Posts: 8

Rep: Reputation: 0
ehm click here

I have the same problem ... it seems to be a bug
in bief : the mpspec.h include the mach_spech.h
but mach_spech.h is not in /lib/modules/linux/build/include/asm/
but in /lib/modules/2.6.8-1-686-smp/build/include/asm-i386/mach-*


see the post in debian.org for more details

ah if anyone have the solution ...


p.s.: sorry for my english , i'm italian

Last edited by KiloByte; 06-07-2005 at 04:39 AM.
 
  


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
Atmelwlandriver/Belkin F5D2060 ver. 2 on FC4 Help Masdl Linux - Wireless Networking 1 08-22-2005 12:52 PM
Can't get atmelwlandriver to compile MatthewASmith79 Linux - Wireless Networking 5 09-04-2004 12:38 PM
Problem with atmelwlandriver install Mojojo Linux - Software 3 03-19-2004 03:53 PM
installing atmelwlandriver tgkspike Linux - General 0 02-16-2004 06:07 PM
Patching Atmelwlandriver Crimson Azure Linux - Newbie 0 09-24-2003 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 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