fulup-bzh / AlsaJsonGateway

HTTP REST/JSON Gateway to ALSA mixer service for HTML5 UI
53 stars 5 forks source link

compiling error - recipe for target failed #10

Closed fisch14 closed 6 years ago

fisch14 commented 6 years ago

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