>> Edit article
이름
제목
패스워드
./configure는 순조롭게 되는데 make하면 아래와같은 에러가 뜹니다...어디가 잘못된것인지 잘 모르겠네요.. 도움좀 주세요... [root@localhost libnet]# make gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_resolve.c -o src/libnet_resolve.o In file included from include/libnet.h:45, from src/libnet_resolve.c:36: /usr/include/sys/stat.h:1: parse error before `1991' In file included from /usr/include/sys/stat.h:98, from include/libnet.h:45, from src/libnet_resolve.c:36: /usr/include/bits/stat.h:75: parse error before `}' In file included from include/libnet.h:45, from src/libnet_resolve.c:36: /usr/include/sys/stat.h:201: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:201: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/include/sys/stat.h:205: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:229: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:307: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:309: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:311: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:345: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:346: conflicting types for `stat' /usr/include/sys/stat.h:201: previous declaration of `stat' /usr/include/sys/stat.h: In function `stat': /usr/include/sys/stat.h:347: warning: passing arg 3 of `__xstat' from incompatible pointer type /usr/include/sys/stat.h: At top level: /usr/include/sys/stat.h:352: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:353: conflicting types for `lstat' /usr/include/sys/stat.h:229: previous declaration of `lstat' /usr/include/sys/stat.h: In function `lstat': /usr/include/sys/stat.h:354: warning: passing arg 3 of `__lxstat' from incompatible pointer type /usr/include/sys/stat.h: At top level: /usr/include/sys/stat.h:358: warning: `struct stat' declared inside parameter list /usr/include/sys/stat.h:359: conflicting types for `fstat' /usr/include/sys/stat.h:205: previous declaration of `fstat' /usr/include/sys/stat.h: In function `fstat': /usr/include/sys/stat.h:360: warning: passing arg 3 of `__fxstat' from incompatible pointer type make: *** [src/libnet_resolve.o] 오류 1 README파일은 아래와 같습니다.. [root@localhost libnet]# cat README =============================================================================== LIBNET 1.0 (c) 1998 - 2001 Mike D. Schiffman <mike@infonexus.com> http://www.packetfactory.net/libnet =============================================================================== Check doc/CHANGELOG to see what's new! Installation: ------------- 0. nroff -man doc/libnet.3 | less 1. Read the doc/ files 2. ./configure 3. make 4. make install - optional - 5. make supp 6. make util EOF
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved