nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nmh-workers] nmh 1.7.1 compile errors


From: Ralph Corderoy
Subject: Re: [nmh-workers] nmh 1.7.1 compile errors
Date: Mon, 03 Jun 2019 18:15:10 +0100

Hi Masud,

> cc -DHAVE_CONFIG_H -I.   -I./sbr
>     -DNMHBINDIR='"/export/home/edcs/nmh/bin"'
>     -DNMHLIBEXECDIR='"/export/home/edcs/nmh/libexec/nmh"'
>     -DNMHETCDIR='"/export/home/edcs/nmh/etc/nmh"'
>     -DNMHDOCDIR='"/export/home/edcs/nmh/share/doc/nmh"'
>     -DMAILSPOOL='"/var/mail"' -DSENDMAILPATH='"/usr/sbin/sendmail"'
>     -g -v -errtags=yes -erroff=E_STATEMENT_NOT_REACHED -Wall -Wextra
>     -c -o sbr/sbr_libmh_a-terminal.o `test -f 'sbr/terminal.c' || echo
>     './'`sbr/terminal.c
> "/usr/include/curses.h", line 86: invalid type combination
> cc: acomp failed for sbr/terminal.c
...
>     85  #if !defined(__cplusplus) && !defined(_BOOL)
>     86  typedef char bool;
>     87  #endif /* !defined(__cplusplus) && !defined(_BOOL) */

Can you confirm config.h doesn't have HAVE_STDBOOL_H #defined?
h/nmh.h does

    #ifdef HAVE_STDBOOL_H
    # include <stdbool.h>
    #else
    # define bool int
    # define true 1
    # define false 0
    #endif

and that's probably upsetting things.
Does your Solaris C compilation environment have a stdbool.h?
Is gcc available?

-- 
Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]