Created attachment 663610 [details] Patch: Add missing header Build fails due to missing header with the following: mouse.cpp: In function 's32 open_gpm(Gpm_Connect*)': mouse.cpp:58:2: error: 'memset' was not declared in this scope 58 | memset((s8 *)&addr, 0, sizeof(addr)); | ^~~~~~ mouse.cpp:39:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 38 | #include "screen.h" +++ |+#include <cstring> 39 | mouse.cpp:60:2: error: 'strncpy' was not declared in this scope 60 | strncpy(addr.sun_path, GPM_NODE_CTL, sizeof(addr.sun_path) - 1); | ^~~~~~~ mouse.cpp:60:2: note: 'strncpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'? mouse.cpp:43:6: warning: unused variable 'ret' [-Wunused-variable] 43 | s32 ret = ttyname_r(STDIN_FILENO, buf, sizeof(buf)); | ^~~ make[3]: *** [Makefile:570: fbterm-mouse.o] Error 1 Simply adding #include <cstring> resolves this issue.
Could you attach build.log and emerge --info?
I cannot reproduce.