FreeBSD 5.4 fresh install.
No Linux Binary Compatibility.
mysql41-client
Configured Makefile lines 15, 16, 24.
Fixed syslogd.c:
line 184: #include "/usr/local/include/mysql/mysql.h"
line 185: #include "/usr/local/include/mysql/errmsg.h"
Make output:
test# make
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c syslogd.c
syslogd.c: In function `writeFile':
syslogd.c:3038: warning: long unsigned int format, different type arg (arg 5)
syslogd.c:3038: warning: long unsigned int format, different type arg (arg 6)
syslogd.c:3038: warning: long unsigned int format, different type arg (arg 5)
syslogd.c:3038: warning: long unsigned int format, different type arg (arg 6)
syslogd.c:3045: warning: long unsigned int format, different type arg (arg 5)
syslogd.c:3045: warning: long unsigned int format, different type arg (arg 6)
syslogd.c:3045: warning: long unsigned int format, different type arg (arg 5)
syslogd.c:3045: warning: long unsigned int format, different type arg (arg 6)
syslogd.c: At top level:
syslogd.c:4633: warning: 'allocate_log' defined but not used
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -c pidfile.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c template.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c stringbuf.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c srUtils.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c outchannel.c
In file included from outchannel.c:21:
outchannel.h:11: error: syntax error before "off_t"
outchannel.c:110: error: syntax error before "off_t"
outchannel.c: In function `get_off_t':
outchannel.c:113: error: syntax error before "val"
outchannel.c:115: error: `pp' undeclared (first use in this function)
outchannel.c:115: error: (Each undeclared identifier is reported only once
outchannel.c:115: error: for each function it appears in.)
outchannel.c:117: error: `pOff_t' undeclared (first use in this function)
outchannel.c:122: error: `val' undeclared (first use in this function)
outchannel.c: In function `ochAddLine':
outchannel.c:205: error: structure has no member named `uSizeLimit'
outchannel.c: In function `ochPrintList':
outchannel.c:267: error: structure has no member named `uSizeLimit'
*** Error code 1
Stop in /usr/home/dennisolvany/rsyslog-0.9.0.
test#
No Linux Binary Compatibility.
mysql41-client
Configured Makefile lines 15, 16, 24.
Fixed syslogd.c:
line 184: #include "/usr/local/include/mysql/mysql.h"
line 185: #include "/usr/local/include/mysql/errmsg.h"
Make output:
test# make
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c syslogd.c
syslogd.c: In function `writeFile':
syslogd.c:3038: warning: long unsigned int format, different type arg (arg 5)
syslogd.c:3038: warning: long unsigned int format, different type arg (arg 6)
syslogd.c:3038: warning: long unsigned int format, different type arg (arg 5)
syslogd.c:3038: warning: long unsigned int format, different type arg (arg 6)
syslogd.c:3045: warning: long unsigned int format, different type arg (arg 5)
syslogd.c:3045: warning: long unsigned int format, different type arg (arg 6)
syslogd.c:3045: warning: long unsigned int format, different type arg (arg 5)
syslogd.c:3045: warning: long unsigned int format, different type arg (arg 6)
syslogd.c: At top level:
syslogd.c:4633: warning: 'allocate_log' defined but not used
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -c pidfile.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c template.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c stringbuf.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c srUtils.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c outchannel.c
In file included from outchannel.c:21:
outchannel.h:11: error: syntax error before "off_t"
outchannel.c:110: error: syntax error before "off_t"
outchannel.c: In function `get_off_t':
outchannel.c:113: error: syntax error before "val"
outchannel.c:115: error: `pp' undeclared (first use in this function)
outchannel.c:115: error: (Each undeclared identifier is reported only once
outchannel.c:115: error: for each function it appears in.)
outchannel.c:117: error: `pOff_t' undeclared (first use in this function)
outchannel.c:122: error: `val' undeclared (first use in this function)
outchannel.c: In function `ochAddLine':
outchannel.c:205: error: structure has no member named `uSizeLimit'
outchannel.c: In function `ochPrintList':
outchannel.c:267: error: structure has no member named `uSizeLimit'
*** Error code 1
Stop in /usr/home/dennisolvany/rsyslog-0.9.0.
test#