mutt/2130: mutt will not build on Tru64 when compiled with hcache support
>Number: 2130
>Notify-List:
>Category: mutt
>Synopsis: mutt will not build on Tru64 when compiled with hcache support
>Confidential: no
>Severity: normal
>Priority: medium
>Responsible: mutt-dev
>State: open
>Keywords:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 07 04:37:49 +0100 2005
>Originator: Steve Feehan
>Release: 1.5.10
>Organization:
>Environment:
Machine: alpha
OS: Tru64 UNIX 5.1B
Compiler: gcc 3.3.6
Berkeley DB: 4.2.52
>Description:
I get the following error:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I/usr/local/include//
-I/usr/local/include/ncurses -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I../intl -Wall -pedantic -pthread -MT util.o -MD -MP -MF
".deps/util.Tpo" -c -o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit
1; fi
In file included from /usr/include/arpa/nameser.h:577,
from /usr/include/netdb.h:323,
from util.c:37:
/usr/include/arpa/nameser_compat.h:154: error: conflicting types for `HEADER'
../mutt.h:762: error: previous declaration of `HEADER'
The HEADER structure conflicts with a macro definition in
/usr/include/arpa/nameser_compat.h. This macro is only defined when the
compiler -pthread option is used (and therefore the _REENTRANT macro is
defined). This compiler option must be used when compiling/linking with the
Berkeley DB libraries since it was built with pthread support.
>How-To-Repeat:
Build with CFLAGS=-pthread
>Fix:
Unknown.
>Add-To-Audit-Trail:
>Unformatted: