|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Sebastian Schulz (shamoha_at_web.de)
Date: Thu Jan 02 2003 - 05:20:58 CST
Hi,
I'm trying to compile Postfix 1.1.12 with MySQL and SASL (following the
Postfix-Cyrus-Web-cyradm-HOWTO)
I used this commands on a SuSE 7.3 system with gcc
2.95.3,cyrus-sasl2.1.10 (compiled from source) and MySQL 3.23.41 (from
the distributions rpm) :
>make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL
-I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl'
'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2'
>make
[some normal messages..]
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql
-DUSE_SASL_AUTH -I/usr/local/include/sasl -g -O -I. -I../../include
-DLINUX2 -c smtpd_sasl_glue.c
smtpd_sasl_glue.c: In function `smtpd_sasl_log':
smtpd_sasl_glue.c:120: `SASL_LOG_WARNING' undeclared (first use in this
function)
smtpd_sasl_glue.c:120: (Each undeclared identifier is reported only once
smtpd_sasl_glue.c:120: for each function it appears in.)
smtpd_sasl_glue.c:123: `SASL_LOG_INFO' undeclared (first use in this
function)
smtpd_sasl_glue.c: In function `smtpd_sasl_connect':
smtpd_sasl_glue.c:200: warning: passing arg 4 of `sasl_server_new' from
incompatible pointer type
[some resulting errors ]
make: *** [smtpd_sasl_glue.o] Error 1
make: *** [update] Error 1
>
It seems that a Header File is missing in which SASL_LOG_INFO and
SASL_LOG_WARNING are defined. Grepping the postfix source with
grep -r SASL_LOG_WARNING returns only .c Files where the Variable/Macro
is used in switch case expressions.
Any ideas what I do wrong?
regards
Sebastian
-- ----------------------------------------------------- | Sebastian Schulz | | | | e-mail: sebastian.schulzpluto.uni-freiburg.de | | FAX: 01212-5-131-39-831 | | WWW: www.studieren-ohne-huer.de | | | -----------------------------------------------------
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
pluto.uni-freiburg.de |
| FAX: 01212-5-131-39-831 |
| WWW: www.studieren-ohne-huer.de |
|
|
-----------------------------------------------------