[Home]

Summary:ASTERISK-07523: app_rpt.c : too few arguments to function ast_request
Reporter:uvik (uvik)Labels:
Date Opened:2006-08-11 23:05:14Date Closed:2011-06-07 14:02:40
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When compiling version 1.2.10 with app_rpt support :
the compilation fails in app_rpt.c showing the following error

error: too few arguments to function 'ast_request'

****** ADDITIONAL INFORMATION ******

gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS         -DRADIO_RELAX -fomit-frame-pointer  -fPIC   -c -o app_rpt.o app_rpt.c
app_rpt.c: In function 'rpt_tele_thread':
app_rpt.c:991: error: too few arguments to function 'ast_request'
app_rpt.c: In function 'rpt_call':
app_rpt.c:1539: error: too few arguments to function 'ast_request'
app_rpt.c:1558: error: too few arguments to function 'ast_request'
app_rpt.c: In function 'function_ilink':
app_rpt.c:1902: error: too few arguments to function 'ast_request'
app_rpt.c:1928: error: too few arguments to function 'ast_request'
app_rpt.c:2020: error: too few arguments to function 'ast_request'
app_rpt.c:2044: error: too few arguments to function 'ast_request'
app_rpt.c: In function 'setrbi':
app_rpt.c:2942: warning: pointer targets in passing argument 2 of 'rbi_out' differ in signedness
app_rpt.c: In function 'set_freq_ft897':
app_rpt.c:3161: warning: pointer targets in passing argument 2 of 'serial_remote_io' differ in signedness
app_rpt.c: In function 'simple_command_ft897':
app_rpt.c:3175: warning: pointer targets in passing argument 2 of 'serial_remote_io' differ in signedness
app_rpt.c: In function 'set_offset_ft897':
app_rpt.c:3206: warning: pointer targets in passing argument 2 of 'serial_remote_io' differ in signedness
app_rpt.c: In function 'set_mode_ft897':
app_rpt.c:3239: warning: pointer targets in passing argument 2 of 'serial_remote_io' differ in signedness
app_rpt.c: In function 'set_ctcss_mode_ft897':
app_rpt.c:3261: warning: pointer targets in passing argument 2 of 'serial_remote_io' differ in signedness
app_rpt.c: In function 'set_ctcss_freq_ft897':
app_rpt.c:3297: warning: pointer targets in passing argument 2 of 'serial_remote_io' differ in signedness
app_rpt.c: In function 'attempt_reconnect':
app_rpt.c:4495: error: too few arguments to function 'ast_request'
app_rpt.c: In function 'rpt':
app_rpt.c:4553: error: too few arguments to function 'ast_request'
app_rpt.c:4601: error: too few arguments to function 'ast_request'
app_rpt.c:4647: error: too few arguments to function 'ast_request'
app_rpt.c:4695: error: too few arguments to function 'ast_request'
app_rpt.c: In function 'rpt_exec':
app_rpt.c:6146: error: too few arguments to function 'ast_request'
app_rpt.c:6203: error: too few arguments to function 'ast_request'
app_rpt.c:6236: error: too few arguments to function 'ast_request'
make[1]: *** [app_rpt.o] Erreur 1
Comments:By: Clod Patry (junky) 2006-08-12 06:56:25

are ya sure it's 1.2.10? cause that version requires 4 parameters and it has all his parameters in app_rpt.c

By: uvik (uvik) 2006-08-12 14:18:14

Yes it is the 1.2.10.
It is download from the junghanns bristuff-0.3.0-PRE-1s download script.
In the app_rpt.c, it has the 4 parameters
but don't compile.

By: Tilghman Lesher (tilghman) 2006-08-12 22:33:54

The problem is in junghann's scripts, not in Asterisk.

By: Clod Patry (junky) 2006-08-13 08:18:09

And yesterday morning, before i posted my note, i just uncomment the line in the Makefile and that application compiled like a charm.