Fresh install of Slackware 11 using 188.8.131.52 kernel. The latest libpri and zaptel from the 1.2 series compile and install without error. When I get to Asterisk however I get this error:
NG -DCRYPTO -fPIC -c -o chan_phone.o chan_phone.c
In file included from chan_phone.c:40:
/usr/include/linux/ixjuser.h:351: error: syntax error before ‘*’ token
make: *** [chan_phone.o] Error 1
make: Leaving directory `/root/dls/asterisk-1.2.18/channels’
make: *** [subdirs] Error 1
By Googling I found out how to fix this by adding a line to the chan_phone.c file but I really have no clue what that does I’d really like to know why it is happening - can someone explain?