[CC] chan_iax2.c -> chan_iax2.o chan_iax2.c: In function 'complete_dpreply': chan_iax2.c:5580: warning: ignoring return value of 'write', declared with attribute warn_unused_result chan_iax2.c: In function 'find_cache': chan_iax2.c:10117: warning: ignoring return value of 'write', declared with attribute warn_unused_result In function 'open', inlined from 'try_firmware' at chan_iax2.c:1572: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments In function 'memset', inlined from 'build_peer' at chan_iax2.c:9064: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from '__auto_hangup' at chan_iax2.c:6158: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from '__auth_reject' at chan_iax2.c:6108: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'dp_lookup' at chan_iax2.c:6372: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'iax2_dprequest' at chan_iax2.c:6188: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'reg_source_db' at chan_iax2.c:5851: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'set_config' at chan_iax2.c:9533: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'set_config' at chan_iax2.c:9536: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'realtime_peer' at chan_iax2.c:2753: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from '__attempt_transmit' at chan_iax2.c:2073: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'iax2_provision' at chan_iax2.c:8401: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'iax2_provision' at chan_iax2.c:8418: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters In function 'memset', inlined from 'iax2_do_register' at chan_iax2.c:8375: /usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters make[1]: *** [chan_iax2.o] Error 1 make: *** [channels] Error 2