All pastes #27640 Raw Edit

Miscellany

public text v1 · immutable
#27640 ·published 2005-11-04 21:31 UTC
rendered paste body
[root@sip2 chan_fax]# make
cc -Wall -Wstrict-prototypes -Wmissing-prototypes -g -I. -D__LINUX__ -D_REENTRANT -D_GNU_SOURCE -O6 -fPIC -march=i686 -c -o faxmodem.o faxmodem.c
/usr/src/asterisk/contrib/scripts/astxs -append=CFLAGS:"-D__LINUX__ -D_REENTRANT -D_GNU_SOURCE -O6 -fPIC -march=i686" -append=LDFLAGS:"-lspandsp -lutil" -append=EXTOBJ:"faxmodem.o" chan_fax.c
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=\"1.0.7\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run/asterisk\" -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      -fPIC -D__LINUX__ -D_REENTRANT -D_GNU_SOURCE -O6 -fPIC -march=i686 -c chan_fax.c -o chan_fax.o
chan_fax.c:33:34: asterisk/devicestate.h: No such file or directory
chan_fax.c: In function `dsp_buffer_size':
chan_fax.c:492: warning: implicit declaration of function `ast_tvnow'
chan_fax.c:492: warning: passing arg 1 of `ast_tvdiff_ms' makes pointer from integer without a cast
chan_fax.c:492: incompatible type for argument 2 of `ast_tvdiff_ms'
chan_fax.c: In function `faxmodem_media_thread':
chan_fax.c:539: incompatible type for argument 1 of `ast_tvdiff_ms'
chan_fax.c:539: incompatible type for argument 2 of `ast_tvdiff_ms'
chan_fax.c:585: warning: implicit declaration of function `ast_tvadd'
chan_fax.c:585: warning: implicit declaration of function `ast_tv'
chan_fax.c:585: incompatible types in assignment
chan_fax.c:586: incompatible type for argument 1 of `ast_tvdiff_ms'
chan_fax.c:586: warning: passing arg 2 of `ast_tvdiff_ms' makes pointer from integer without a cast
chan_fax.c: In function `parse_config':
chan_fax.c:1047: warning: implicit declaration of function `ast_config_load'
chan_fax.c:1047: warning: assignment makes pointer from integer without a cast
chan_fax.c:1049: warning: implicit declaration of function `ast_category_browse'
chan_fax.c:1049: warning: assignment makes pointer from integer without a cast
chan_fax.c:1049: warning: assignment makes pointer from integer without a cast
chan_fax.c:1051: warning: implicit declaration of function `ast_variable_browse'
chan_fax.c:1051: warning: assignment makes pointer from integer without a cast
chan_fax.c:1051: dereferencing pointer to incomplete type
chan_fax.c:1052: dereferencing pointer to incomplete type
chan_fax.c:1053: dereferencing pointer to incomplete type
chan_fax.c:1054: dereferencing pointer to incomplete type
chan_fax.c:1055: dereferencing pointer to incomplete type
chan_fax.c:1056: dereferencing pointer to incomplete type
chan_fax.c:1057: dereferencing pointer to incomplete type
chan_fax.c:1058: dereferencing pointer to incomplete type
chan_fax.c:1059: dereferencing pointer to incomplete type
chan_fax.c:1060: dereferencing pointer to incomplete type
chan_fax.c:1061: dereferencing pointer to incomplete type
chan_fax.c:1069: warning: implicit declaration of function `ast_config_destroy'
make: *** [chan_fax.so] Error 255
[root@sip2 chan_fax]# asterisk -V
Asterisk CVS-HEAD
[root@sip2 chan_fax]# safe_asterisk 
[root@sip2 chan_fax]# asterisk -r
Asterisk CVS-HEAD, Copyright (C) 1999 - 2005 Digium.