[syslog-ng]compile problem HAVE_RES_INIT
Hamilton, Andrew
Andrew.Hamilton@afccc.af.mil
Thu, 31 Oct 2002 09:33:38 -0500
After the patch did you rerun configure?
-----Original Message-----
From: ktb [mailto:xyf@nixnotes.org]
Sent: Thursday, October 31, 2002 9:28 AM
To: syslog-ng@lists.balabit.hu
Subject: Re: [syslog-ng]compile problem HAVE_RES_INIT
On Thu, Oct 31, 2002 at 09:04:58AM -0500, Hamilton, Andrew wrote:
> Try this:
>
> FWIW the following patch seems to have fixed it:
>
> --- syslog-ng-1.5.23/acconfig.h.orig Wed Apr 3 12:37:02 2002
> +++ syslog-ng-1.5.23/acconfig.h Tue Oct 29 17:00:12 2002
> @@ -40,4 +40,5 @@
> #undef PATH_SYSCONFDIR
>
> #undef ENABLE_TCP_WRAPPER
> -
> \ No newline at end of file
> +
> +#undef HAVE_RES_INIT
>
> Drew
I'm not a programmer so wasn't completely sure how to implement this but
assumed the "-" meant to take those lines out of acconfig.h and the "+"
meant to add "#undef HAVE_RES_INIT" to the file in question. I ended up
with the errors below -
make[3]: Entering directory `/usr/local/src/syslog-ng-1.5.23/src'
gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/syslog-ng-1.5.23/src -I.
-g -O2 -Wall -D_G NU_SOURCE -c main.c
In file included from main.c:26:
syslog-ng.h:31: objects.h: No such file or directory
In file included from cfgfile.h:29,
from main.c:27:
sources.h:30: 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: io.h: No such file or directory
In file included from cfgfile.h:29,
from main.c:27:
sources.h:33: list.h: No such file or directory
main.c:29: format.h: No such file or directory
main.c:30: werror.h: No such file or directory
main.c:31: queue.h: No such file or directory
main.c:32: pkt_buffer.h: No such file or directory
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/usr/local/src/syslog-ng-1.5.23/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/syslog-ng-1.5.23/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/src/syslog-ng-1.5.23/src'
make: *** [all-recursive] Error 1
Thanks for the quick respons:)
kent
--
To know the truth is to distort the Universe.
Alfred N. Whitehead (adaptation)
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html