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

Balazs Scheidler bazsi at balabit.hu
Sun Aug 7 19:32:21 CEST 2005


On Fri, 2005-08-05 at 19:37 -0700, OpenMacNews wrote:
> hi,
> 
> moving (finally) to bldg syslog-ng 1.9-snapshot on OSX 10.4.2
> 
> prereqs of glib 2.7.7 & eventlog-snapshot are built/installed.
> 
> syslog-ng-1.9-snapshot fails on 'make' @:
> 
> ...
> 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  -g -O2 -Wall -g -MT affile.o -MD 
> -MP -MF ".deps/affile.Tpo" -c -o affile.o affile.c; \
> then mv -f ".deps/affile.Tpo" ".deps/affile.Po"; else rm -f ".deps/affile.Tpo"; 
> exit 1; fi
> affile.c:305: error: conflicting types for 'affile_dd_set_file_perm'
> affile.c:305: note: an argument type that has a default promotion can't match 
> an empty parameter name list declaration
> affile.h:75: error: previous declaration of 'affile_dd_set_file_perm' was here
> affile.c:329: error: conflicting types for 'affile_dd_set_dir_perm'
> affile.c:329: note: an argument type that has a default promotion can't match 
> an empty parameter name list declaration
> affile.h:78: error: previous declaration of 'affile_dd_set_dir_perm' was here
> affile.c: In function 'affile_dd_init':
> affile.c:422: warning: comparison is always false due to limited range of data 
> type
> affile.c:428: warning: comparison is always false due to limited range of data 
> type
> make[2]: *** [affile.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

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.

-- 
Bazsi



More information about the syslog-ng mailing list