-   SUSE / openSUSE (
-   -   Why is /usr/src/linux named differently? (

MGorsky22 10-08-2007 04:45 PM

Why is /usr/src/linux named differently?
Hi all,

In past versions of openSUSE I had a directory named /usr/src/linux

I've installed openSUSE 10.3 on a reformatted drive and the same directory is now named /usr/src/linux- It seems to be some kind of reference to the kernel version.

Is there some option during installation to make sure the directory is named /usr/src/linux? It seems that the ../linx- creates a problem when trying to build an ATI driver. The rpm thinks there is no kernel-sources package installed when according to yast it's installed.

Thanks in advance,


pljvaldez 10-08-2007 04:57 PM

As root, do

cd /usr/src
ln -s /usr/src/linux- /usr/src/linux

That will create a symbolic link so that whenever anything looks for /usr/src/linux, it'll point to the other directory. Most distributions do it that way in case you have more than one kernel source on your machine. That way you can just change the symbolic link and have it compile.

MGorsky22 10-08-2007 06:54 PM

Jeez! I feel like such a knucklehead. Of course, a symbolic link.

Thanks! Greatly appreciated.

All times are GMT -5. The time now is 06:48 PM.