[syslog-ng] syslog-ng 1.1.9

Nicholas Merrill lists@mojo.calyx.net
Tue, 27 Apr 1999 23:17:24 -0400 (EDT)


Hi!

I'm attempting to compile the new syslog-ng 1.1.9, but not
getting too far- When I try to compile libol0.1.7 on FreeBSD
3.0 RELEASE I get:

[root@host libol-0.1.7]# make
Making all in utils
Making all in src
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/usr/src/libol-0.1.7/src -I.     -Wall -g -c format.c
rm -f .libs/format.lo
gcc -DHAVE_CONFIG_H -I. -I/usr/src/libol-0.1.7/src -I. -Wall -g -c  -fPIC
-DPIC format.c -o .libs/format.lo
In file included from format.c:32:
/usr/include/netinet/in.h:275: parse error before `u_char'
/usr/include/netinet/in.h:275: warning: no semicolon at end of struct or
union
/usr/include/netinet/in.h:276: warning: data definition has no type or
storage class
/usr/include/netinet/in.h:277: parse error before `sin_port'
/usr/include/netinet/in.h:277: warning: data definition has no type or
storage class
/usr/include/netinet/in.h:280: parse error before `}'
*** Error code 1

Stop.
*** Error code 1

Stop.


Does anyone have a guess?  This is the output of the configure script:

[root@buju libol-0.1.7]# ./configure 
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... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether build environment is sane... yes
checking for ranlib... ranlib
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 whether make sets ${MAKE}... (cached) yes
checking for scsh... no
checking host system type... i386-unknown-freebsdelf3.0
checking build system type... i386-unknown-freebsdelf3.0
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking for _ prefix in compiled symbols... (cached) no
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsdelf3.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for poll.h... yes
checking for sys/poll.h... yes
checking for working const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for __attribute__... yes
checking for working alloca.h... no
checking for alloca... yes
checking for inet_addr in -lxnet... no
checking for gethostbyname in -lnsl... no
checking for setsockopt in -lsocket... no
checking for libol in -lgc_maybe... no
checking for select... yes
checking for strerror... yes
checking for syslog... yes
checking for poll... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating utils/Makefile
creating libol-config
creating src/olconfig.h


thanks !

----------------------------------------------------------------------------
Nicholas Merrill       http://www.calyx.net            Voice: 212-966-1900
President / CEO        http://www.calyx.nl             Fax  : 212-966-3965
Calyx Internet Access  13 Laight St. NYC, NY 10013     Email: nick@calyx.net
----------------------------------------------------------------------------