LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-22-2007, 04:01 AM   #1
sundraish
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Thumbs up Problem with Compiling Driver in Linux-2.6.5 (Turbolinux-10 Desktop)


Dear all,

I am working in Ubuntu linux-2.6.17

Here i have developed one device driver for a PCI card, I compiled and installed it successfully in my PC and tested the driver in Fedora,ubuntu,mandriva linux versions.

Last week i tried to install this driver in "Turbolinux-10 with Kernel version 2.6.5". When Compiling driver, i got some errors related to makefile is,

Error: Makefile:421 /lib/modules/2.6.5-7/build/arch/i386/Makefile No such file or directory

My actual Make file code was,
-------------------------------------------------------------------
obj-m += atspci.o

KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

all:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules

clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
--------------------------------------------------------------------

I have checked my source code, but there is no fault in my code. Can anybody help me to solve this problem. Mostly i am expecting answer
from the people who are all working in Turbolinux-10 Desktop version(linux-2.6.5 kernel).

Regards,
Surya

Changes are the only thing that we cannot change ever...
 
  


Reply



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 compiling RivaTV driver with Linux 2.6.18 andygo Linux - Kernel 3 01-17-2007 12:33 AM
Problem compiling RT73 driver maxmike83 Fedora 1 11-29-2006 09:20 AM
Problem compiling r8169 driver BeGosV Linux - Networking 2 02-23-2006 02:25 PM
problem compiling cx88 driver EchO Linux - Software 1 02-04-2006 11:02 PM
Problem with compiling modem driver csspcman Linux - Software 1 08-14-2003 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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