Error when I compile asterisk1.6.18

I’m writing to get your help.
I’m new to asterisk for my term project I want to compile asterisk.
I’m using ubuntu 18.04 on was.
and I downloaded asterisk
first step was .configure it was fine.
seconde step was make.
when I put make below error is coming

/home/asterisk- recipe for target ‘’ failed

make[1]: *** [] Error 1

Makefile:409: recipe for target ‘channels’ failed

make: *** [channels] Error 2

How do I solve this error?

Thanks your help

That is an incredibly old version and it is entirely possible that the code will not compiler under a modern version of GCC. As GCC versions get released they find issues with the code which have to be fixed.

1 Like

Thank your help
I updated my asterisk version to asterisk-17.4.0
and issue is solved.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.