SlackwareThis Forum is for the discussion of Slackware Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
that sure looks like a kernel-tree.
now look at the output of : ls -l /lib/modules/2.4.25/build
that should be a link to the kerneltree--->/usr/src/linux ?
There is no /usr/src/linux-2.4.25 in the /usr/src folder, if the previous information is accurate-- the source tree is directly in /usr/src/linux.
You have two choices, if I am correct.
You can adjust the symlink to conform to your current sourcetree, or you can adjust your sourcetree so that it conforms to the symlink.
To adjust the symlink (leaving your sourcetree as it is):
1) open a terminal
2) su to root
3) type mc to open the Midnight Commander file manager.
4) browse to /lib/modules/2.4.25/
5) select the "build" item.
6) Click on the File menu at the top of the MC screen and choose "edit sYmlink"
7) in the resulting dialog, change the symlink target to read /usr/src/linux.
8) exit MC and try the compile again.
To change your sourcetree to conform to the current symlink target:
1) Open any file manager as root (meaning if KDE, use Konqueror file manager (Super User Mode), or open a terminal, su to root and type the name of any file manager you might normally use) and browse to /usr/src.
2) rename the current "linux" directory to "linux-2.4.25".
3) symlink linux-2.4.25 to a symlink called "linux" using the command
ln -s /usr/src/linux-2.4.25 /usr/src/linux
4) close the file manager and try the compile again.
Thanks for the suggestions everyone. I'll try them after I download the Alsa drivers again. I think I forgot to download a the lib and oss-lib archives.
I forgot how to extract the tar file from the bz2 and how to untar the file.
I think I need to use bunzip2 *.bz2 then tar xvzf *.tar
I don't think I have midnight commander installed because the command "MC" doesn't work. Any suggestions? I can access a shell window from Window Maker though.
Thanks for being so patient with me.
Last edited by starionwolf; 12-26-2004 at 11:08 PM.
Hi! Sorry for not replying in a while. I had to fix my computer and reinstall Amigo Linux / Slackware 9. I'm halfway finished. After Linux is running, I'll try to follow these directions and compile the sources again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.