I have a error when try to compile de chan_unicall.c with Asterisk. Others modules like spandsp, libsupertone, libunicall & libmfc2 is sucessfully compiled (using --prefix=/usr) with the last version avaliable at ftp.soft-switch.org I am using the stable_version from CVS, with zaptel & libpri... a TE110P is installed. The R2 variant is from "Argentina", i am in Ecuador. This is a output error... thank you so much por any help. gcc -shared -Xlinker -x -o chan_mgcp.so chan_mgcp.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_iax2.o chan_iax2.c chan_iax2.c: In function `__send_command': chan_iax2.c:2875: warning: assignment discards qualifiers from pointer target type gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o iax2-parser.o iax2-parser.c gcc -shared -Xlinker -x -o chan_iax2.so chan_iax2.o iax2-parser.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_local.o chan_local.c gcc -shared -Xlinker -x -o chan_local.so chan_local.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_skinny.o chan_skinny.c gcc -shared -Xlinker -x -o chan_skinny.so chan_skinny.o gcc -o gentone gentone.c -lm ./gentone busy 480 620 Wavelength 1 (in samples): 16.66667 Minimum samples (1): 50 (3.000000.3 wavelengths) Wavelength 1 (in samples): 12.90323 Minimum samples (1): 400 (31.000000.3 wavelengths) Need 400 samples Wrote busy.h ./gentone ringtone 440 480 Wavelength 1 (in samples): 18.18182 Minimum samples (1): 200 (11.000000.3 wavelengths) Wavelength 1 (in samples): 16.66667 Minimum samples (1): 50 (3.000000.3 wavelengths) Need 200 samples Wrote ringtone.h gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -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 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_phone.o chan_phone.c chan_phone.c: In function `phone_read': chan_phone.c:405: warning: assignment discards qualifiers from pointer target type gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_unicall.o chan_unicall.c In file included from chan_unicall.c:41: /usr/include/asterisk/utils.h:126: error: redefinition of `struct ast_hostent' chan_unicall.c:142: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_unicall.c:142: warning: parameter names (without types) in function declaration chan_unicall.c:142: warning: data definition has no type or storage class chan_unicall.c:145: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_unicall.c:145: warning: parameter names (without types) in function declaration chan_unicall.c:145: warning: data definition has no type or storage class chan_unicall.c:149: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_unicall.c:149: warning: parameter names (without types) in function declaration chan_unicall.c:149: warning: data definition has no type or storage class chan_unicall.c: In function `unicall_hangup': chan_unicall.c:1526: error: `usecnt_lock' undeclared (first use in this function) chan_unicall.c:1526: error: (Each undeclared identifier is reported only once chan_unicall.c:1526: error: for each function it appears in.) chan_unicall.c:1535: error: `iflock' undeclared (first use in this function) chan_unicall.c: In function `unicall_read': chan_unicall.c:2326: error: too few arguments to function `ast_async_goto' chan_unicall.c:2339: error: too few arguments to function `ast_async_goto' chan_unicall.c:2428: error: too few arguments to function `ast_dsp_process' chan_unicall.c:2479: error: too few arguments to function `ast_async_goto' chan_unicall.c: In function `unicall_new': chan_unicall.c:2787: error: `usecnt_lock' undeclared (first use in this function) chan_unicall.c: In function `do_monitor': chan_unicall.c:3315: error: `iflock' undeclared (first use in this function) chan_unicall.c: In function `restart_monitor': chan_unicall.c:3460: error: `monlock' undeclared (first use in this function) chan_unicall.c: In function `unicall_request': chan_unicall.c:3886: error: `iflock' undeclared (first use in this function) chan_unicall.c: In function `unicall_show_channels': chan_unicall.c:4175: error: `iflock' undeclared (first use in this function) chan_unicall.c: In function `unicall_show_channel': chan_unicall.c:4204: error: `iflock' undeclared (first use in this function) chan_unicall.c: In function `setup_unicall': chan_unicall.c:4308: error: `iflock' undeclared (first use in this function) chan_unicall.c: In function `unload_module': chan_unicall.c:4608: error: `iflock' undeclared (first use in this function) chan_unicall.c:4624: error: `monlock' undeclared (first use in this function) chan_unicall.c: In function `usecount': chan_unicall.c:4702: error: `usecnt_lock' undeclared (first use in this function) chan_unicall.c: At top level: chan_unicall.c:341: warning: 'hangup_uc2cause' defined but not used chan_unicall.c:870: warning: 'reset_conf' defined but not used chan_unicall.c:1008: warning: 'unicall_train_ec' defined but not used make[1]: *** [chan_unicall.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/channels' make: *** [subdirs] Error 1 [root@fw2 asterisk]# [root@fw2 asterisk]# [root@fw2 asterisk]# _________________________________________________________________ MSN Busca: f?cil, r?pido, direto ao ponto. http://search.msn.com.br
Fabio, what distro/krnl version/asterisk version are you using? You can get many dif. versions from the CVS. Hector. On 4/20/05, Fabio Vasco <fabiohvgomes@hotmail.com> wrote:> I have a error when try to compile de chan_unicall.c with Asterisk. Others > modules like spandsp, libsupertone, libunicall & libmfc2 is sucessfully > compiled (using --prefix=/usr) with the last version avaliable at > ftp.soft-switch.org > > I am using the stable_version from CVS, with zaptel & libpri... a TE110P is > installed. The R2 variant is from "Argentina", i am in Ecuador. > > This is a output error... thank you so much por any help. > > gcc -shared -Xlinker -x -o chan_mgcp.so chan_mgcp.o > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 > -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations > -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_iax2.o > chan_iax2.c > chan_iax2.c: In function `__send_command': > chan_iax2.c:2875: warning: assignment discards qualifiers from pointer > target type > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 > -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations > -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o iax2-parser.o > iax2-parser.c > gcc -shared -Xlinker -x -o chan_iax2.so chan_iax2.o iax2-parser.o > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 > -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations > -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_local.o > chan_local.c > gcc -shared -Xlinker -x -o chan_local.so chan_local.o > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 > -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations > -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_skinny.o > chan_skinny.c > gcc -shared -Xlinker -x -o chan_skinny.so chan_skinny.o > gcc -o gentone gentone.c -lm > ./gentone busy 480 620 > Wavelength 1 (in samples): 16.66667 > Minimum samples (1): 50 (3.000000.3 wavelengths) > Wavelength 1 (in samples): 12.90323 > Minimum samples (1): 400 (31.000000.3 wavelengths) > Need 400 samples > Wrote busy.h > ./gentone ringtone 440 480 > Wavelength 1 (in samples): 18.18182 > Minimum samples (1): 200 (11.000000.3 wavelengths) > Wavelength 1 (in samples): 16.66667 > Minimum samples (1): 50 (3.000000.3 wavelengths) > Need 200 samples > Wrote ringtone.h > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 > -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations > -DZAPATA_PRI -DIAX_TRUNKING -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 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 > -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations > -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_phone.o > chan_phone.c > chan_phone.c: In function `phone_read': > chan_phone.c:405: warning: assignment discards qualifiers from pointer > target type > gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o > gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-04/20/05-21:22:27\" -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 > -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations > -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_unicall.o > chan_unicall.c > In file included from chan_unicall.c:41: > /usr/include/asterisk/utils.h:126: error: redefinition of `struct > ast_hostent' > chan_unicall.c:142: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_unicall.c:142: warning: parameter names (without types) in function > declaration > chan_unicall.c:142: warning: data definition has no type or storage class > chan_unicall.c:145: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_unicall.c:145: warning: parameter names (without types) in function > declaration > chan_unicall.c:145: warning: data definition has no type or storage class > chan_unicall.c:149: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_unicall.c:149: warning: parameter names (without types) in function > declaration > chan_unicall.c:149: warning: data definition has no type or storage class > chan_unicall.c: In function `unicall_hangup': > chan_unicall.c:1526: error: `usecnt_lock' undeclared (first use in this > function) > chan_unicall.c:1526: error: (Each undeclared identifier is reported only > once > chan_unicall.c:1526: error: for each function it appears in.) > chan_unicall.c:1535: error: `iflock' undeclared (first use in this function) > chan_unicall.c: In function `unicall_read': > chan_unicall.c:2326: error: too few arguments to function `ast_async_goto' > chan_unicall.c:2339: error: too few arguments to function `ast_async_goto' > chan_unicall.c:2428: error: too few arguments to function `ast_dsp_process' > chan_unicall.c:2479: error: too few arguments to function `ast_async_goto' > chan_unicall.c: In function `unicall_new': > chan_unicall.c:2787: error: `usecnt_lock' undeclared (first use in this > function) > chan_unicall.c: In function `do_monitor': > chan_unicall.c:3315: error: `iflock' undeclared (first use in this function) > chan_unicall.c: In function `restart_monitor': > chan_unicall.c:3460: error: `monlock' undeclared (first use in this > function) > chan_unicall.c: In function `unicall_request': > chan_unicall.c:3886: error: `iflock' undeclared (first use in this function) > chan_unicall.c: In function `unicall_show_channels': > chan_unicall.c:4175: error: `iflock' undeclared (first use in this function) > chan_unicall.c: In function `unicall_show_channel': > chan_unicall.c:4204: error: `iflock' undeclared (first use in this function) > chan_unicall.c: In function `setup_unicall': > chan_unicall.c:4308: error: `iflock' undeclared (first use in this function) > chan_unicall.c: In function `unload_module': > chan_unicall.c:4608: error: `iflock' undeclared (first use in this function) > chan_unicall.c:4624: error: `monlock' undeclared (first use in this > function) > chan_unicall.c: In function `usecount': > chan_unicall.c:4702: error: `usecnt_lock' undeclared (first use in this > function) > chan_unicall.c: At top level: > chan_unicall.c:341: warning: 'hangup_uc2cause' defined but not used > chan_unicall.c:870: warning: 'reset_conf' defined but not used > chan_unicall.c:1008: warning: 'unicall_train_ec' defined but not used > make[1]: *** [chan_unicall.o] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/channels' > make: *** [subdirs] Error 1 > [root@fw2 asterisk]# > [root@fw2 asterisk]# > [root@fw2 asterisk]# > > _________________________________________________________________ > MSN Busca: f?cil, r?pido, direto ao ponto. http://search.msn.com.br > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Hector, This is my Linux Fedora Core 3 version info.... [root@fw2 proc]# cat version Linux version 2.6.9-1.667 (bhcompile@tweety.build.redhat.com) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST 2004 I am get Asterisk with the "cvs -r stable", i supose the version is 1.0.6. Thanks for your help. Fabio _________________________________________________________________ MSN Busca: f?cil, r?pido, direto ao ponto. http://search.msn.com.br
Fabio, check if you have libtiff and libtiff-devel installed. and also you have to patch the asterisk source code first.? I dont know if you did that... regards, Hector. On 4/21/05, Fabio Vasco <fabiohvgomes@hotmail.com> wrote:> Hector, > > This is my Linux Fedora Core 3 version info.... > > [root@fw2 proc]# cat version > Linux version 2.6.9-1.667 (bhcompile@tweety.build.redhat.com) (gcc version > 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST 2004 > > I am get Asterisk with the "cvs -r stable", i supose the version is 1.0.6. > > Thanks for your help. > > Fabio > > _________________________________________________________________ > MSN Busca: f?cil, r?pido, direto ao ponto. http://search.msn.com.br > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >