./main.c: In function `spawn': ./main.c:1939: `utmp' undeclared (first use in this function) ./main.c:1939: (Each undeclared identifier is reported only once ./main.c:1939: for each function it appears in.) make: *** [main.o] Error 1
utmp 오류는 최신 glibc 에서 헤더 위치가 바뀌었기 때문입니다. main.c 에 utmp.h 를 포함하거나 한텀 패치를 적용하세요.