[syslog-ng]compile of syslog-ng-1.6.0rc4 fails

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Wed, 3 Dec 2003 17:51:36 -0700 (MST)


I can do a plain ./configure and then a make. Below is my output:

--SNIP--
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether build environment is sane... 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 for gcc option to accept ANSI C... none needed
checking for bison... bison -y
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking whether make sets ${MAKE}... (cached) yes
checking for ANSI C header files... yes
checking for malloc.h... yes
checking for unistd.h... yes
checking for door.h... no
checking for stropts.h... yes
checking for sys/strlog.h... no
checking for stdarg.h... yes
checking for sys/klog.h... yes
checking for arpa/nameser.h... yes
checking for tcpd.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for modern utmp... yes
checking whether to compile klogctl... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for I_CONSLOG... no
checking for O_LARGEFILE... yes
checking for res_init in <resolv.h>... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for res_init in -lresolv... no
checking for __res_init in -lresolv... yes
checking for door_create in -ldoor... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for select... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror... yes
checking for inet_aton... yes
checking for strncpy... yes
checking for getutent... yes
checking for getopt_long... yes
checking for strcasecmp... yes
checking for strptime... yes
checking for TCP wrapper library... -lwrap
checking whether to enable Sun STREAMS support... no
checking whether to enable Sun door support... no
checking whether to enable TCP wrapper support... no
checking libol version >= 0.3.10... ok
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/tests/Makefile
creating doc/Makefile
creating doc/sgml/Makefile
creating contrib/Makefile
creating syslog-ng.spec
creating src/config.h
make[1]: Entering directory
`/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4'
Making all in src
make[2]: Entering directory
`/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4/src'
cd /home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4 && autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:61: warning: AC_PROG_LEX invoked multiple times
cd .. \
  && CONFIG_FILES= CONFIG_HEADERS=src/config.h \
     /bin/sh ./config.status
creating src/config.h
make  all-recursive
make[3]: Entering directory
`/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4/src'
Making all in .
make[4]: Entering directory
`/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4/src'
gcc -DHAVE_CONFIG_H -I.
-I/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4/src -I.     -g -O2
-Wall -I/home/jrod/basebuild/libol/libol-0.3.11/src -D_GNU_SOURCE -c
main.c
In file included from main.c:26:
syslog-ng.h:31:21: objects.h: No such file or directory
In file included from cfgfile.h:29,
                 from main.c:27:
sources.h:30:23: read_line.h: No such file or directory
In file included from sources.h:32,
                 from cfgfile.h:29,
                 from main.c:27:
log.h:30:16: io.h: No such file or directory
In file included from sources.h:32,
                 from cfgfile.h:29,
                 from main.c:27:
log.h:39: parse error before "UINT32"
log.h:39: warning: no semicolon at end of struct or union
log.h:43: parse error before "pri"
log.h:43: warning: type defaults to `int' in declaration of `pri'
log.h:43: warning: data definition has no type or storage class
log.h:44: parse error before "flags"
log.h:44: warning: type defaults to `int' in declaration of `flags'
log.h:44: warning: data definition has no type or storage class
log.h:51: parse error before '}' token
In file included from log.h:54,
                 from sources.h:32,
                 from cfgfile.h:29,
                 from main.c:27:
log.h.x:4: field `super' has incomplete type
log.h.x:9: confused by earlier errors, bailing out
make[4]: *** [main.o] Error 1
make[4]: Leaving directory
`/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4/src'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/jrod/basebuild/syslog-ng/syslog-ng-1.6.0rc4'
--SNIP--

Any ideas?

Jeff