LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1661|回复: 24

在BLFS中编译vim6.1时出错

[复制链接]
发表于 2003-6-9 19:44:56 | 显示全部楼层 |阅读模式
我已经安装了vim6.1依赖的所有软件,但编译的时候出现以下错误:

cc1: warning: changing search order for system directory
"/usr/local/include" cc1: warning:   as it has already been specified as a
non-system directory In file included from
/usr/X11R6/include/X11/Intrinsic.h:64,
                 from gui.h:34,
                 from structs.h:73,
                 from vim.h:1327,
                 from buffer.c:29:
/usr/include/string.h:42: conflicting types for `memmove' auto/osdef.h:58:
previous declaration of `memmove' /usr/include/string.h:273: conflicting
types for `strcasecmp' auto/osdef.h:76: previous declaration of
`strcasecmp' /usr/include/string.h:277: conflicting types for
`strncasecmp' auto/osdef.h:79: previous declaration of `strncasecmp' In
file included from /usr/include/bits/string2.h:1185,
                 from /usr/include/string.h:360,
                 from /usr/X11R6/include/X11/Intrinsic.h:64, from
                 gui.h:34,
                 from structs.h:73,
                 from vim.h:1327,
                 from buffer.c:29:
/usr/include/stdlib.h:527: conflicting types for `malloc'
auto/osdef.h:124: previous declaration of `malloc' make[1]: ***
[objects/buffer.o] Error 1 make: *** [first] Error 2
cpp0: warning: changing search order for system directory
"/usr/local/include" cpp0: warning:   as it has already been specified as
a non-system directory cc1: warning: changing search order for system
directory "/usr/local/include" cc1: warning:   as it has already been
specified as a non-system directory In file included from
/usr/X11R6/include/X11/Intrinsic.h:64,
                 from gui.h:34,
                 from structs.h:73,
                 from vim.h:1327,
                 from buffer.c:29:
/usr/include/string.h:42: conflicting types for `memmove' auto/osdef.h:58:
previous declaration of `memmove' /usr/include/string.h:273: conflicting
types for `strcasecmp' auto/osdef.h:76: previous declaration of
`strcasecmp' /usr/include/string.h:277: conflicting types for
`strncasecmp' auto/osdef.h:79: previous declaration of `strncasecmp' In
file included from /usr/include/bits/string2.h:1185,
                 from /usr/include/string.h:360,
                 from /usr/X11R6/include/X11/Intrinsic.h:64, from
                 gui.h:34,
                 from structs.h:73,
                 from vim.h:1327,
                 from buffer.c:29:
/usr/include/stdlib.h:527: conflicting types for `malloc'
auto/osdef.h:124: previous declaration of `malloc' make[1]: ***
[objects/buffer.o] Error 1 make: *** [first] Error 2
发表于 2003-6-9 20:12:36 | 显示全部楼层
我也是按照blfs的说明装的,没有出现你这样的问题。能不能把config.log传上来?
 楼主| 发表于 2003-6-9 20:20:30 | 显示全部楼层
你是指src/auto里的那个config.log吗?
 楼主| 发表于 2003-6-9 20:25:29 | 显示全部楼层

