[Asterisk-Dev] chac_capi problem

Tamas Jalsovszky thomasj at eworld.hu
Wed Jul 30 11:10:01 MST 2003


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




More information about the asterisk-dev mailing list