View the Most Wanted LQ Wiki articles.
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 01-08-2003, 09:54 PM   #1
LQ Newbie
Registered: Jan 2003
Posts: 2

Rep: Reputation: 0
device driver

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, 10:00 AM   #2
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:

Hope that helps ...


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
device driver jful99 Programming 6 10-09-2005 01:34 AM
Device driver from 2.4 to 2.6 setu_garg Programming 1 09-16-2005 12:27 PM
device driver carthyc Linux - Newbie 1 07-07-2005 08:23 AM
Device Driver deveshs Programming 1 04-27-2005 12:53 AM
device driver rjc915 Programming 4 10-06-2003 12:43 PM

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