[asterisk-dev] Installation and Compilation

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jan 11 16:29:09 MST 2007


First off: this is a is a questions for asterisk-users. Answering to
there.

On Thu, Jan 11, 2007 at 02:04:07PM -0800, bilal ghayyad wrote:
> Hi List;
> 
> To create the symbolic link, I read in the documenation that I have to type this command:
> 
> # ln -s /usr/src/'uname -r' /usr/src/linux-2.4
> 
> 1) What it means by 'uname -r'?

`uname -r`

The output of the command uname -r
You kernel revision. Modules get loaded from /lib/modules/`uname -r`

> 2) Why I have to create such symbolic link to do pointing for the kernel? For what exctly will be used with asterisk?

Actually those intructions are probably obsolete. What distribution do
you use? Have you built your own kernel? 
What is the output of: 

  ls -l /lib/modules/`uname -r`/build
  ls -l /lib/modules/`uname -r`/build/

Chances are you don't need that link.

> 3) What is the relation between creating such symbolic link and build directory?

Check zaptel/Makefile: the build link is used. If it does not exist, the
/usr/src dirs are used.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list