When compiling Asterisk 1.6.0.1 I get this error whenever the make process reaches app_rpt.c:
app_rpt.c: In function ‘rpt_call’:
app_rpt.c:2528: error: expected expression before ‘<<’ token
app_rpt.c:2535: error: expected expression before ‘==’ token
Looking at that line of app_rpt.c file, you can see some lines like these which seem to be remained from the patching system:
I wonder how this mistake can happen by Asterisk team
Can Anyone suggest a way to compile the file successfully?