Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-09-2002, 08:38 AM   #1
Registered: Dec 2001
Posts: 35

Rep: Reputation: 15
driver install problem. It's for redhat 6.2, but compiling in 7.3


I'm using provideo capture card. It has winbond 99200F chip and provideo has provided a Linux driver, albeit it's an old one.

The driver is for RedHat 6.2, but I'm using RedHat 7.3. when I type "make", the error below appears:

gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -c init.c
In file included from init.c:17:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from init.c:24:
wkglobal.h:52:11: warning: no newline at end of file
init.c:34:55: asm/uaccess.h: No such file or directory
make: *** [init.o] Error 1

Checking my filesystem, the file is in /usr/i386-glibc21-linux/include/asm/hardirq.h

I've tried to copy those files to /usr/include/asm, but more errors appear. I guess that's not the proper way to solve problem

Can anyone help?
Old 09-09-2002, 09:26 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Well as far as I know Redhat 6.2 used the 2.2 kernel series if not an older one. There have been many changes when switching to the 2.4 kernels. So most likely the driver will have to be patched to be able to work with the newer kernels.
But all those files that are missing should be present even for a 2.4 kernel. So you probably should install the kernel rpm. I think they even have a seperate rpm just for the kernel headers which should be enough.
Old 09-09-2002, 06:52 PM   #3
Registered: Dec 2001
Posts: 35

Original Poster
Rep: Reputation: 15
I've the kernel vanilla source, not the redhat rpm. But I thought that should satisfy the compiling. Problem is, 2.4 places a few include files in different directories. Even though I copied them to wherever the compiler needs them, there are lots of errors (things being undeclared, etc) which I supposed that that is not the way to solve my problem.
Old 09-09-2002, 07:01 PM   #4
Registered: Dec 2001
Posts: 35

Original Poster
Rep: Reputation: 15
Well, I mv my /usr/include/linux and /usr/include/asm, and replaced them with softlinks to /usr/src/linux/include/linux and /usr/src/linux/include/asm

It compiles with a lot of warnings, but otherwise ok (no error). But when I try to load the module by insmod wkmpj.o, it has this error:

/usr/bin/wkmpj.o: unresolved symbol module_unregister_chrdev
/usr/bin/wkmpj.o: unresolved symbol module_register_chrdev
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.


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
Problem with modversions.h when compiling modem driver jimdaworm Slackware 4 10-15-2004 03:24 AM
problem compiling kernel for installing alcatel driver fawkes.phoenix Linux - Software 2 07-01-2004 01:46 PM
RedHat 9 video driver problem during install artifice Red Hat 3 02-24-2004 04:21 PM
Problem with compiling modem driver csspcman Linux - Software 1 08-14-2003 01:36 PM
compiling SmartLink modem driver problem bugyugo Linux - Laptop and Netbook 1 07-23-2003 09:42 AM > Forums > Linux Forums > Linux - Software

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

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