Hi. I am trying to create a new installation as a chroot from my previous one since I don't have another box at hand and don't want to take this one down for several days to recompile everything. Now I am stuck trying to emerge sendmail. I cannot emerge 8.15.2 nor 8.14.9. The last time I emerged successfully was under gcc 8.3.0 and so I tried emerging that but sendmail will not compile. I have ACCEPT_KEYWORDS="~x86 ~amd64" .
The errors I am getting are these:
x86_64-pc-linux-gnu-gcc -O2 -I. -I../../sendmail -I../../include
-DTCPWRAPPERS -DSTARTTLS -D_FFR_DEAL_WITH_ERROR_SSL -D_FFR_TLS_1
-DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -march=native -O2
-pipe -D_REENTRANT -fPIC -DXP_MT -c -o sm_gethost.o sm_gethost.c
In file included from ../../include/sendmail/sendmail.h:21,
from ../../sendmail/sendmail.h:44,
from sm_gethost.c:14:
sm_gethost.c: In function
sm_getipnodebyname:
sm_gethost.c:58:18: error:
RES_USE_INET6 undeclared
(first use
in this function); did you
mean
RES_USE_DNSSEC?
resv6 =
bitset(RES_USE_INET6,
_res.options);
^~~~~~~~~~~~~
../../include/sm/bitops.h:55:40:
note: in
definition of
macro bitset
# define
bitset(bit,
word) (((word)
& (bit)) != 0)
^~~
sm_gethost.c:58:18:
note:
each
undeclared
identifier
is
reported
only
once
for
each
function
it
appears
in
resv6
=
bitset(RES_USE_INET6,
_res.options);
^~~~~~~~~~~~~
../../include/sm/bitops.h:55:40:
note:
in
definition
of
macro
bitset
#
define
bitset(bit,
word)
(((word)
&
(bit))
!=
0)
^~~
make:
***
[<builtin>:
sm_gethost.o]
Error
1
Any assistance on this would be very much appreciated.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
[email protected]