config.log内容

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:604: checking whether make sets ${MAKE}
configure:634: checking for gcc
configure:747: checking whether the C compiler (gcc  ) works
configure:763: gcc -o conftest    conftest.c  1>&5
configure:789: checking whether the C compiler (gcc  ) is a cross-compiler
configure:794: checking whether we are using GNU C
configure:803: gcc -E conftest.c
configure:822: checking whether gcc accepts -g
configure:853: checking how to run the C preprocessor
configure:874: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:932: checking for POSIXized ISC
configure:956: checking for mawk
configure:956: checking for gawk
configure:988: checking for strip
configure:1017: checking for Cygwin environment
configure:1033: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1029: `__CYGWIN32__' undeclared (first use in this function)
configure:1029: (Each undeclared identifier is reported only once
configure:1029: for each function it appears in.)
configure: failed program was:
#line 1022 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1050: checking for mingw32 environment
configure:1062: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1058: `__MINGW32__' undeclared (first use in this function)
configure:1058: (Each undeclared identifier is reported only once
configure:1058: for each function it appears in.)
configure: failed program was:
#line 1055 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1081: checking for executable suffix
configure:1091: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1133: checking for buggy tools
configure:1140: checking for BeOS
configure:1148: checking for QNX
configure:1173: checking --with-vim-name argument
configure:1184: checking --with-ex-name argument
configure:1195: checking --with-view-name argument
configure:1207: checking --with-global-runtime argument
configure:1221: checking --with-modified-by argument
configure:1235: checking if character set is EBCDIC
configure:1250: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:1245: `make' undeclared (first use in this function)
configure:1245: (Each undeclared identifier is reported only once
configure:1245: for each function it appears in.)
configure:1245: parse error before "an"
configure: failed program was:
#line 1237 "configure"
#include "confdefs.h"

int main() {
/* TryCompile function for CharSet.
   Treat any failure as ASCII for compatibility with existing art.
   Use compile-time rather than run-time tests for cross-compiler
   tolerance.  */
#if '0'!=240
make an error "Character set is not EBCDIC"
#endif
; return 0; }
configure:1315: checking --with-features argument
configure:1358: checking --with-compiledby argument
configure:1370: checking --enable-perlinterp argument
configure:1461: checking --enable-pythoninterp argument
configure:1685: checking --enable-tclinterp argument
configure:1904: checking --enable-rubyinterp argument
configure:1995: checking --enable-cscope argument
configure:2013: checking --enable-workshop argument
configure:2038: checking --enable-sniff argument
configure:2060: checking --enable-multibyte argument
configure:2078: checking --enable-hangulinput argument
configure:2090: checking --enable-xim argument
configure:2101: checking --enable-fontset argument
configure:2121: checking for xmkmf
configure:2159: checking for X
configure:2473: checking for dnet_ntoa in -ldnet
configure:2492: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -ldnet   1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 2481 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2514: checking for dnet_ntoa in -ldnet_stub
configure:2533: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -ldnet_stub   1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 2522 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2562: checking for gethostbyname
configure:2590: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2660: checking for connect
configure:2688: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2752: checking for remove
configure:2780: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2844: checking for shmat
configure:2872: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2945: checking for IceConnectionNumber in -lICE
configure:2964: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lICE   1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:3017: checking if X11 header files can be found
configure:3028: gcc -c -g -O2 -I/usr/X11R6/include   -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:3054: checking for _XdmcpAuthDoIt in -lXdmcp
configure:3073: gcc -o conftest -g -O2  -I/usr/local/include -L/usr/X11R6/lib  -L/usr/local/lib conftest.c -lXdmcp -lXt  -lSM -lICE -lX11  -lXdmcp  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/tmp/cc4KBTnn.o: In function `main':
/root/vim61/src/configure:3069: undefined reference to `_XdmcpAuthDoIt'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3062 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _XdmcpAuthDoIt();

int main() {
_XdmcpAuthDoIt()
; return 0; }
configure:3095: checking for IceOpenConnection in -lICE
configure:3114: gcc -o conftest -g -O2  -I/usr/local/include -L/usr/X11R6/lib  -L/usr/local/lib conftest.c -lICE   1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:3137: checking for XpmCreatePixmapFromData in -lXpm
configure:3156: gcc -o conftest -g -O2  -I/usr/local/include -L/usr/X11R6/lib   -L/usr/local/lib conftest.c -lXpm -lXt  -lSM -lICE -lXpm -lX11  -lSM -lICE  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:3178: checking if X11 header files implicitly declare return values
configure:3189: gcc -c -g -O2 -I/usr/X11R6/include  -Werror  -I/usr/local/include conftest.c 1>&5
cc1: changing search order for system directory "/usr/local/include"
cc1:   as it has already been specified as a non-system directory
configure: failed program was:
#line 3182 "configure"
#include "confdefs.h"
#include <X11/Xlib.h>
int main() {

; return 0; }
configure:3205: gcc -c -g -O2 -I/usr/X11R6/include  -Werror -Wno-implicit-int  -I/usr/local/include conftest.c 1>&5
cc1: changing search order for system directory "/usr/local/include"
cc1:   as it has already been specified as a non-system directory
configure: failed program was:
#line 3198 "configure"
#include "confdefs.h"
#include <X11/Xlib.h>
int main() {

; return 0; }
configure:3229: checking --enable-gui argument
configure:3306: checking whether or not to look for GTK
configure:3324: checking whether or not to look for GNOME
configure:3341: checking whether or not to look for Motif
configure:3358: checking whether or not to look for Athena
configure:3385: checking --with-gtk-prefix argument
configure:3396: checking --with-gtk-exec-prefix argument
configure:3407: checking --disable-gtktest argument
configure:3434: checking for gtk-config
configure:3516: checking for GTK - version >= 1.1.16
configure:3572: gcc -o conftest -g -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/local/include  -L/usr/local/lib conftest.c  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:4048: checking for X11/xpm.h
configure:4058: gcc -E  -I/usr/local/include -I/usr/X11R6/include  conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4053 "configure"
#include "confdefs.h"
#include <X11/xpm.h>
configure:4048: checking for X11/Sunkeysym.h
configure:4058: gcc -E  -I/usr/local/include -I/usr/X11R6/include  conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4053 "configure"
#include "confdefs.h"
#include <X11/Sunkeysym.h>
configure:4087: checking for XIMText in X11/Xlib.h
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4262: checking quality of toupper
configure:4272: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4267 "configure"
#include "confdefs.h"
#include <ctype.h>
main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
configure:4289: checking whether __DATE__ and __TIME__ work
configure:4298: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:4314: checking for elf.h
configure:4324: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4319 "configure"
#include "confdefs.h"
#include <elf.h>
configure:4396: checking for dirent.h that defines DIR
configure:4409: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:4434: checking for opendir in -ldir
configure:4453: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -ldir   1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 4442 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:4518: checking for ANSI C header files
configure:4531: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4523 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
configure:4622: checking for sys/wait.h that is POSIX.1 compatible
configure:4643: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:4706: checking for stdlib.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <stdlib.h>
configure:4706: checking for string.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <string.h>
configure:4706: checking for sys/select.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/select.h>
configure:4706: checking for sys/utsname.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/utsname.h>
configure:4706: checking for termcap.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <termcap.h>
configure:4706: checking for fcntl.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <fcntl.h>
configure:4706: checking for sgtty.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sgtty.h>
configure:4706: checking for sys/ioctl.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/ioctl.h>
configure:4706: checking for sys/time.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/time.h>
configure:4706: checking for termio.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <termio.h>
configure:4706: checking for iconv.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <iconv.h>
configure:4706: checking for langinfo.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <langinfo.h>
configure:4706: checking for unistd.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <unistd.h>
configure:4706: checking for stropts.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <stropts.h>
configure:4706: checking for errno.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <errno.h>
configure:4706: checking for strings.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <strings.h>
configure:4706: checking for sys/resource.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/resource.h>
configure:4706: checking for sys/systeminfo.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:28: sys/systeminfo.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/systeminfo.h>
configure:4706: checking for locale.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <locale.h>
configure:4706: checking for sys/stream.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:24: sys/stream.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/stream.h>
configure:4706: checking for sys/ptem.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:22: sys/ptem.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/ptem.h>
configure:4706: checking for termios.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <termios.h>
configure:4706: checking for libc.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:18: libc.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <libc.h>
configure:4706: checking for sys/statfs.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/statfs.h>
configure:4706: checking for poll.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <poll.h>
configure:4706: checking for sys/poll.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/poll.h>
configure:4706: checking for pwd.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <pwd.h>
configure:4706: checking for utime.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <utime.h>
configure:4706: checking for sys/param.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/param.h>
configure:4706: checking for libintl.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <libintl.h>
configure:4706: checking for libgen.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <libgen.h>
configure:4706: checking for util/debug.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:24: util/debug.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <util/debug.h>
configure:4706: checking for util/msg18n.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:25: util/msg18n.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <util/msg18n.h>
configure:4706: checking for frame.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:19: frame.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <frame.h>
configure:4706: checking for sys/acl.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:21: sys/acl.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/acl.h>
configure:4706: checking for sys/access.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4712:24: sys/access.h: No such file or directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/access.h>
configure:4706: checking for sys/sysctl.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/sysctl.h>
configure:4706: checking for sys/sysinfo.h
configure:4716: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4711 "configure"
#include "confdefs.h"
#include <sys/sysinfo.h>
configure:4744: checking if strings.h can be included after string.h
configure:4768: gcc -c -g -O2  -I/usr/local/include -I/usr/X11R6/include  conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:4786: checking whether gcc needs -traditional
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4832: checking for working const
configure:4886: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:4907: checking for mode_t
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4940: checking for off_t
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:4973: checking for pid_t
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:5006: checking for size_t
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:5039: checking for uid_t in sys/types.h
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:5073: checking whether time.h and sys/time.h may both be included
configure:5087: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5108: checking for ino_t
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:5141: checking for dev_t
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:5175: checking for rlim_t
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:5212: checking for stack_t
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:5248: checking --with-tlib argument
configure:5266: checking for tgetent in -lncurses
configure:5285: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses   1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5325: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5347: checking whether we talk terminfo
configure:5361: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 5352 "configure"
#include "confdefs.h"

#ifdef HAVE_TERMCAP_H
# include <termcap.h>
#endif
main()
{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
configure:5381: checking whether termcap.h contains ospeed
configure:5394: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:5390: `ospeed' undeclared (first use in this function)
configure:5390: (Each undeclared identifier is reported only once
configure:5390: for each function it appears in.)
configure: failed program was:
#line 5383 "configure"
#include "confdefs.h"

#ifdef HAVE_TERMCAP_H
# include <termcap.h>
#endif
                       
int main() {
ospeed = 20000
; return 0; }
configure:5406: checking whether ospeed can be extern
configure:5420: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5438: checking whether termcap.h contains UP, BC and PC
configure:5451: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:5447: `UP' undeclared (first use in this function)
configure:5447: (Each undeclared identifier is reported only once
configure:5447: for each function it appears in.)
configure:5447: `BC' undeclared (first use in this function)
configure:5447: `PC' undeclared (first use in this function)
configure: failed program was:
#line 5440 "configure"
#include "confdefs.h"

#ifdef HAVE_TERMCAP_H
# include <termcap.h>
#endif
                       
int main() {
if (UP == 0 && BC == 0) PC = 1
; return 0; }
configure:5463: checking whether UP, BC and PC can be extern
configure:5477: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5495: checking whether tputs() uses outfuntype
configure:5508: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:5504: `outfuntype' undeclared (first use in this function)
configure:5504: (Each undeclared identifier is reported only once
configure:5504: for each function it appears in.)
configure:5504: parse error before "xx"
configure: failed program was:
#line 5497 "configure"
#include "confdefs.h"

#ifdef HAVE_TERMCAP_H
# include <termcap.h>
#endif
                       
int main() {
extern int xx(); tputs("test", 1, (outfuntype)xx)
; return 0; }
configure:5523: checking whether sys/select.h and sys/time.h may both be included
configure:5535: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5552: checking for /dev/ptc
configure:5564: checking for SVR4 ptys
configure:5574: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5592: checking for ptyranges
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:5633: checking default tty permissions/group
configure:5671: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5702: checking return type of signal handlers
configure:5724: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5756: checking for struct sigcontext
configure:5772: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5788: checking getcwd implementation
configure:5805: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for bcmp
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5842: warning: conflicting types for built-in function `bcmp'
configure:5830: checking for fchdir
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for fchown
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for fseeko
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for fsync
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for ftello
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for getcwd
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for getpseudotty
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/tmp/ccazr79A.o: In function `main':
/root/vim61/src/configure:5852: undefined reference to `getpseudotty'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5835 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getpseudotty(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getpseudotty();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_getpseudotty) || defined (__stub___getpseudotty)
choke me
#else
getpseudotty();
#endif

; return 0; }
configure:5830: checking for getpwnam
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for getpwuid
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for getrlimit
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for gettimeofday
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for getwd
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/tmp/cconI7pK.o: In function `main':
/root/vim61/src/configure:5852: the `getwd' function is dangerous and should not be used.
configure:5830: checking for lstat
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for memcmp
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5842: warning: conflicting types for built-in function `memcmp'
configure:5830: checking for memset
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5842: warning: conflicting types for built-in function `memset'
configure:5830: checking for nanosleep
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for opendir
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for putenv
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for qsort
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for readlink
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for select
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for setenv
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for setpgid
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for setsid
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for sigaltstack
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for sigstack
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/tmp/ccY3vXSo.o: In function `main':
/root/vim61/src/configure:5852: the `sigstack' function is dangerous.  `sigaltstack' should be used instead.
configure:5830: checking for sigset
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for sigsetjmp
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/tmp/ccMz32lS.o: In function `main':
/root/vim61/src/configure:5852: undefined reference to `sigsetjmp'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5835 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sigsetjmp(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sigsetjmp();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sigsetjmp) || defined (__stub___sigsetjmp)
choke me
#else
sigsetjmp();
#endif

; return 0; }
configure:5830: checking for sigaction
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for sigvec
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for strcasecmp
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for strerror
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for strftime
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for stricmp
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/tmp/ccmzIr4g.o: In function `main':
/root/vim61/src/configure:5852: undefined reference to `stricmp'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5835 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stricmp(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char stricmp();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stricmp) || defined (__stub___stricmp)
choke me
#else
stricmp();
#endif

; return 0; }
configure:5830: checking for strncasecmp
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for strnicmp
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/tmp/ccSf7Iks.o: In function `main':
/root/vim61/src/configure:5852: undefined reference to `strnicmp'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5835 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strnicmp(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strnicmp();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strnicmp) || defined (__stub___strnicmp)
choke me
#else
strnicmp();
#endif

; return 0; }
configure:5830: checking for strpbrk
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5842: warning: conflicting types for built-in function `strpbrk'
configure:5830: checking for strtol
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for tgetent
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for usleep
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for utime
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5830: checking for utimes
configure:5858: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5884: checking for st_blksize
configure:5898: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5913: checking for iconv_open()
configure:5928: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  -liconv 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
configure: failed program was:
#line 5917 "configure"
#include "confdefs.h"

#ifdef HAVE_ICONV_H
# include <iconv.h>
#endif
   
int main() {
iconv_open("fr", "to");
; return 0; }
configure:5951: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:5969: checking for nl_langinfo(CODESET)
configure:5982: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:5978: `CODESET' undeclared (first use in this function)
configure:5978: (Each undeclared identifier is reported only once
configure:5978: for each function it appears in.)
configure:5978: warning: initialization makes pointer from integer without a cast
configure: failed program was:
#line 5971 "configure"
#include "confdefs.h"

#ifdef HAVE_LANGINFO_H
# include <langinfo.h>
#endif

int main() {
char *cs = nl_langinfo(CODESET);
; return 0; }
configure:5997: checking for acl_get_file in -lposix1e
configure:6016: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lposix1e  -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/bin/ld: cannot find -lposix1e
collect2: ld returned 1 exit status
configure: failed program was:
#line 6005 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char acl_get_file();

int main() {
acl_get_file()
; return 0; }
configure:6035: checking for acl_get_file in -lacl
configure:6054: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lacl  -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/bin/ld: cannot find -lacl
collect2: ld returned 1 exit status
configure: failed program was:
#line 6043 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char acl_get_file();

int main() {
acl_get_file()
; return 0; }
configure:6078: checking for POSIX ACL support
configure:6094: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:6086: parse error before "acl"
configure:6086: warning: data definition has no type or storage class
configure: In function `main':
configure:6088: `ACL_TYPE_ACCESS' undeclared (first use in this function)
configure:6088: (Each undeclared identifier is reported only once
configure:6088: for each function it appears in.)
configure: failed program was:
#line 6080 "configure"
#include "confdefs.h"

#include <sys/types.h>
#ifdef HAVE_SYS_ACL_H
# include <sys/acl.h>
#endif
acl_t acl;
int main() {
acl = acl_get_file("foo", ACL_TYPE_ACCESS);
        acl_set_file("foo", ACL_TYPE_ACCESS, acl);
        acl_free(acl);
; return 0; }
configure:6109: checking for Solaris ACL support
configure:6122: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:6117: `GETACLCNT' undeclared (first use in this function)
configure:6117: (Each undeclared identifier is reported only once
configure:6117: for each function it appears in.)
configure:6117: `NULL' undeclared (first use in this function)
configure: failed program was:
#line 6111 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_ACL_H
# include <sys/acl.h>
#endif
int main() {
acl("foo", GETACLCNT, 0, NULL);
       
; return 0; }
configure:6137: checking for AIX ACL support
configure:6161: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:6154: sizeof applied to an incomplete type
configure:6156: `STX_NORMAL' undeclared (first use in this function)
configure:6156: (Each undeclared identifier is reported only once
configure:6156: for each function it appears in.)
configure: failed program was:
#line 6139 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_ACL_H
# include <sys/acl.h>
#endif
#ifdef HAVE_SYS_ACCESS_H
# include <sys/access.h>
#endif
#define _ALL_SOURCE

#include <sys/stat.h>

int aclsize;
struct acl *aclent;
int main() {
aclsize = sizeof(struct acl);
        aclent = (void *)malloc(aclsize);
        statacl("foo", STX_NORMAL, aclent, aclsize);
       
; return 0; }
configure:6176: checking --disable-gpm argument
configure:6189: checking for gpm
configure:6203: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lgpm 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:6196:17: gpm.h: No such file or directory
configure: In function `main':
configure:6199: `NULL' undeclared (first use in this function)
configure:6199: (Each undeclared identifier is reported only once
configure:6199: for each function it appears in.)
configure: failed program was:
#line 6195 "configure"
#include "confdefs.h"
#include <gpm.h>
            #include <linux/keyboard.h>
int main() {
Gpm_GetLibVersion(NULL);
; return 0; }
configure:6230: checking for rename
configure:6239: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:6254: checking for sysctl
configure:6271: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:6263: `CTL_HW' undeclared (first use in this function)
configure:6263: (Each undeclared identifier is reported only once
configure:6263: for each function it appears in.)
configure:6264: `HW_USERMEM' undeclared (first use in this function)
configure: failed program was:
#line 6256 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/sysctl.h>
int main() {
        int mib[2], r;
        size_t len;

        mib[0] = CTL_HW;
        mib[1] = HW_USERMEM;
        len = sizeof(r);
        (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0);
       
; return 0; }
configure:6286: checking for sysinfo
configure:6301: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:6316: checking for sysconf
configure:6327: gcc -c -g -O2  -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:6343: checking size of int
configure:6362: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:6383: checking whether memmove/bcopy/memcpy handle overlaps
configure:6407: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:6525: checking for _xpg4_setrunelocale in -lxpg4
configure:6544: gcc -o conftest -g -O2  -I/usr/local/include  -L/usr/local/lib conftest.c -lxpg4  -lncurses  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/bin/ld: cannot find -lxpg4
collect2: ld returned 1 exit status
configure: failed program was:
#line 6533 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _xpg4_setrunelocale();

int main() {
_xpg4_setrunelocale()
; return 0; }
configure:6566: checking how to create tags
etags: skipping /dev/null: it is not a regular file.
etags: no input files specified.
        Try `etags --help' for a complete list of options.
ctags: skipping /dev/null: it is not a regular file.
ctags: skipping /dev/null: it is not a regular file.
ctags: invalid option -- s
        Try `ctags --help' for a complete list of options.
ctags: invalid option -- s
        Try `ctags --help' for a complete list of options.
        Try `ctags --help' for a complete list of options.
configure:6583: checking how to run man with a section nr
man: invalid option -- s
man, version 1.5k

usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list]
        [-m system] [-p string] name ...

  a : find all matching entries
  c : do not use cat file
  d : print gobs of debugging information
  D : as for -d, but also display the pages
  f : same as whatis(1)
  h : print this help message
  k : same as apropos(1)
  K : search for a string in all pages
  t : use troff to format pages for printing
  w : print location of man page(s) that would be displayed
      (if no name given: print directories that would be searched)
  W : as for -w, but display filenames only

  C file   : use `file' as configuration file
  M path   : set search path for manual pages to `path'
  P pager  : use program `pager' to display pages
  S list   : colon separated section list
  m system : search for alternate system's man pages
  p string : string tells which preprocessors to run
               e - [n]eqn(1)   p - pic(1)    t - tbl(1)
               g - grap(1)     r - refer(1)  v - vgrind(1)
configure:6595: checking --disable-nls argument
configure:6610: checking for msgfmt
configure:6637: checking for NLS
configure:6778: checking for dlfcn.h
configure:6788: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 6783 "configure"
#include "confdefs.h"
#include <dlfcn.h>
configure:6809: checking for dl.h
configure:6819: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure:6815:16: dl.h: No such file or directory
configure: failed program was:
#line 6814 "configure"
#include "confdefs.h"
#include <dl.h>
configure:7028: checking for setjmp.h
configure:7038: gcc -E  -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 7033 "configure"
#include "confdefs.h"
#include <setjmp.h>
发表于 2003-6-9 20:50:59 | 显示全部楼层
你的和我的一样啊,看make出错,好像是函数定义不一样。你在configure的时候,它有没有说是cygwin或mingw?
可能是环境里有点问题。
你再运行一下configure,把前面几页的结果贴一下看看。
发表于 2003-6-9 20:52:59 | 显示全部楼层
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include  -g -O2  -I/usr/X11R6/include       -o objects/buffer.o buffer.c
我编译buffer.c的那行是这样的,你的一样么?
 楼主| 发表于 2003-6-9 21:40:31 | 显示全部楼层
这是configure的输出:

creating cache auto/config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for POSIXized ISC... no
checking for mawk... no
checking for gawk... gawk
checking for strip... strip
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for buggy tools
- sh is        'GNU bash, version 2.05a.0(1)-release (i686-pc-linux-gnu)
Copyright 2001 Free Software Foundation, Inc.' - probably OK.
- sed is        'GNU sed version 3.02

Copyright (C) 1998 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.'.
checking for BeOS... no
checking for QNX... no
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --with-features argument... huge
checking --with-compiledby argument... no
checking --enable-perlinterp argument... no
checking --enable-pythoninterp argument... no
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... no
checking --enable-cscope argument... no
checking --enable-workshop argument... no
checking --enable-sniff argument... no
checking --enable-multibyte argument... no
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... /usr/X11R6/bin/xmkmf
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... yes
checking for _XdmcpAuthDoIt in -lXdmcp... no
checking for IceOpenConnection in -lICE... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking if X11 header files implicitly declare return values... test failed
checking --enable-gui argument... auto - automatic GUI support
checking whether or not to look for GTK... yes
checking whether or not to look for GNOME... no
checking whether or not to look for Motif... yes
checking whether or not to look for Athena... yes
checking --with-gtk-prefix argument... no
checking --with-gtk-exec-prefix argument... no
checking --disable-gtktest argument... gtk test enabled
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.1.16... yes
checking for X11/xpm.h... no
checking for X11/Sunkeysym.h... no
checking for XIMText in X11/Xlib.h... yes
X GUI selected; xim has been enabled
checking quality of toupper... good
checking whether __DATE__ and __TIME__ work... yes
checking for elf.h... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... no
checking for string.h... no
checking for sys/select.h... no
checking for sys/utsname.h... no
checking for termcap.h... no
checking for fcntl.h... no
checking for sgtty.h... no
checking for sys/ioctl.h... no
checking for sys/time.h... no
checking for termio.h... no
checking for iconv.h... no
checking for langinfo.h... no
checking for unistd.h... no
checking for stropts.h... no
checking for errno.h... no
checking for strings.h... no
checking for sys/resource.h... no
checking for sys/systeminfo.h... no
checking for locale.h... no
checking for sys/stream.h... no
checking for sys/ptem.h... no
checking for termios.h... no
checking for libc.h... no
checking for sys/statfs.h... no
checking for poll.h... no
checking for sys/poll.h... no
checking for pwd.h... no
checking for utime.h... no
checking for sys/param.h... no
checking for libintl.h... no
checking for libgen.h... no
checking for util/debug.h... no
checking for util/msg18n.h... no
checking for frame.h... no
checking for sys/acl.h... no
checking for sys/access.h... no
checking for sys/sysctl.h... no
checking for sys/sysinfo.h... no
checking if strings.h can be included after string.h... yes
checking whether gcc needs -traditional... no
checking for working const... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... yes
checking for dev_t... yes
checking for rlim_t... no
checking for stack_t... yes
checking --with-tlib argument... automatic terminal library selection
checking for tgetent in -lncurses... yes
checking whether we talk terminfo... yes -- terminfo spoken here
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for ptyranges... abcdepqrstuvwxyz / 0123456789abcdef
checking default tty permissions/group... pty mode: 0620, group: 4
checking return type of signal handlers... void
checking for struct sigcontext... yes
checking getcwd implementation... it is usable
checking for bcmp... yes
checking for fchdir... yes
checking for fchown... yes
checking for fseeko... yes
checking for fsync... yes
checking for ftello... yes
checking for getcwd... yes
checking for getpseudotty... no
checking for getpwnam... yes
checking for getpwuid... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for lstat... yes
checking for memcmp... yes
checking for memset... yes
checking for nanosleep... yes
checking for opendir... yes
checking for putenv... yes
checking for qsort... yes
checking for readlink... yes
checking for select... yes
checking for setenv... yes
checking for setpgid... yes
checking for setsid... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for sigset... yes
checking for sigsetjmp... no
checking for sigaction... yes
checking for sigvec... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strnicmp... no
checking for strpbrk... yes
checking for strtol... yes
checking for tgetent... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking for st_blksize... yes
checking for iconv_open()... yes
checking for nl_langinfo(CODESET)... no
checking for acl_get_file in -lposix1e... no
checking for acl_get_file in -lacl... no
checking for POSIX ACL support... no
checking for Solaris ACL support... no
checking for AIX ACL support... no
checking --disable-gpm argument... no
checking for gpm... no
checking for rename... yes
checking for sysctl... not usable
checking for sysinfo... yes
checking for sysconf... yes
checking size of int... 4
checking whether memmove/bcopy/memcpy handle overlaps... memmove does
checking for _xpg4_setrunelocale in -lxpg4... no
checking how to create tags... ctags -t
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... no po directory - disabled
checking for dlfcn.h... no
checking for dl.h... no
checking for setjmp.h... no
updating cache auto/config.cache
creating auto/config.status
creating auto/config.mk
creating auto/config.h
 楼主| 发表于 2003-6-9 21:41:15 | 显示全部楼层
