Ben Ricketts
2005-Feb-23 21:04 UTC
[Asterisk-Users] Cannot compile latest version from CVS
Hi List, I just used cvsup to get the latest version of asterisk but I get a compile error.. : gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISK_VERSION=\"\" -DASTERISK_VERSION_NUM=000000 -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 -c -o config.o config.c In file included from config.c:34: include/asterisk/app.h:62: field `options' has incomplete type make: *** [config.o] Error 1 The version I downloaded a month or so ago compiles just fine. Has anyone else encountered this issue ? Best regards Ben
Brian Capouch
2005-Feb-24 00:12 UTC
[Asterisk-Users] Cannot compile latest version from CVS
Ben Ricketts wrote:> Hi List, > > I just used cvsup to get the latest version of asterisk but I get a > compile error.. : > > > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DASTERISK_VERSION=\"\" > -DASTERISK_VERSION_NUM=000000 -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 > -c -o config.o config.c > In file included from config.c:34: > include/asterisk/app.h:62: field `options' has incomplete type > make: *** [config.o] Error 1 > > > The version I downloaded a month or so ago compiles just fine. > > Has anyone else encountered this issue ? >Yes. There is an array definition without a dimension, got there from the IVR demo Mark put in a few days back. I just stuck "100" in the definition--I'm not using the app anyways--and it compiled. So now I guess I'll hear why I shouldn't have done that. . . B.