[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile problem redhat 7.3



[root@port qmail-sql-1.03]# make setup check
./compile qmail-qmtpd.c
In file included from qmail-qmtpd.c:14:
sql.h:21:19: mysql.h: No such file or directory
In file included from qmail-qmtpd.c:14:
sql.h:62: parse error before "MYSQL"
sql.h:62: warning: no semicolon at end of struct or union
sql.h:70: parse error before '}' token
sql.h:70: warning: data definition has no type or storage class
sql.h:72: parse error before '*' token
sql.h:74: parse error before '*' token
sql.h:77: parse error before '*' token
sql.h:78: parse error before '*' token
sql.h:79: parse error before '*' token
sql.h:81: parse error before '*' token
sql.h:82: parse error before '*' token
qmail-qmtpd.c:19: parse error before "sqlconfig"
qmail-qmtpd.c:19: warning: data definition has no type or storage class
make: *** [qmail-qmtpd.o] Error 1


I have modified sql.header 
[root@port qmail-sql-1.03]# cat sql.headers
-I/usr/include/mysql

Help me

Giuseppe De Franceschi