[syslog-ng] [Bug 192] New: 3.3.6 fails to compile with --disable-spoof-source

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sun Sep 2 03:06:20 CEST 2012


https://bugzilla.balabit.com/show_bug.cgi?id=192

           Summary: 3.3.6 fails to compile with --disable-spoof-source
           Product: syslog-ng
           Version: 3.3.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: dreisner at archlinux.org
Type of the Report: ---
   Estimated Hours: 0.0


Created an attachment (id=65)
 --> (https://bugzilla.balabit.com/attachment.cgi?id=65)
fix build with --disable-spoof-source

modules/afsocket/afinet.c misses some #ifdef protection of AFInetDestDriver.spoof_source, which leads to compilation failures with --disable-spoof-source.

afinet.c: In function 'afinet_dd_init':
afinet.c:545:11: error: 'AFInetDestDriver' has no member named 'spoof_source'
mv -f .deps/libafsocket_notls_la-afsocket-plugin.Tpo .deps/libafsocket_notls_la-afsocket-plugin.Plo
mv -f .deps/libafsocket_notls_la-afsocket-parser.Tpo .deps/libafsocket_notls_la-afsocket-parser.Plo
make[4]: *** [libafsocket_notls_la-afinet.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/libafsocket_tls_la-afsocket-parser.Tpo .deps/libafsocket_tls_la-afsocket-parser.Plo
afinet.c: In function 'afinet_dd_init':
afinet.c:545:11: error: 'AFInetDestDriver' has no member named 'spoof_source'

It looks like your public facing git repo isn't updated yet for the 3.3.x branch, so the attached patch is against the 3.3.6 tarball.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list