Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RSyslog: users

now compile prob

 

 

RSyslog users RSS feed   Index | Next | Previous | View Threaded


dennisolvany at gmail

May 30, 2005, 2:16 PM

Post #1 of 2 (314 views)
Permalink
now compile prob

postfix# 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:593:26: mysql/mysql.h: No such file or directory
syslogd.c:594:26: mysql/errmsg.h: No such file or directory
syslogd.c:825: error: syntax error before "MYSQL"
syslogd.c: In function `initMySQL':
syslogd.c:4928: warning: implicit declaration of function `mysql_init'
syslogd.c:4928: error: structure has no member named `f_hmysql'
syslogd.c:4932: warning: implicit declaration of function `mysql_real_connect'
syslogd.c:4932: error: structure has no member named `f_hmysql'
syslogd.c:4943: warning: implicit declaration of function `mysql_errno'
syslogd.c:4943: error: structure has no member named `f_hmysql'
syslogd.c: In function `closeMySQL':
syslogd.c:4955: warning: implicit declaration of function `mysql_close'
syslogd.c:4955: error: structure has no member named `f_hmysql'
syslogd.c: In function `writeMySQL':
syslogd.c:5000: warning: implicit declaration of function `mysql_query'
syslogd.c:5000: error: structure has no member named `f_hmysql'
syslogd.c:5010: error: structure has no member named `f_hmysql'
syslogd.c: In function `DBErrorHandler':
syslogd.c:5045: error: structure has no member named `f_hmysql'
syslogd.c:5046: warning: implicit declaration of function `mysql_error'
syslogd.c:5046: error: structure has no member named `f_hmysql'
syslogd.c:5049: error: structure has no member named `f_hmysql'
*** Error code 1

Stop in /usr/home/dennisolvany/rsyslog-0.8.4.
postfix#


rgerhards at hq

May 30, 2005, 2:21 PM

Post #2 of 2 (291 views)
Permalink
now compile prob [In reply to]

oops... looks like I didn't compile with DB support. shame on me ;) I
guess it's just a path issue, but I unfortunaltey can not verify right
at this moment. Please do a search for mysql.h and correct the pathes
according to what you find. Let me know if that works (and if so, where
you found it ;)).

Rainer

> -----Original Message-----
> From: rsyslog-bounces [at] lists
> [mailto:rsyslog-bounces [at] lists] On Behalf Of Dennis Olvany
> Sent: Monday, May 30, 2005 2:16 PM
> To: rsyslog [at] lists
> Subject: [rsyslog] now compile prob
>
> postfix# 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:593:26: mysql/mysql.h: No such file or directory
> syslogd.c:594:26: mysql/errmsg.h: No such file or directory
> syslogd.c:825: error: syntax error before "MYSQL"
> syslogd.c: In function `initMySQL':
> syslogd.c:4928: warning: implicit declaration of function `mysql_init'
> syslogd.c:4928: error: structure has no member named `f_hmysql'
> syslogd.c:4932: warning: implicit declaration of function
> `mysql_real_connect'
> syslogd.c:4932: error: structure has no member named `f_hmysql'
> syslogd.c:4943: warning: implicit declaration of function
> `mysql_errno'
> syslogd.c:4943: error: structure has no member named `f_hmysql'
> syslogd.c: In function `closeMySQL':
> syslogd.c:4955: warning: implicit declaration of function
> `mysql_close'
> syslogd.c:4955: error: structure has no member named `f_hmysql'
> syslogd.c: In function `writeMySQL':
> syslogd.c:5000: warning: implicit declaration of function
> `mysql_query'
> syslogd.c:5000: error: structure has no member named `f_hmysql'
> syslogd.c:5010: error: structure has no member named `f_hmysql'
> syslogd.c: In function `DBErrorHandler':
> syslogd.c:5045: error: structure has no member named `f_hmysql'
> syslogd.c:5046: warning: implicit declaration of function
> `mysql_error'
> syslogd.c:5046: error: structure has no member named `f_hmysql'
> syslogd.c:5049: error: structure has no member named `f_hmysql'
> *** Error code 1
>
> Stop in /usr/home/dennisolvany/rsyslog-0.8.4.
> postfix#
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
>

RSyslog users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.