[Asterisk-Users] Compile Error on RC2

david winter dwinter at planet-telecom.com
Mon Sep 20 12:57:37 MST 2004


can someone please let me kniow if you have any ideas why this wouldnt 
be working? ixjuser.h seems to be part of my glibc-devel2.3.3 package on 
my mandrake 10.1 install. i am alos including the ixjuser.h lines its 
complaining about.


typedef struct {
         int elements_used;
         IXJ_CADENCE_TERM termination;
         IXJ_CADENCE_ELEMENT __user *ce;  <-------line 353
} IXJ_CADENCE;



gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT 
-D_GNU_SOURCE  -O6 -march=i686     -DASTERISK_VERSION=\"1.0-RC2\" 
-DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" 
-DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" 
-DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" 
-DASTLOGDIR=\"/var/log/asterisk\" 
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" 
-DASTMODDIR=\"/usr/lib/asterisk/modules\" 
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN 
-Wno-missing-prototypes -Wno-missing-declarations        -DCRYPTO -fPIC 
    -c -o chan_oss.o chan_oss.c
gcc -shared -Xlinker -x -o chan_oss.so chan_oss.o
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT 
-D_GNU_SOURCE  -O6 -march=i686     -DASTERISK_VERSION=\"1.0-RC2\" 
-DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" 
-DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" 
-DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" 
-DASTLOGDIR=\"/var/log/asterisk\" 
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" 
-DASTMODDIR=\"/usr/lib/asterisk/modules\" 
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN 
-Wno-missing-prototypes -Wno-missing-declarations        -DCRYPTO -fPIC 
    -c -o chan_phone.o chan_phone.c
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 
`/home/dwinter/src/asterisk/asterisk-1.0-RC2/channels'
make: *** [subdirs] Error 1
[root at planet3 asterisk-1.0-RC2]#


David Winter
Senior Network Engineer
Planet-Telecom, Inc.
Tampa FL
(813)901-5182 Office
(813)864-3162 Direct
(813)817-4204 Mobile
(813)881-9762 Fax
------------------------------------------
AIM:     mobofool
ICQ:      3563403
MSN:    dwinter at vt.edu
Y!:        vt_fool




More information about the asterisk-users mailing list