[syslog-ng] syslog-ng under HP-UX 10.20

Klaus Groenhoej kgr@kmd.dk
Fri, 24 Mar 2000 08:30:42 +0100


----- Original Message -----
From: "Gero Krueger" <krueger@obk.telekom.de>
To: <syslog-ng@lists.balabit.hu>
Sent: Thursday, March 23, 2000 2:23 PM
Subject: [syslog-ng] syslog-ng under HP-UX 10.20

> Hello snort-users !
> I tried to compile syslog-ng-1.4.2 under HP-UX 10.20 (using gcc 2.8).
> During the linker process, I realized that there is no
> snprintf (and vsnprintf) function in the libc.
> Does anyone know a solution for this ?

I'm getting a warning when i'm compiling syslog-ng:
$ make
No suffix list.
Making all in src
gcc -DHAVE_CONFIG_H -I. -I/usr/kgr/syslog-ng-1.4.2/src -I.     -O2 -Wall -I/usr/kgr/libol-0.2.16/src -D_GNU_SOURCE -c main.c
gcc -DHAVE_CONFIG_H -I. -I/usr/kgr/syslog-ng-1.4.2/src -I.     -O2 -Wall -I/usr/kgr/libol-0.2.16/src -D_GNU_SOURCE -c affile.c
affile.c: In function `expand_macro':
affile.c:369: warning: implicit declaration of function `snprintf'
gcc  -O2 -Wall -I/usr/kgr/libol-0.2.16/src -D_GNU_SOURCE  -o syslog-ng  main.o sources.o center.o filters.o destinations.o  log.o
cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o  afinet.o afinter.o afuser.o afstreams.o afprogram.o utils.o
syslog-names.o getopt.c getopt1.c  -lfl /usr/kgr/libol-0.2.16/src/.libs/libol.a -lxnet
Making all in doc
$ gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)

Most of the time, I'm  ignoring warnings.

Klaus Groenhoej
Kommunedata A/S
Hadsundvej 184
9100 Aalborg
Phone:  (+45)44601000 #2677
Direct: (+45)44602677
Fax:    (+45)44602990