I got this compiling the new cvs code ...
any idea ?
Tnx !
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/07/04-11:28:50\" -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 chan_oss.c: In function `oss_call': chan_oss.c:461: error: too many arguments to function `ast_queue_frame' chan_oss.c:467: error: too many arguments to function `ast_queue_frame' chan_oss.c: In function `oss_new': chan_oss.c:712: warning: assignment from incompatible pointer type chan_oss.c: In function `console_answer': chan_oss.c:809: error: too many arguments to function `ast_queue_frame' chan_oss.c: In function `console_sendtext': chan_oss.c:841: error: too many arguments to function `ast_queue_frame' chan_oss.c: In function `console_hangup': chan_oss.c:861: error: too many arguments to function `ast_queue_hangup' chan_oss.c: In function `console_dial': chan_oss.c:883: error: too many arguments to function `ast_queue_frame' chan_oss.c: In function `console_transfer': chan_oss.c:935: error: too many arguments to function `ast_async_goto' make[1]: *** [chan_oss.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/channels' make: *** [subdirs] Error 1
It appears that the final argument to all these functions (normally a 0 or 1) has been dropped, but it hasn't been fixed in chan_oss.c or chan_alsa.c. If you happen to have already compiled asterisk before and aren't doing a clean recompile then it appears that the problem isn't spotted and recompiled (poor dependency checking in the Makefile?)
The easy fix is just to drop the final arguments for all these functions and then to kick off the compile again.
Michael
-- Michael T Farnworth Maxima Systems Ltd (http://www.maximasystems.com) 16 Woodbourne Sq Douglas Isle of Man IM1 4DB
Tel: +44 (0)1624 665826 _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users