Hello,
Yesterday, I spent several frustrating hours trying to build sendmail
8.7.1. It compiles cleanly, but cannot parse my sendmail.cf file when
run, giving "bad ruleset" type errors. My current copy of sendmail-8.7
runs without any problems. On recompiling sendmail-8.7, this new binary
has the same problems with sendmail.cf, the only difference between
these two versions of 8.7 being that the working one was compiled on my
system with libc-5.0.9 installed, the broken version having been
compiled with libc-5.2.11 installed.
After much playing about, I can get sendmail to compile & run cleanly,
but to do so, I have had to use the include files from libc-5.0.9.
(Sorry I only currently have these two library sets to play with). To
do this, I have left the 5.2.11 tree installed on my system, & have
added a "-I/var/tmp/usr/include" line to the sendmail Makefile to use
the older include files.
Looking into this further, it would appear that the problem with
sendmail is being caused by the ctype macros. The following code
demonstrates the problem :
#include <ctype.h>
main()
{
unsigned char *p = "6";
printf("isdigit returns %d\n", isdigit(*p));
Compile this code with "cc -o t1 t.c", & "cc -o t2 -I/var/tmp/usr/include t.c".Quote:}
Running both gives:
tarka:/tmp$ ./t1
isdigit returns 0
tarka:/tmp$ ./t2
isdigit returns 1
My system configuration:
kernel 1.3.40
binutils-2.5.2l.20.bin.tar.gz
gcc-2.7.0.bin.tar.gz
ld.so-1.7.10.tar.gz
libc-5.2.11.bin.tar.gz
Anyone any ideas ?, my system is running fine apart from this problem.
BTW, I also had the "readv" problem with 5.2.11, until I upgraded the
kernel to 1.3.40, it's been fine since then.
--
Cheers.
___________________________________________________________________________
Graham Biswell Worthing, Sussex, UK