LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-08-2003, 09: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, 10: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



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

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

All times are GMT -5. The time now is 08:06 AM.

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