Page 1 of 1

Symbolic link: /lib/modules/2.6.26.5/build

Posted: 03 Mar 2009, 14:19
by bk
I am trying to build the V4L-DVB drivers on Bubba Two, but the build does not succeed since it is missing the file /lib/modules/2.6.26.5/build/.config

Looking for the file I noticed that the build folder is a symbolic link:

Code: Select all

bubba:~# ls -l /lib/modules/2.6.26.5/build        
lrwxrwxrwx 1 root root 50 Feb 27 23:56 /lib/modules/2.6.26.5/build -> /home/tor/work/kernel/2.6.26-5/linux-2.6.26.5-work
That doesn't seem quite right?

Posted: 07 Mar 2009, 04:48
by bk
Doesn't anyone know anything about this? I guess we already have a clue as to wherre the files might be :wink:

Posted: 07 Mar 2009, 07:04
by 6feet5
Have you tried using /proc/config.gz?

/Johan

Posted: 07 Mar 2009, 12:57
by bk
Thanks for the suggestion. It seems that somewhat more is needed though. The build script uses numerous files from the missing directory. Just for comparison, the corresponding directory on my Fedora 10 laptop has almost 9,000 files below it.

Posted: 08 Mar 2009, 18:21
by bk
I managed to get the compilation going by getting the files using:

Code: Select all

wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-.6.26.5.tar.bz2
as done by 6feet5 in the nfs thread (http://forum.excito.net/viewtopic.php?t=1193&start=15) and by using /prog/config.gz as suggested above, also by 6feet5.

Thanks.