problem while building a driver /lib/modules/'kernel-ver-default'/build: No such file
Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to install a data acquisition A2D card from General Standards Corporation. I am new to installing drivers for linux.
I am using opensuse 11.2 kernel 2.6.31.5-0.1-default
Installed linux from scratch (KDE4) on a 32-bit pentium 4 machine.
opensuse 11.2 seems to be working fine.
Downloaded the kernel sources, the "make" application, gcc (which required the kernel headers).
The sources are in /usr/src ... as expected (?)
There is a broken link in /lib/modules/2.6.31.5-0.1-default called "build" that points to the inexistent
/usr/src/linux-2.6.31.5-0.1-obj/i386/default
FYI - only /usr/src/linux-2.6.31.5-0.1-obj exists
Question 1 - where did this broken link come from?
It so happens that the "make_all" that comes with the linux drivers for my A2D card looks for that precise broken link. I imagine this is pretty common but I didn't know that.
Question 2 - what is supposed to be in that broken link and how can I fix it so that it points to the correct directory.
If I just "fix the link" and make it point to, say
/usr/src/linux-2.6.31.5-0.1
the "make_all" application of the A2D card keeps going a little further, but then it tells me that autoconf.h and auto.conf couldn't be found, and that I could try to use "make oldconfig && make prepare".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.