[Asterisk-Users] linux kernel 2.6.6

Dorian Gray asterisk at tintar.com
Fri Jul 2 06:32:42 MST 2004


Kevin Walsh wrote:
> Leif Madsen [leif.madsen@] wrote:
> 
>>Also, from what I have been told (and I've tested this by building
>>zaptel, but not any of the other sources) is that you no longer need
>>the sourcecode with the 2.6 kernel.  You can create a symlink to:
>>
>>/lib/modules/`uname -r`/build/
>>
>>Instead of the kernel source code.  Apparently that is the correct way
>>to compile now with the 2.6 kernel.  Please correct me if I am totally
>>wrong as it is not my intension to give false information (but like I
>>said, I built zaptel against that, and it works great for me).
> 
> Either way is fine.  I build the kernel from source every time (Gentoo),
> so I always have it as an available symlink target.  If you're forced
> to use a binary kernel distro then symlinking to /lib/modules/... is
> fine.

I believe linking to /lib/modules/xyz/build is the "new and approved" 
way that should be done for all external drivers in 2.6, whether it's a 
binary kernel or from source. (of course, I'm going to continue using 
/usr/src/linux for a while, heh...)




More information about the asterisk-users mailing list