Summary:ASTERISK-02734: Syntax error before * token in file included from chan_phone.c:37:
Reporter:kwright (kwright)Labels:
Date Opened:2004-11-03 10:28:37.000-0600Date Closed:2011-06-07 14:10:48
Versions:Frequency of
Description:During build of Asterisk (CVS-HEAD-11/03/04-12:15:28) on a Mandrake system (kernel 2.6) I got the following error:

In file included from chan_phone.c:37:
/usr/include/linux/ixjuser.h:353: error: syntax error before '*' token
make[1]: *** [chan_phone.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [subdirs] Error 1

My first attempt I checked out Asterisk with the following:

cvs checkout -r v1-0 zaptel libpri asterisk asterisk-addons asterisk-sounds

I deleted it after my first failed attempt to build Asterisk and then checked it out again with the following:

cvs checkout asterisk

Both builds produced exactly the same error.

The zaptel and libpri built with no problems.
Comments:By: Olle Johansson (oej) 2004-11-03 13:45:44.000-0600

Have you checked the syntax of the mentioned file - it's not an Asterisk file...

By: Olle Johansson (oej) 2004-11-03 13:48:02.000-0600

This is *not* a MAJOR bug.

By: Mark Spencer (markster) 2004-11-03 22:47:54.000-0600

This is a system specific build issue.  Please contact quicknet for assistance and keep technical support requests off the bug tracker.