歡迎您光臨本站 註冊首頁

編譯錯誤,請高手指點

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

編譯錯誤,請高手指點

錯誤的幾行如下:
請高手給一點建議,謝謝!

checking whether we are cross compiling... no

checking sys/dirent.h usability... no
checking sys/dirent.h presence... no
checking for sys/dirent.h... no




# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking sys/dirent.h usability... no
checking sys/dirent.h presence... no
checking for sys/dirent.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/types.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for sys/stat.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking gdfontl.h usability... yes
checking gdfontl.h presence... yes
checking for gdfontl.h... yes
checking gdfontt.h usability... yes
checking gdfontt.h presence... yes
checking for gdfontt.h... yes
checking gdfonts.h usability... yes
checking gdfonts.h presence... yes
checking for gdfonts.h... yes
checking gdfontmb.h usability... yes
checking gdfontmb.h presence... yes
checking for gdfontmb.h... yes
checking gdfontg.h usability... yes
checking gdfontg.h presence... yes
checking for gdfontg.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for gdImagePng in -lgd... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for off_t... yes
checking size of off_t... 8
checking for fopen64... yes
using /usr/local/sarg/bin as the SARG binary
using /usr/local/sarg/man1 as the SARG man page
using /usr/local/sarg as the SARG configuration dir
using /home/sarg as the WWW Document Root dir
configure: creating ./config.status
config.status: creating Makefile
《解決方案》

先裝上你的內核版本的頭文件。
《解決方案》

樓上大哥,能否詳細點、具體點。沒玩過這麼高的
謝謝!

[火星人 ] 編譯錯誤,請高手指點已經有788次圍觀

http://coctec.com/docs/service/show-post-36230.html