Hi

I'm trying to refresh the Debian package for unicall.

I use:
ii  libspandsp-dev           0.0.4~pre15-0.4864
ii  libsupertone-dev         0.0.2~pre20060205-2

I get the following error when trying to build unicall:


if i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. 
-DPROTOCOLDIR="\"/usr/lib/unicall\""    -Wall -g -O2 -MT testcall.o -MD -MP -MF 
".deps/testcall.Tpo" -c -o testcall.o testcall.c; \
        then mv -f ".deps/testcall.Tpo" ".deps/testcall.Po"; else rm -f 
".deps/testcall.Tpo"; exit 1; fi
testcall.c: In function 'channel_read_file':
testcall.c:193: error: too few arguments to function 'dtmf_tx_put'
testcall.c:131: warning: unused variable 'hits'
testcall.c:128: warning: unused variable 'destination_number'
testcall.c:127: warning: unused variable 'originating_number'
testcall.c: In function 'handle_uc_event':
testcall.c:324: warning: too many arguments for format
testcall.c:481: warning: format '%d' expects type 'int', but argument 4 has 
type 'time_t'
testcall.c:487: warning: format '%d' expects type 'int', but argument 4 has 
type 'time_t'
testcall.c:493: warning: format '%d' expects type 'int', but argument 4 has 
type 'time_t'
testcall.c:500: warning: format '%d' expects type 'int', but argument 4 has 
type 'time_t'
testcall.c:507: warning: format '%d' expects type 'int', but argument 4 has 
type 'time_t'
testcall.c:514: warning: format '%d' expects type 'int', but argument 4 has 
type 'time_t'
testcall.c:537: error: too few arguments to function 'dtmf_tx_put'
testcall.c:552: error: too few arguments to function 'dtmf_tx_put'
testcall.c:558: warning: format '%d' expects type 'int', but argument 4 has 
type 'const char *'
testcall.c:558: warning: too many arguments for format
testcall.c: In function 'main':
testcall.c:778: warning: unused variable 'x'
testcall.c:777: warning: unused variable 'j'
make[2]: *** [testcall.o] Error 1
make[2]: Leaving directory 
`/home/tzafrir/Proj/Alioth/pkg-voip/build-area/libunicall-0.0.3~pre20070325'


Another warning I get:

 i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. 
-DPROTOCOLDIR=\"/usr/lib/unicall\" -Wall -g -O2 -MT unicall.lo -MD -MP -MF 
.deps/unicall.Tpo -c unicall.c  -fPIC -DPIC -o .libs/unicall.o
unicall.c: In function 'uc_error_message':
unicall.c:334: warning: unused variable 'call'
unicall.c: In function 'uc_channel_open':
unicall.c:374: warning: unused variable 'uc'
unicall.c: In function 'uc_channel_close':
unicall.c:389: warning: unused variable 'uc'
unicall.c: In function 'uc_release_event':
unicall.c:148: warning: control reaches end of non-void function

-- 
               Tzafrir Cohen
icq#16849755              jabber:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to