fulup-bzh/AlsaJsonGateway

compiling error - recipe for target failed

Closed this issue · 0 comments

Dear Author,

I am having trouble compiling, when i issue 'make' I receive the errors ->

Making all in src
make[1]: Entering directory '/home/james/AlsaJsonGateway/src'
CC ajg_daemon-alsa-ajg.o
In file included from /usr/include/string.h:635:0,
from ../include/local-def-ajg.h:29,
from alsa-ajg.c:29:
In function ‘strncat’,
inlined from ‘alsaFakeResponse.isra.0’ at alsa-ajg.c:60:12:
/usr/include/x86_64-linux-gnu/bits/string3.h:156:10: error: call to __builtin___strncat_chk might overflow destination buffer [-Werror]
return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
^
cc1: all warnings being treated as errors
Makefile:530: recipe for target 'ajg_daemon-alsa-ajg.o' failed
make[1]: *** [ajg_daemon-alsa-ajg.o] Error 1
make[1]: Leaving directory '/home/james/AlsaJsonGateway/src'
Makefile:399: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Would you please help me to understand the error and fix it? I would love to be able to use my 18i20 with Linux.

Best wishes,

fisch