Andy Loates writes:

> Can anyone help.
> 
> I am trying to install qmail onto Linux box running Red hat 5.2.  with
> kernel 2.2.1 and am
> getting the following error message:
> 
> # make setup check
> 
> ./compile cdb_seek.c
> cdb_seek.c: In function 'cdb_bread' :
> cdb_seek.c:19:  'EINTR' undeclared {first use this function}
> cdb_seek.c:19:  {Each undeclared identifier is reported only once
> cdb_seek.c:19:  for each fuunction it appears in.}
> cdb_seek.c:21:  'EIO' undeclared {first use this function}
> make: *** [cdb_seek.o] Error 1
> 
> I have downloaded & installed 'Functions-2-1' & 'daemontools-0.53.
> 
> Installing as per Install file in /BUILD/q.mail-1.03 directoy
> 
> What is not happening?

Actually, the question is what is happening.

What is happening is that you have upgraded the kernel on 2.2.3 by
yourself, because, as far as I know, there are no official RPMs to rev up
your kernel to the 2.2 tree.

So, you must've installed the 2.2 kernel by yourself, somehow.

The include files, which include errno.h, containing the missing
declarations, are part of the kernel-headers package, which you either blew
away, or scribbled over, as part of the upgrade.  No telling which, without
knowing exactly how you rev-ed yourself up to a 2.2 kernel.  The only thing
that puzzles me is that you should've gotten compiler errors complaining
about missing include files.

Generally, if you insist on mucking around with the system yourself,
instead of upgrading via RPMs, you should be prepared to investigate
breakages like this one, by yourself, because only you know what you did.

I have no problems whatsoever compiling and installing Qmail -- even
building my own RPMs -- on Red Hat 5.2, with kernel-2.0.36-0.7,
kernel-headers-2.0.36-0.7, and kernel-pcmcia-cs-2.0.36-0.7.

-- 
Sam

Reply via email to