[Asterisk-Users] linux kernel 2.6.6

WipeOut wipe_out at users.sourceforge.net
Fri Jul 2 06:55:10 MST 2004


Dorian Gray wrote:

> 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...)
>
>
I found linking to /lib/modules/XXX/build far simpler and would build 
far easier than linking to anywhere else..

Later..



More information about the asterisk-users mailing list