Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-12-2004, 02:09 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Driver compiling problems

I am trying to compile a CompactPci driver in 2.6.0. The driver worked fine in 2.4.20. I get the following error during the compile stage

/usr/src/linux-2.6/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function)

/usr/src/linux-2.6/include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function)

../common/PlxChip/Pci9656/PlxInterrupt.c: In function `OnInterrupt':

../common/PlxChip/Pci9656/PlxInterrupt.c:219: warning: implicit declaration of function `mark_bh'

../common/PlxChip/Pci9656/PlxInterrupt.c:221: `IMMEDIATE_BH' undeclared (first use in this function)

../common/PlxChip/Pci9656/PlxInterrupt.c:221: (Each undeclared identifier is reported only once

../common/PlxChip/Pci9656/PlxInterrupt.c:221: for each function it appears in.)

make: *** [Driver/Obj/PlxInterrupt.o] Error 1

Is there a way that i can fix this problem?
Old 03-12-2004, 03:00 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
My suggestion would be to try again with 2.6.4 and see if the newer kernel has fixed anything.

HTH, welcome to LinuxQuestions BTW.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RocketRAID 1520 driver compiling problems on Kernel 2.6.11-8 Icedman Linux - Hardware 8 09-08-2005 09:27 PM
Problems compiling the Ralink 2500 driver. Hungry ghost Linux - Hardware 4 06-13-2005 04:05 PM
Logitech Quickcam Messenger - Problems compiling driver Yukino Linux - Hardware 0 02-01-2005 04:03 PM
Problems with compiling at76c503a driver mphllps Linux - Wireless Networking 7 01-19-2004 08:16 PM
Problems compiling nvidia driver nef Linux - Newbie 2 01-28-2003 11:42 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:23 PM.

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