[Asterisk-Users] chan_phone - compilation problem

Dave Cotton dcotton at linuxautrement.com
Thu Aug 19 04:51:00 MST 2004


On Thu, 2004-08-19 at 13:40 +0200, Marcin Mazurek wrote:
> Hi,
> 
> I have a latest asterisk cvs sources on my box, the rest of enviroment
> is:
> gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
> linux 2.6.7
> 
> 
> and after checkout I get:
> 
> In file included from chan_phone.c:36:
> /usr/include/linux/ixjuser.h:353: error: syntax error before '*' token
> make[1]: *** [chan_phone.o] Error 1
> make[1]: Leaving directory
> `/usr/local/src/avm/asterisk/asterisk/channels'
> make: *** [subdirs] Error 1
> 
> I have symlink "/usr/src/linx". It's a _fresh_ checkout, not an update.
> 
> WWW says I need 2.4 kernel. Will asterisk compile and work on 2.6
> kernels?       


Yes.

Line 353 is  IXJ_CADENCE_ELEMENT __user *ce;

I've added a ',' as below and it all compiles.

 IXJ_CADENCE_ELEMENT __user, *ce;


-- 
Dave Cotton <dcotton at linuxautrement.com>




More information about the asterisk-users mailing list