Description

I compile Kamailio with system malloc from time to time to check with static analyzers for memory leaks. The git master branch fails with:

CC (gcc) [M rtpengine.so]		rtpengine_hash.o
In file included from rtpengine.h:26,
                 from rtpengine_hash.c:1:
bencode.h:18:11: fatal error: compat.h: No such file or directory
 # include "compat.h"
           ^~~~~~~~~~
compilation terminated.
make[2]: *** [../../Makefile.rules:100: rtpengine_hash.o] Error 1
make[1]: *** [Makefile:511: modules] Error 1
make[1]: Leaving directory '/home/porto/work/sip/esr/kamailio-dev/src'
make: *** [Makefile:27: all] Error 2

It seems that some file is missing there.

Troubleshooting

Reproduction

Run:

make MEMPKG=sys cfg

Then compile with make all.

Debugging Data

See above.

Log Messages

(paste your log messages here)

SIP Traffic

(paste your sip traffic here)

Possible Solutions

Additional Information

Kamailio master branch.
Linux Debian Testing.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.