[rsyslog] v5-devel won't compile
Rainer Gerhards
rgerhards at hq.adiscon.com
Wed Jul 1 10:14:37 CEST 2009
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of david at lang.hm
> Sent: Wednesday, July 01, 2009 10:11 AM
> To: rsyslog-users
> Subject: Re: [rsyslog] v5-devel won't compile
>
> On Wed, 1 Jul 2009, Rainer Gerhards wrote:
>
> > Looks like a problem "with" Debian. I guess I defined some types that
zlib
> > also defines to the same names. I have to admit that Michael Biebl told
me,
> > but it somehow slipped my mind... Will test on Debian today and fix.
>
> master and v5-devel also complained that I didn't have the zlib
> development libraries installed (unable to find zlib.h), after I installed
> that it gave me the error I posted below.
I have begun to look into it. Debian has a slightly newer version of zlib
than Fedora (1.2.3.3 vs 1.2.3) and with that version's header the problem
occurs. I now need to look at the root cause, but it is well hidden ;)
>
> v4 didn't complain about the missing library to start with
>
> as I posted in another message, I was suprised the the problem didn't go
> away when I configured with --disable-zlib
That's a bug in omfile, it obviously does not yet properly reflect this
switch. Will fix that one, too.
Rainer
>
> David Lang
>
> > Rainer
> >
> >> -----Original Message-----
> >> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> >> bounces at lists.adiscon.com] On Behalf Of david at lang.hm
> >> Sent: Wednesday, July 01, 2009 12:42 AM
> >> To: rsyslog-users
> >> Subject: Re: [rsyslog] v5-devel won't compile
> >>
> >> On Tue, 30 Jun 2009, david at lang.hm wrote:
> >>
> >>> ubuntu 9.04
> >>
> >> correction, debian 5.0, not ubuntu (forgot which machine I was compiling
> >> on)
> >>
> >> master also fails with the same error, v4-stable has no problem.
> >>
> >> David Lang
> >>
> >>
> >>> zlib version
> >>> /* zlib.h -- interface of the 'zlib' general purpose compression
library
> >>> version 1.2.3.3, October 2nd, 2006
> >>>
> >>> ii zlib1g-dev 1:1.2.3.3.dfsg-12
> >>> compression library - development
> >>>
> >>>
> >>> error
> >>>
> >>> In file included from zlibw.h:28,
> >>> from stream.h:72,
> >>> from obj.h:50,
> >>> from rsyslog.h:482,
> >>> from stringbuf.c:39:
> >>> /usr/include/zlib.h:1366: error: expected '=', ',', ';', 'asm' or
> >>> '__attribute__' before 'gzseek64'
> >>> /usr/include/zlib.h:1367: error: expected '=', ',', ';', 'asm' or
> >>> '__attribute__' before 'gztell64'
> >>> /usr/include/zlib.h:1368: error: expected declaration specifiers or
'...'
> >>> before 'off64_t'
> >>> /usr/include/zlib.h:1369: error: expected declaration specifiers or
'...'
> >>> before 'off64_t'
> >>> make[2]: *** [librsyslog_la-stringbuf.lo] Error 1
> >>> make[2]: Leaving directory `/usr/src/rsyslog/runtime'
> >>> make[1]: *** [all-recursive] Error 1
> >>> make[1]: Leaving directory `/usr/src/rsyslog'
> >>> make: *** [all] Error 2
> >>>
> >>>
> >>> David Lang
> >>> _______________________________________________
> >>> rsyslog mailing list
> >>> http://lists.adiscon.net/mailman/listinfo/rsyslog
> >>> http://www.rsyslog.com
> >>>
> >> _______________________________________________
> >> rsyslog mailing list
> >> http://lists.adiscon.net/mailman/listinfo/rsyslog
> >> http://www.rsyslog.com
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com
> >
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
More information about the rsyslog
mailing list