On 07/19/2011 08:57 AM, Space Cake wrote: > Hi, > > I don't know exactly what happened but yesterday morning Makefile is > disappeared from my /usr/src/linux directory > > rw-r--r-- 1 root 0 89856 jún 1 12.18 config_38 > -rw-r--r-- 1 root 0 92513 jún 1 12.18 config_39 > lrwxrwxrwx 1 root 0 22 jún 1 13.42 linux -> linux-2.6.36-gentoo-r8 > drwxr-xr-x 24 root 0 4096 júl 18 17.47 linux-2.6.35-gentoo-r12 > drwxr-xr-x 21 root 0 4096 júl 5 14.50 linux-2.6.36-gentoo-r8 > drwxr-xr-x 10 root 0 4096 júl 5 14.52 linux-2.6.38-gentoo > drwxr-xr-x 21 root 0 4096 júl 5 14.54 linux-2.6.38-gentoo-r3 > drwxr-xr-x 23 root 0 4096 júl 18 17.59 linux-2.6.38-gentoo-r6 > drwxr-xr-x 21 root 0 4096 júl 5 14.51 linux-2.6.39-gentoo > > > brutal portage # uname -a > Linux brutal 2.6.36-gentoo-r8 #12 SMP Mon Jun 20 17:32:09 CEST 2011 i686 > Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz GenuineIntel GNU/Linux > > > symlink is good, I've tried to re-emerge the current gentoo-source > package but I still have no Makefile.... what is the easiest way to > solve a problem like this?
Is the current gentoo-sources package "linux-2.6.36-gentoo-r8"? If not, you're in the wrong directory. You probably want to, cd /usr/src/linux-2.6.39-gentoo make <whatever> ... ln -sf /usr/src/linux-2.6.39-gentoo /usr/src/linux the last line updates the /usr/src/linux symlink to point to the right place.