[syslog-ng] 'make fails' @ conflicting types for 'affile_dd_set_file_perm'

OpenMacNews OpenMacNews at speakeasy.net
Mon Aug 8 05:07:07 CEST 2005


hi,

> I've fixed this one, and I've also found a problem in uid/gid setting
> for file destinations. The fixes should be incorporated in tonight's
> snapshot.

building on OSX 10.4.2:

    eventlog-0.2.3+20050808
    syslog-ng-1.9.5+20050808

the problem is, indeed, gone. =)

the resulting binary looks ok:

    % rehash
    % which syslog-ng
    	/usr/local/sbin/syslog-ng
    % syslog-ng --version
    	syslog-ng 1.9.5
    % otool -L /usr/local/sbin/syslog-ng
    	/usr/local/bind9/lib/liblwres.1.dylib (compatibility version 4.0.0,
    current version 4.2.0)
    	/usr/local/bind9/lib/libbind9.0.dylib (compatibility version 1.0.0,
    current version 1.5.0)
    	/usr/local/lib/libglib-2.0.0.dylib (compatibility version 702.0.0, current
    version 702.6.0)
    	/usr/local/lib/libintl.3.dylib (compatibility version 8.0.0, current
    version 8.3.0)
    	/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version
    5.0.0)
    	/usr/local/lib/libevtlog.0.dylib (compatibility version 1.0.0, current
    version 1.0.0)
    	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
    88.0.0)

and seems to launch ok:

    % /Library/StartupItems/SyslogNG/SyslogNG start
    % ps -ax | grep syslog-ng
	   14456  ??  Rs     0:28.95 /usr/local/sbin/syslog-ng -f 
/usr/local/etc/syslog-ng/syslog-ng.conf -p /var/run/syslog-ng.pid

BUT,

    % make check

fails with:

    Making check in src
    make[1]: Nothing to be done for `check'.
    Making check in doc
    make[1]: Nothing to be done for `check'.
    Making check in tests
    Making check in unit
    make  test_msgparse test_template
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/bind9/include
    -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
    -I/usr/local/include/eventlog   -D_GNU_SOURCE -I../../src -g -O2 -Wall -g
    -MT test_msgparse.o -MD -MP -MF ".deps/test_msgparse.Tpo" -c -o
    test_msgparse.o test_msgparse.c; \
    then mv -f ".deps/test_msgparse.Tpo" ".deps/test_msgparse.Po"; else rm -f
    ".deps/test_msgparse.Tpo"; exit 1; fi
    test_msgparse.c: In function `main':
    test_msgparse.c:78: error: invalid lvalue in assignment
    make[3]: *** [test_msgparse.o] Error 1
    make[2]: *** [check-am] Error 2
    make[1]: *** [check-recursive] Error 1
    make: *** [check-recursive] Error 1

cheers,


richard




More information about the syslog-ng mailing list