LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-23-2006, 03:20 PM   #1
beer.h
LQ Newbie
 
Registered: May 2005
Location: Atlanta, Ga.
Distribution: Slackware 10 / Ubuntu 5
Posts: 12

Rep: Reputation: 0
Question build directory - is not a directory


Okay, this is a stupid n00b question, but it is sufficiently stupid and n00b that Google has yielded no help with it.

I need to edit autoconf.h.

When I try to go to /lib/modules/2.6.13/build/...
I can get as far as /lib/modules/2.6.13/, but build is not a directory - but some mystery file ending with @ - build@.

I was thinking that I had installed the kernel and modules properly, given that kernelversion is 2.6, which matches the findings of both modprobe -l and dir /lib/modules/. What have I screwed up?
 
Old 07-23-2006, 03:27 PM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
It's a symbolic link. If you type ls -l /lib/modules/2.6.13/build it'll show where it's linked to. Probably /usr/src/linux. The @ symbol signifies symbolic link. In other words the real file is elsewhere.
 
Old 07-23-2006, 03:28 PM   #3
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Rep: Reputation: 30
the directory you're looking for is a symlink to your kernel source directory, if it has red color and @ at the end, it means that the symlink is broken (you don't have the kernel source directory). So what you should do is install the kernel source (I see you're using the test kernel from Slack 10.2), just insert your Slackware CD 2, go into the testing directory and install the kernel-source packages. Do a 'ls -al /lib/modules/2.6.13/' and you'll see where the symlink is pointing, in your case it should be pointing to /usr/src/linux-2.6.13 . Try it, and post back with the result.

Right... simcox1 beat me to it .

Last edited by nykey; 07-23-2006 at 03:29 PM.
 
Old 07-24-2006, 08:51 AM   #4
beer.h
LQ Newbie
 
Registered: May 2005
Location: Atlanta, Ga.
Distribution: Slackware 10 / Ubuntu 5
Posts: 12

Original Poster
Rep: Reputation: 0
Smile

got it - thanks!
 
  


Reply

Tags
build, kernel, modules, symlink


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
Changing rpm Build directory veenanaidu Fedora 3 10-05-2006 02:18 PM
Missing build directory saga. furrypop Linux - Software 1 06-17-2006 02:32 PM
LXer: Use Apache Geronimo and Ajax to build a directory LXer Syndicated Linux News 0 06-16-2006 10:33 AM
No build directory in source directory FilthMasterFlex Mandriva 5 01-12-2005 03:03 PM
Config File in build directory dwessell Mandriva 1 05-08-2004 07:39 PM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration