Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux 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!


  Search this Thread
Old 04-03-2013, 02:20 AM   #1
LQ Newbie
Registered: Apr 2013
Posts: 3

Rep: Reputation: Disabled
Make command giving me headaches. Help?

I'm new to Fedora-based distros and trying to build a driver in Blag. I have already downloaded and uncompressed the tar.gz, downloaded all updates, headers, and kernel-devel (I think). When I try to run the "make" command, I get the following error:

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make: *** /lib/modules/ No such file or directory. Stop.
make: *** [all] Error 2
What exactly am I missing?
Old 04-03-2013, 03:49 AM   #2
LQ Newbie
Registered: Apr 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Okay. After some trial and error, I managed to find a file I was missing and the make command worked as prescribed. Now I'm being told that I need to use the insmod command to activate the driver, but am getting the following error:

insmod: can't read 'w1.ko': No such file or directory
It's entirely possible that I'm using the wrong syntax. At the terminal prompt, I'm typing:

insmod w1.ko
This is following the install instructions that came with the driver source. Any idea what I'm doing wrong?
Old 04-03-2013, 04:24 AM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,400

Rep: Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584Reputation: 2584
please do not "bump" your own posts
you can edit it
all that that did was remove it from the " zero reply " list

also fedora 14 is LONG dead
please install a supported version of fedora
Fedora 17 and 18 are the only two versions that are supported
and 17 will go "end of life" very soon

on fedora just installing "gcc" and "make"
will not get you all the needed programs ( and with fedora 14 being unsupported for a long time ,installing what you need will be a bit difficult )

for installing the build tools see the software groups
su -
yum grouplist
then from that long list
su -
yum groupinstall "Development Tools" "Development Librarys"
double check the name of "Development Librarys" , it might be under a slightly different name

also what is this unnamed "driver"
and where did you get it
-- the web address would help
because no one here can read the instructions that you have , if we do not know what it is


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
Make command giving me headaches. jdrakeh Linux - Software 1 04-03-2013 03:03 AM
Qt giving me a hard time. Could not fine make command Birdman48 Programming 3 08-06-2011 12:54 PM
Ark in KDE4 is giving me headaches.... mattydee Slackware 5 09-21-2009 06:56 PM
[SOLVED] append command output to file by giving command in terminal sumeet inani Linux - Newbie 4 07-03-2009 11:36 AM
Apache and CGI is giving me headaches inpt Linux - Software 3 06-10-2005 12:24 PM > Forums > Linux Forums > Linux - Newbie

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

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