czmq
czmq copied to clipboard
make check : Assertion `mdgrams' failed.
Getting this error when trying to build from source ubuntu 20.04
$ make check
...
* zlistx: OK
* zloop: OK
* zmsg: OK
* zpoller: OK
czmq_selftest: src/zsock.c:2384: zsock_test: Assertion `mdgrams' failed.
make[2]: *** [Makefile:2469: check-local] Aborted (core dumped)
make[2]: Leaving directory '/projects/zyre/czmq'
make[1]: *** [Makefile:2167: check-am] Error 2
make[1]: Leaving directory '/projects/zyre/czmq'
make: *** [Makefile:1720: check-recursive] Error 1
This issue has been automatically marked as stale because it has not had recent activity for 90 days. It will be closed if no further activity occurs within 21 days. Thank you for your contributions.
I can't tell what is wrong but I think you check asserts on creating a udp socket:
zsock_t* mdgrams = zsock_new_dgram ("udp://*:*");
If this fails it probably has to do something with your system you're testing on. We'd need more info
This issue has been automatically marked as stale because it has not had recent activity for 90 days. It will be closed if no further activity occurs within 21 days. Thank you for your contributions.