<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2130: mutt will not build on Tru64 when compiled with



#2130: mutt will not build on Tru64 when compiled with hcache support

Changes (by brendan):

  * component:  mutt => build

Old 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.
> }}}

New 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.
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2130#comment:2>