[EXIM] build error SunOS 4.1.3

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Moritz Both
Fecha:  
A: exim-users
Asunto: [EXIM] build error SunOS 4.1.3

Version 1.90 does not build cleanly on SunOS 4.1.3:

gcc -c -O    -I. dns.c
dns.c: In function `dns_text_type':
dns.c:206: `T_TXT' undeclared (first use this function)
dns.c:206: (Each undeclared identifier is reported only once
dns.c:206: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `dns.o'
Current working directory
/home/comlink-01/moritz/src/exim/build-SunOS4-sparc
*** Error code 1
make: Fatal error: Command failed for target `go'


Looking into /usr/include/arpa/nameser.h, T_TXT is not defined there. The
last change of this file was in November 1987, and in mentiones RFC883 as
the source of data. In RFC883, TXT is not yet defined; it was introduced in
November 1987 in RFC1035...

The correct value for T_TXT is 16, and I put this somwhere near the top into
dns.c:

#ifndef T_TXT
#define T_TXT 16
#endif

Greetings,
Moritz


--
*** Exim information can be found at http://www.exim.org/ ***