mingw 에 몇가지 헤더가 없는데, 어디서 받아야 할까요?

hansolo의 이미지

mingw + msys 환경에서 stunnel 을 빌드하려고 하는데, make 하면 몇가지 헤더파일들이 없다면서 빌드를 못하네요.

아래의 파일들이 없다고 합니다.

common.h:164:20: syslog.h: No such file or directory
common.h:166:36: sys/wait.h: No such file or directory
common.h:187:17: pwd.h: No such file or directory
common.h:188:17: grp.h: No such file or directory
common.h:192:50: netinet/in.h: No such file or directory
common.h:193:43: sys/socket.h: No such file or directory
common.h:194:41: arpa/inet.h: No such file or directory
common.h:196:37: sys/ioctl.h: No such file or directory
common.h:197:25: netinet/tcp.h: No such file or directory
common.h:198:19: netdb.h: No such file or directory

뭔가 빠뜨리고 설치를 안한거 같은데, 뭘 설치해야 할까요.?

도움좀 부탁드리겠습니다. (_ _)

feanor의 이미지

어떤 Makefile을 사용하셨나요? ./configure; make로 하시면 안 됩니다. mingw용 Makefile이 따로 있습니다.