Problem bei Postfix mit mysql akutalisieren
Posted: 2003-09-12 15:10
Tach, falls der Beitrag besser zu mail passt dann bitte dorthin verschieben.
Ich möchte Postfix nach diesem howto aktualisieren.
http://www.rootforum.org/faq/index.php? ... 41&lang=de
Allerdings scheiter ein make immer mit folgendem Fehler.
Hat jemand ne Idee wo ich noch suchen kann?
Ich weiß net was da falsch läuft
Danke
Ciao Christian
Ich möchte Postfix nach diesem howto aktualisieren.
http://www.rootforum.org/faq/index.php? ... 41&lang=de
Allerdings scheiter ein make immer mit folgendem Fehler.
Hat jemand ne Idee wo ich noch suchen kann?
Ich weiß net was da falsch läuft
Code: Select all
set -e; for i in src/util src/global src/dns src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/nqmgr src/qmqpd src/spawn src/flush src/virtual src/proxymap; do
(set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL -DHAS_MYSQL' update MAKELEVEL=) || exit 1;
done
[src/util]
gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL -DHAS_MYSQL -g -O -I. -DLINUX2 -c dict_mysql.c
dict_mysql.c:76:19: mysql.h: No such file or directory
dict_mysql.c:90: parse error before "MYSQL"
dict_mysql.c:90: warning: no semicolon at end of struct or union
dict_mysql.c:95: parse error before '}' token
dict_mysql.c:95: warning: data definition has no type or storage class
dict_mysql.c:99: parse error before "HOST"
dict_mysql.c:99: warning: no semicolon at end of struct or union
dict_mysql.c:101: warning: data definition has no type or storage class
dict_mysql.c:117: parse error before "PLMYSQL"
dict_mysql.c:117: warning: no semicolon at end of struct or union
dict_mysql.c:119: parse error before '}' token
dict_mysql.c:119: warning: data definition has no type or storage class
dict_mysql.c:127: parse error before '*' token
dict_mysql.c:127: warning: data definition has no type or storage class
dict_mysql.c:128: parse error before '*' token
dict_mysql.c:128: parse error before '*' token
dict_mysql.c:128: warning: data definition has no type or storage class
dict_mysql.c:129: parse error before '*' token
dict_mysql.c:130: parse error before '*' token
dict_mysql.c:131: parse error before '*' token
dict_mysql.c:132: parse error before '*' token
dict_mysql.c:133: parse error before '*' token
dict_mysql.c:138: parse error before "host_init"
dict_mysql.c:138: warning: data definition has no type or storage class
dict_mysql.c: In function `dict_mysql_lookup':
dict_mysql.c:149: `MYSQL_RES' undeclared (first use in this function)
dict_mysql.c:149: (Each undeclared identifier is reported only once
dict_mysql.c:149: for each function it appears in.)
dict_mysql.c:149: `query_res' undeclared (first use in this function)
dict_mysql.c:150: `MYSQL_ROW' undeclared (first use in this function)
dict_mysql.c:150: parse error before "row"
dict_mysql.c:151: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:152: `pldb' undeclared (first use in this function)
dict_mysql.c:160: parse error before ')' token
dict_mysql.c:201: `row' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:229: parse error before '*' token
dict_mysql.c:229: parse error before '*' token
dict_mysql.c:234: warning: no previous prototype for `plmysql_query'
dict_mysql.c: In function `plmysql_query':
dict_mysql.c:236: `host' undeclared (first use in this function)
dict_mysql.c:237: `MYSQL_RES' undeclared (first use in this function)
dict_mysql.c:237: `res' undeclared (first use in this function)
dict_mysql.c:239: `PLDB' undeclared (first use in this function)
dict_mysql.c:257: `dbname' undeclared (first use in this function)
dict_mysql.c:257: `username' undeclared (first use in this function)
dict_mysql.c:257: `password' undeclared (first use in this function)
dict_mysql.c:276: `query' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:298: parse error before '*' token
dict_mysql.c:299: warning: `plmysql_connect_single' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_connect_single':
dict_mysql.c:300: `host' undeclared (first use in this function)
dict_mysql.c:321: `username' undeclared (first use in this function)
dict_mysql.c:321: `password' undeclared (first use in this function)
dict_mysql.c:321: `dbname' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:336: parse error before '*' token
dict_mysql.c:337: warning: `plmysql_close_host' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_close_host':
dict_mysql.c:338: `host' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:347: parse error before '*' token
dict_mysql.c:348: warning: `plmysql_down_host' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_down_host':
dict_mysql.c:349: `host' undeclared (first use in this function)
dict_mysql.c: In function `dict_mysql_open':
dict_mysql.c:363: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:366: parse error before ')' token
dict_mysql.c: At top level:
dict_mysql.c:490: parse error before '*' token
dict_mysql.c: In function `plmysql_init':
dict_mysql.c:492: `PLDB' undeclared (first use in this function)
dict_mysql.c:493: `MYSQL' undeclared (first use in this function)
dict_mysql.c:493: `dbs' undeclared (first use in this function)
dict_mysql.c:495: parse error before "host"
dict_mysql.c:497: parse error before ')' token
dict_mysql.c: At top level:
dict_mysql.c:500: parse error before '->' token
dict_mysql.c:511: parse error before "host_init"
dict_mysql.c: In function `host_init':
dict_mysql.c:513: parse error before "host"
dict_mysql.c:515: `host' undeclared (first use in this function)
dict_mysql.c: In function `dict_mysql_close':
dict_mysql.c:529: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:529: parse error before ')' token
dict_mysql.c: At top level:
dict_mysql.c:548: parse error before '*' token
dict_mysql.c:549: warning: `plmysql_dealloc' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_dealloc':
dict_mysql.c:552: `PLDB' undeclared (first use in this function)
make: *** [dict_mysql.o] Error 1
make: *** [update] Error 1
Ciao Christian