[Asterisk-Dev] chac_capi problem
Klaus-Peter Junghanns
kpj at junghanns.net
Wed Jul 30 11:57:54 MST 2003
Hi Thomas,
please read the README and INSTALL files. they will tell you
what you have to put into modules.conf (and dont forget a trailing
newline....).
regards
kapejod
--
Klaus-Peter Junghanns
CEO,CTO
Junghanns.NET GmbH
Breite Strasse 13 - 12167 Berlin - Germany
fon: +49 30 79705392
fax: +49 30 79705391
iaxtel: 1-700-157-8753
email: kpj at junghanns.net
http://www.junghanns.net/asterisk
Am Mit, 2003-07-30 um 20.10 schrieb Tamas Jalsovszky:
>
> Hello
>
> I got when I started Astersik:
> [app_capiCD.so]WARNING[1024]: File loader.c, Line 226 (ast_load_resource): /usr/lib/asterisk/modules/app_capiCD.so: undefined symbol: ast_capi_MessageNumber
> WARNING[1024]: File loader.c, Line 394 (load_modules): Loading module app_capiCD.so failed!
>
> I tryed latest Asterisk from CVS and chan_capi-0.2.4a
> on a Debian Woody box.
>
> Regards,
> Thomas
>
> also in compilation I got warnings (gcc version 2.95.4 20011002 (Debian prerelease)) e.g.:
> gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include/asterisk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DCAPI_GAIN -DDEFLECT_ON_CIRCUITBUSY -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
> In file included from /usr/include/asterisk/lock.h:17,
> from chan_capi.c:14:
> /usr/include/pthread.h:211: warning: `struct sched_param' declared inside parameter list
> /usr/include/pthread.h:211: warning: its scope is only this definition or declaration, which is probably not what you want.
> /usr/include/pthread.h:216: warning: `struct sched_param' declared inside parameter list
> /usr/include/pthread.h:302: warning: `struct sched_param' declared inside parameter list
> /usr/include/pthread.h:308: warning: `struct sched_param' declared inside parameter list
>
> ....
>
> gcc -shared -Xlinker -x -o app_capiECT.so app_capiECT.o
> gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include/asterisk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DCAPI_GAIN -DDEFLECT_ON_CIRCUITBUSY -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o app_capiMCID.o app_capiMCID.c
> In file included from /usr/include/asterisk/linkedlists.h:4,
> from /usr/include/asterisk/chanvars.h:17,
> from /usr/include/asterisk/channel.h:19,
> from /usr/include/asterisk/file.h:17,
> from app_capiMCID.c:16:
> /usr/include/pthread.h:211: warning: `struct sched_param' declared inside parameter list
> /usr/include/pthread.h:211: warning: its scope is only this definition or declaration, which is probably not what you want.
> /usr/include/pthread.h:216: warning: `struct sched_param' declared inside parameter list
> /usr/include/pthread.h:302: warning: `struct sched_param' declared inside parameter list
> /usr/include/pthread.h:308: warning: `struct sched_param' declared inside parameter list
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list