LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 03-12-2004, 03:09 AM   #1
silverline
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, 04:00 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
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.

Jamie...
 
  


Reply


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 10:27 PM
Problems compiling the Ralink 2500 driver. Hungry ghost Linux - Hardware 4 06-13-2005 05:05 PM
Logitech Quickcam Messenger - Problems compiling driver Yukino Linux - Hardware 0 02-01-2005 05:03 PM
Problems with compiling at76c503a driver mphllps Linux - Wireless Networking 7 01-19-2004 09:16 PM
Problems compiling nvidia driver nef Linux - Newbie 2 01-29-2003 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:58 PM.

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