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.
--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers