did you try recompiling chan_capi?
On Saturday 21 July 2007 11:46:23 am Michael Iedema wrote: > Hans Petter, > > > After installing asterisk 1.4.8's new headers I now get the following > > errors compiling chan_capi. > > > > MiniBSD # gmake > > ... > > > chan_capi.c:33:1: invalid digit "8" in octal constant > > ... > > For some reason, the constant ASTERISK_VERSION_NUM in > asterisk/version.h is being seen as an octal constant. Since its value > is now 10408 with 1.4.8, it is an invalid octal value and breaks all > of the #ifdefs found throughout chan_capi. > > I changed the value back to 10407 and now it compiles successfully > with the output attached below. I'm away from the test box right now > so I can't test the audio with this fresh version. I just wanted you > to know that the compile errors were perhaps simply due to a minor > bug. > > Best Regards, > -Michael I. > > > > MiniBSD # gmake > ./create_config.sh "/usr/local/include" > Checking Asterisk structures and files ... > * no 'struct ast_codec_pref' > * found 'struct ast_channel_tech' > * found 'ast_bridged_channel' > * found 'ast_bridge_result' > * found bridge with timeoutms > * ast_dsp_process() without 'needlock' > * found 'struct ast_callerid' > * found 'struct timeval delivery' > * found 'transfercapability' > * found 'ast_set_read_format' > * found 'ast_set_write_format' > * found 'ast_config_load' > * found 'AST_CONTROL_HOLD' > * found 'struct ast_custom_function' > * found 'devicestate.h' > * found Asterisk version 1.4.x > * found version header file: /usr/local/include/asterisk/version.h > config.h complete. > gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g > -I/usr/local/include -I/usr/include/i4b/include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i386 -Wformat -DASTERISKVERSION=\"\" > -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o > chan_capi.o chan_capi.c > chan_capi.c:1396:2: warning: #warning "What about cd->next after free? > Currently 'cd' is not freed by cd_free()." > chan_capi.c: In function `capi_send_connect_resp': > chan_capi.c:3150: warning: implicit declaration of function > `__dont_use_localtime_r_use_ast_localtime_instead__' > chan_capi.c:4967:2: warning: #warning "Should send a messages, but which?" > chan_capi.c:5120:2: warning: #warning "Cannot do this, because one > cannot lock 'pbx_chan' here!" > chan_capi.c:5648:2: warning: #warning "Maybe cannot write these > variables here! Locking issue!" > chan_capi.c:5659:2: warning: #warning "Does not handle length == 0xFF" > chan_capi.c:7130:2: warning: #warning "TODO: check for calls that > never received connect_conf;" > gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g > -I/usr/local/include -I/usr/include/i4b/include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i386 -Wformat -DASTERISKVERSION=\"\" > -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o > c20msg.o c20msg.c > gcc -shared -Xlinker -x -o chan_capi.so chan_capi.o c20msg.o -lcapi20 > MiniBSD # > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > Asterisk-BSD mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- Asterisk-BSD mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-bsd

