[syslog-ng] Re: syslog-ng-1.2.3 compile problem on HP-UX 10.20

Balazs Scheidler bazsi@balabit.hu
Sun, 19 Dec 1999 16:22:32 +0100

On Sun, Dec 19, 1999 at 04:14:35PM +0100, Ralf Hildebrandt wrote:
> Hi!
> Just a single error keeps me from building syslog-ng:
> make[1]: Entering directory /mnt/disk4/gnu/syslog-ng-1.2.3/src'
> gcc -DHAVE_CONFIG_H -I. -I/users2/gnu/syslog-ng-1.2.3/src -I.     -O2 -Wall
> -I/users2/local/include/libol -c afstreams.c
> afstreams.c: In function do_kill_door':
> afstreams.c:60: warning: implicit declaration of function door_revoke'
> afstreams.c: In function do_stream_read':
> afstreams.c:106: structure has no member named pri'
> afstreams.c: In function do_init_afstreams_source':
> afstreams.c:209: I_CONSLOG' undeclared (first use in this function)
> afstreams.c:209: (Each undeclared identifier is reported only once
> afstreams.c:209: for each function it appears in.)
> afstreams.c:246: too few arguments to function close_fd'
> afstreams.c:206: warning: unused variable st'
> afstreams.c: At top level:
> afstreams.c:65: warning: make_door_fd' defined but not used
> make[1]: *** [afstreams.o] Error 1
> make[1]: Leaving directory /mnt/disk4/gnu/syslog-ng-1.2.3/src'
> make: *** [all-recursive] Error 1

HP-UX doesn't have doors and STREAMS, it seems that the configure script
doesn't detect this correctly. Try to set

HAVE_SYS_STRLOG_H and HAVE_STROPTS_H to 0 in config.h

and rebuild.

PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt