sipwise / rtpengine

The Sipwise media proxy for Kamailio
GNU General Public License v3.0
784 stars 368 forks source link

call.h:921:7: error: unknown type name ‘__auto_type #1822

Closed happytulubi closed 5 months ago

happytulubi commented 5 months ago

rtpengine version the issue has been seen with

No response

Used distribution and its version

No response

Linux kernel version used

No response

CPU architecture issue was seen on (see uname -m)

None

Expected behaviour you didn't see

How to handle the error in installing rtpengine in the source code?

cd /usr/src/rtpengine/daemon make

In file included from ../include/udp_listener.h:10:0, from ../include/control_udp.h:12, from main.c:28: ../include/call.h: In function ‘call_unkernelize’: ../include/call.h:921:7: error: unknown type name ‘__auto_type’ for (auto_type l = call->monologues.head; l; l = l->next) { ^ ../include/call.h:921:23: warning: initialization makes integer from pointer without a cast [enabled by default] for (__auto_type l = call->monologues.head; l; l = l->next) { ^ ../include/call.h:921:54: error: invalid type argument of ‘->’ (have ‘int’) for (__auto_type l = call->monologues.head; l; l = l->next) { ^ ../include/call.h:922:32: error: invalid type argument of ‘->’ (have ‘int’) struct call_monologue *ml = l->data; ^ make[1]: [main.o] Error 1 make[1]: Leaving directory `/usr/src/rtpengine/daemon' make: [all] Error 2

Unexpected behaviour you saw

No response

Steps to reproduce the problem

No response

Additional program output to the terminal or logs illustrating the issue

No response

Anything else?

No response