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
 
LinkBack Search this Thread
Old 01-08-2003, 08:54 PM   #1
yanw
LQ Newbie
 
Registered: Jan 2003
Posts: 2

Rep: Reputation: 0
device driver


Hi
I'm trying to write a device driver for a parallel port camera on a box running linux 2.4.18-3. However I seem to get an error that the structure "file_operations" is not found in <linux/fs.h> on compilation and that the file <asm/uaccess.h> does not exist. Does anyone know why this may be?
 
Old 01-23-2003, 09:00 AM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
That files are use to get some functions you are using, in that case your fs.h dont possess a part that is used in the compilation process, and it's possible that uaccess.h is in another place than specified in the Makefile. That files are part of the kernel-source, and be in places like:
/usr/src/linux-<version>/include/linux/fs.h
/usr/src/linux-<version>/pcmcia-cs-3.1.30/include/asm/uaccess.h

Hope that helps ...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
device driver jful99 Programming 6 10-09-2005 12:34 AM
Device driver from 2.4 to 2.6 setu_garg Programming 1 09-16-2005 11:27 AM
device driver carthyc Linux - Newbie 1 07-07-2005 07:23 AM
Device Driver deveshs Programming 1 04-26-2005 11:53 PM
device driver rjc915 Programming 4 10-06-2003 11:43 AM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration