hi,all
i am runing redhat EL 4.
i patch squid-2.5.STABLE13 with latest epoll patch,and run :
"sh bootstrap.sh" and get flowing output:
WARNING: Cannot find autoconf version 2.13
Trying autoconf (GNU Autoconf) 2.59
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
configure.in:13: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
aclocal.m4:628: AM_CONFIG_HEADER is expanded from...
configure.in:13: the top level
configure.in:1555: warning: AC_CHECK_TYPE: assuming `u_short' is not a type
autoconf/types.m4:234: AC_CHECK_TYPE is expanded from...
configure.in:1555: the top level
configure.in:2553: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:641: _AM_DIRNAME is expanded from...
configure.in:2553: the top level
configure.in:13: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
aclocal.m4:628: AM_CONFIG_HEADER is expanded from...
configure.in:13: the top level
configure.in:1555: warning: AC_CHECK_TYPE: assuming `u_short' is not a type
autoconf/types.m4:234: AC_CHECK_TYPE is expanded from...
configure.in:1555: the top level
configure.in:2553: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:641: _AM_DIRNAME is expanded from...
configure.in:2553: the top level
configure.in:2366: error: do not use LIBOBJS directly, use AC_LIBOBJ
(see section `AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoconf failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source treeWARNING: Cannot find autoconf
version 2.13
Trying autoconf (GNU Autoconf) 2.59
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
configure.in:13: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
aclocal.m4:628: AM_CONFIG_HEADER is expanded from...
configure.in:13: the top level
configure.in:1555: warning: AC_CHECK_TYPE: assuming `u_short' is not a type
autoconf/types.m4:234: AC_CHECK_TYPE is expanded from...
configure.in:1555: the top level
configure.in:2553: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:641: _AM_DIRNAME is expanded from...
configure.in:2553: the top level
configure.in:13: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
aclocal.m4:628: AM_CONFIG_HEADER is expanded from...
configure.in:13: the top level
configure.in:1555: warning: AC_CHECK_TYPE: assuming `u_short' is not a type
autoconf/types.m4:234: AC_CHECK_TYPE is expanded from...
configure.in:1555: the top level
configure.in:2553: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:641: _AM_DIRNAME is expanded from...
configure.in:2553: the top level
configure.in:2366: error: do not use LIBOBJS directly, use AC_LIBOBJ
(see section `AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoconf failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree
i use folowing syntax to configure squid:
./configure --enable-asyno-io=60 --enable-cache-digests
--enable-underscore --enable-pthreads --enable-storeio
--prefix=/var/squid --enable-epoll --disable-poll --disable-select
--sysconfdir=/etc --disable-delay-pools --enable-removal-policies
--disable-ident-lookups --disable-hostname-checks --with-aio
--disable-wccp --enable-linux-netfilter --with-maxfd=32768
and make the source,i get folowing error:
gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include -g -O2 -Wall -D_REENTRANT
-c `test -f debug.c || echo './'`debug.c
In file included from squid.h:410,
from debug.c:36:
protos.h:1298: warning: parameter names (without types) in function
declaration
debug.c:57: error: syntax error before "va_dcl"
debug.c:58: error: syntax error before '{' token
debug.c:71: error: syntax error before "if"
debug.c:78: warning: type defaults to `int' in declaration of `format'
debug.c:78: warning: initialization makes integer from pointer without a
cast
debug.c:78: error: initializer element is not constant
debug.c:78: warning: data definition has no type or storage class
debug.c:80: error: syntax error before numeric constant
debug.c:81: warning: type defaults to `int' in declaration of `snprintf'
debug.c:81: error: conflicting types for 'snprintf'
debug.c:81: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
debug.c:81: error: conflicting types for 'snprintf'
debug.c:81: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
debug.c:82: warning: type defaults to `int' in declaration of `format'
debug.c:82: error: syntax error before ')' token
debug.c:83: warning: type defaults to `int' in declaration of
`_db_print_file'
debug.c:83: warning: parameter names (without types) in function declaration
debug.c:83: error: conflicting types for '_db_print_file'
debug.c:49: error: previous declaration of '_db_print_file' was here
debug.c:83: error: conflicting types for '_db_print_file'
debug.c:49: error: previous declaration of '_db_print_file' was here
debug.c:83: warning: data definition has no type or storage class
debug.c:84: warning: type defaults to `int' in declaration of
`_db_print_stderr'
debug.c:84: warning: parameter names (without types) in function declaration
debug.c:84: error: conflicting types for '_db_print_stderr'
debug.c:48: error: previous declaration of '_db_print_stderr' was here
debug.c:84: error: conflicting types for '_db_print_stderr'
debug.c:48: error: previous declaration of '_db_print_stderr' was here
debug.c:84: warning: data definition has no type or storage class
debug.c:86: warning: type defaults to `int' in declaration of
`_db_print_syslog'
debug.c:86: warning: parameter names (without types) in function declaration
debug.c:86: error: conflicting types for '_db_print_syslog'
debug.c:46: error: previous declaration of '_db_print_syslog' was here
debug.c:86: error: conflicting types for '_db_print_syslog'
debug.c:46: error: previous declaration of '_db_print_syslog' was here
debug.c:86: warning: data definition has no type or storage class
debug.c:88: warning: type defaults to `int' in declaration of
`__builtin_va_end'
debug.c:88: warning: parameter names (without types) in function declaration
debug.c:88: warning: data definition has no type or storage class
debug.c:93: error: syntax error before '}' token
debug.c:97: error: conflicting types for '_db_print_file'
debug.c:83: error: previous declaration of '_db_print_file' was here
debug.c:97: error: conflicting types for '_db_print_file'
debug.c:83: error: previous declaration of '_db_print_file' was here
debug.c:110: error: conflicting types for '_db_print_stderr'
debug.c:84: error: previous declaration of '_db_print_stderr' was here
debug.c:110: error: conflicting types for '_db_print_stderr'
debug.c:84: error: previous declaration of '_db_print_stderr' was here
debug.c:121: error: conflicting types for '_db_print_syslog'
debug.c:86: error: previous declaration of '_db_print_syslog' was here
debug.c:121: error: conflicting types for '_db_print_syslog'
debug.c:86: error: previous declaration of '_db_print_syslog' was here
debug.c:398: warning: 'debugLogTime' defined but not used
debug.c:46: warning: '_db_print_syslog' declared `static' but never defined
debug.c:48: warning: '_db_print_stderr' declared `static' but never defined
debug.c:49: warning: '_db_print_file' declared `static' but never defined
debug.c:61: warning: 'f' defined but not used
debug.c:97: warning: '_db_print_file' defined but not used
debug.c:110: warning: '_db_print_stderr' defined but not used
debug.c:121: warning: '_db_print_syslog' defined but not used
make[3]: *** [debug.o] Error 1
make[3]: Leaving directory `/mirror/tmp/squid-2.5.STABLE13-20060520/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mirror/tmp/squid-2.5.STABLE13-20060520/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mirror/tmp/squid-2.5.STABLE13-20060520/src'
make: *** [all-recursive] Error 1
any idea?
Received on Fri May 19 2006 - 23:11:16 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT