Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sendmail-8.13.6 comping errors, possible makefile problem

1 view
Skip to first unread message

Sergey

unread,
Mar 23, 2006, 1:35:46 PM3/23/06
to
Hello.

making is not stoped when error

cc -o sendmail -s main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o -lssl -lcrypto -lsasl2 /usr/src/redhat/BUILD/sendmail-8.13.6/obj.Linux.2.4.20-rc3.i686/libsmutil/libsmutil.a /usr/src/redhat/BUILD/sendmail-8.13.6/obj.Linux.2.4.20-rc3.i686/libsm/libsm.a -ldb -lresolv -lcrypt -lnsl -lwrap -lldap -llber -lsasl2 -lcrypt -lgdbm -lssl -lcrypto
sfsasl.o: In function `tls_read':
sfsasl.o(.text+0x8bc): undefined reference to `SSL_get_rfd'
sfsasl.o(.text+0x8c7): undefined reference to `SSL_get_wfd'
sfsasl.o: In function `tls_write':
sfsasl.o(.text+0xb24): undefined reference to `SSL_get_rfd'
sfsasl.o(.text+0xb2f): undefined reference to `SSL_get_wfd'
collect2: ld returned 1 exit status
make[1]: *** [sendmail] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/sendmail-8.13.6/obj.Linux.2.4.20-rc3.i686/sendmail'
Making all in:
/usr/src/redhat/BUILD/sendmail-8.13.6/editmap
Configuration: pfx=, os=Linux, rel=2.4.20-rc3, rbase=2, rroot=2.4, arch=i686, sfx=, variant=optimized
Using M4=/usr/bin/m4
Creating /usr/src/redhat/BUILD/sendmail-8.13.6/obj.Linux.2.4.20-rc3.i686/editmap using /usr/src/redhat/BUILD/sendmail-8.13.6/devtools/OS/Linux
Including /usr/src/redhat/BUILD/sendmail-8.13.6/devtools/Site/site.config.m4

<skip>

T_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o errstring.o errstring.c
cc -O2 -I. -I../../sendmail -I../../include -fPIC -DPIC -DXDEBUG=0 -DTCPWRAPPERS -DSASL -DSTARTTLS -I /usr/include/sasl -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o strl.o strl.c
ar crv libmilter.a main.o engine.o listener.o handler.o comm.o smfi.o signal.o sm_gethost.o errstring.o strl.o
a - main.o
a - engine.o
a - listener.o
a - handler.o
a - comm.o
a - smfi.o
a - signal.o
a - sm_gethost.o
a - errstring.o
a - strl.o
ranlib libmilter.a
make[1]: Leaving directory `/usr/src/redhat/BUILD/sendmail-8.13.6/obj.Linux.2.4.20-rc3.i686/libmilter'
$

Creation comes to the end with RC 0. :-(

--
Regards, Sergey

Aleksandar Milivojevic

unread,
Mar 23, 2006, 2:47:04 PM3/23/06
to
Sergey wrote:
> Hello.
>
> making is not stoped when error
>
> cc -o sendmail -s main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o -lssl -lcrypto -lsasl2 /usr/src/redhat/BUILD/sendmail-8.13.6/obj.Linux.2.4.20-rc3.i686/libsmutil/libsmutil.a /usr/src/redhat/BUILD/sendmail-8.13.6/obj.Linux.2.4.20-rc3.i686/libsm/libsm.a -ldb -lresolv -lcrypt -lnsl -lwrap -lldap -llber -lsasl2 -lcrypt -lgdbm -lssl -lcrypto
> sfsasl.o: In function `tls_read':
> sfsasl.o(.text+0x8bc): undefined reference to `SSL_get_rfd'
> sfsasl.o(.text+0x8c7): undefined reference to `SSL_get_wfd'

Well, it stopped for me. Right there. Basically, as Claus told me in
the other thread (announcement of 8.13.6), you either need to upgrade
your OpenSSL to newer version or disable TLS support in Sendmail.

Sergey

unread,
Mar 23, 2006, 4:17:33 PM3/23/06
to
Aleksandar Milivojevic wrote:

>> sfsasl.o: In function `tls_read':
>> sfsasl.o(.text+0x8bc): undefined reference to `SSL_get_rfd'
>> sfsasl.o(.text+0x8c7): undefined reference to `SSL_get_wfd'
>
> Well, it stopped for me.  Right there.  Basically, as Claus told me in
> the other thread (announcement of 8.13.6), you either need to upgrade
> your OpenSSL to newer version or disable TLS support in Sendmail.

No, problem is another. I upgraded my system yesterday by disabling ssl.
Problem is a continue making and normal exit after end of build.

I think what build must stop after first error.

--
Regards, Sergey

Aleksandar Milivojevic

unread,
Mar 23, 2006, 4:59:43 PM3/23/06
to
Sergey wrote:
> No, problem is another. I upgraded my system yesterday by disabling ssl.
> Problem is a continue making and normal exit after end of build.

Well, as I said. It did stop on that error when I was building it.
Could it be you have buggy version of make or something?

--
See Ya' later, alligator!
http://www.8-p.ca/

kevinm3574

unread,
Mar 23, 2006, 10:50:51 PM3/23/06
to
you're doing the "sh Build" from the topmost directory, aren't you.
This will run thru ALL of the subdirectories build stuff so, no, it
won't stop. The INSTALL file specifically says to cd sendmail and do
the sh Build there. Then you'll see it stop as it will only be
building the sendmail binary. BTW, I was having this same problem and
it was because I had installed my openssl somewhere other than the
/usr/local/ssl directory that the sendmail build looks for. I just
linked my openssl installed directory to /usr/local/ssl and the build
ran fine.

Kevin

0 new messages