Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-23-2006, 04:20 PM   #1
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, 04:27 PM   #2
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, 04:28 PM   #3
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 04:29 PM.
Old 07-24-2006, 09:51 AM   #4
LQ Newbie
Registered: May 2005
Location: Atlanta, Ga.
Distribution: Slackware 10 / Ubuntu 5
Posts: 12

Original Poster
Rep: Reputation: 0

got it - thanks!


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 03:18 PM
Missing build directory saga. furrypop Linux - Software 1 06-17-2006 03:32 PM
LXer: Use Apache Geronimo and Ajax to build a directory LXer Syndicated Linux News 0 06-16-2006 11:33 AM
No build directory in source directory FilthMasterFlex Mandriva 5 01-12-2005 04:03 PM
Config File in build directory dwessell Mandriva 1 05-08-2004 08:39 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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