hi *

the above version compile flawlessly and is running fine on my main 
mailserver. on my home-server, i get the following error:


gcc -Wmissing-prototypes -Wformat -DUSE_TLS -DHAS_PCRE -DSNAPSHOT -g -O -I. 
-I../../include -DLINUX2 -o 
smtpd smtpd.o smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o 
smtpd_peer.o smtpd_sasl_proto.o smtpd_sasl_glue.o smtpd_proxy.o 
smtpd_xforward.o smtpd_dsn_fix.o 
smtpd_milter.o ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libdns.a 
../../lib/libxsasl.a ../../lib/libmilter.a ../../lib/libglobal.a 
../../lib/libutil.a -lz -lm -lssl -lcrypto -lpcre -ldb -lnsl -lresolv
../../lib/libtls.a(tls_server.o): In function `tls_server_start':
/usr/src/postfix-2.6-20090125/src/tls/tls_server.c:647: undefined reference to 
`BIO_set_callback'
/usr/src/postfix-2.6-20090125/src/tls/tls_server.c:666: undefined reference to 
`BIO_set_callback'
../../lib/libtls.a(tls_server.o): In function `tls_server_init':
/usr/src/postfix-2.6-20090125/src/tls/tls_server.c:318: undefined reference to 
`EVP_MD_size'
/usr/src/postfix-2.6-20090125/src/tls/tls_server.c:376: undefined reference to 
`SSL_CTX_set_info_callback'
/usr/src/postfix-2.6-20090125/src/tls/tls_server.c:525: undefined reference to 
`SSL_CTX_sess_set_get_cb'
/usr/src/postfix-2.6-20090125/src/tls/tls_server.c:526: undefined reference to 
`SSL_CTX_sess_set_new_cb'
collect2: ld returned 1 exit status
make: *** [smtpd] Error 1
make: *** [update] Error 1

gcc is version 4.1.2 20070925 (Red Hat 4.1.2-27) .

previous version compiled+running without this problem was 2.6-20080903 .
any idea what to do?

thank you and best regards from hamburg, germany
peter

Reply via email to