这是make的完整输出,包括出错的部分:

Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1]: Entering directory `/root/vim61/src'
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include  -g -O2  -I/usr/X11R6/include      " srcdir=. sh ./osdef.sh
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include  -g -O2  -I/usr/X11R6/include       -o objects/buffer.o buffer.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from /usr/X11R6/include/X11/Intrinsic.h:64,
                 from gui.h:34,
                 from structs.h:73,
                 from vim.h:1327,
                 from buffer.c:29:
/usr/include/string.h:42: conflicting types for `memmove'
auto/osdef.h:58: previous declaration of `memmove'
/usr/include/string.h:273: conflicting types for `strcasecmp'
auto/osdef.h:76: previous declaration of `strcasecmp'
/usr/include/string.h:277: conflicting types for `strncasecmp'
auto/osdef.h:79: previous declaration of `strncasecmp'
In file included from /usr/include/bits/string2.h:1185,
                 from /usr/include/string.h:360,
                 from /usr/X11R6/include/X11/Intrinsic.h:64,
                 from gui.h:34,
                 from structs.h:73,
                 from vim.h:1327,
                 from buffer.c:29:
/usr/include/stdlib.h:527: conflicting types for `malloc'
auto/osdef.h:124: previous declaration of `malloc'
make[1]: *** [objects/buffer.o] Error 1
make[1]: Leaving directory `/root/vim61/src'
make: *** [first] Error 2
发表于 2003-6-9 23:30:30 | 显示全部楼层
问题出在这里,下面是我的结果,和你的不一样,我的头文件能找到:
checking for elf.h... yes
checking for main in -lelf... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/select.h... yes
checking for sys/utsname.h... yes
checking for termcap.h... yes
checking for fcntl.h... yes
checking for sgtty.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for termio.h... yes
checking for iconv.h... yes
checking for langinfo.h... yes
checking for unistd.h... yes
checking for stropts.h... yes
checking for errno.h... yes
checking for strings.h... yes
checking for sys/resource.h... yes
checking for sys/systeminfo.h... no
checking for locale.h... yes
checking for sys/stream.h... no
checking for sys/ptem.h... no
checking for termios.h... yes
checking for libc.h... no
checking for sys/statfs.h... yes
checking for poll.h... yes
checking for sys/poll.h... yes
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/param.h... yes
checking for libintl.h... yes
checking for libgen.h... yes
checking for util/debug.h... no
checking for util/msg18n.h... no
checking for frame.h... no
checking for sys/acl.h... no
checking for sys/access.h... no
checking for sys/sysctl.h... yes
checking for sys/sysinfo.h... yes

你检查一下/usr/include目录下面有没有string.h这些头文件?如果有,那它们的读写权限对不对?
 楼主| 发表于 2003-6-9 23:40:55 | 显示全部楼层
这些头文件都有,它们的读写权限应该是怎样?是644吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表