Re: [nmh-workers] Problems compiling on SPARC Sun Solaris 10 compile with ANSI C SUN compiler.

2019-06-13 Thread Ken Hornstein
> | Or, really, write some trivial replacements for those functions > | because I think you could do them all as one-liners. Maybe not > | memmem(), but that one would only be a few lines. > >Just grab sources for them from any of the *BSD versions. Much better >that GNU-anything ... no weird

Re: [nmh-workers] Problems compiling on SPARC Sun Solaris 10 compile with ANSI C SUN compiler.

2019-06-13 Thread Robert Elz
Date:Thu, 13 Jun 2019 12:08:07 -0400 From:Ken Hornstein Message-ID: <20190613160808.946d0159...@pb-smtp2.pobox.com> | Or, really, write some trivial replacements for those functions because | I think you could do them all as one-liners. Maybe not memmem(), but th

Re: [nmh-workers] Problems compiling on SPARC Sun Solaris 10 compile with ANSI C SUN compiler.

2019-06-13 Thread Ken Hornstein
So, first off ... if HAVE_STDBOOL_H is being defined and we are including stdbool.h, then I guess I am wondering what the contents of stdbool.h are. Also, I don't know who is supposed to be adding the preprocessor symbol _BOOL. I think some time spent with the -E option (or whatever does the simil

Re: [nmh-workers] Problems compiling on SPARC Sun Solaris 10 compile with ANSI C SUN compiler.

2019-06-13 Thread Ralph Corderoy
Hi Masud, > > grep -i bool config.h > /* Define to 1 if you have the header file. */ > #define HAVE_STDBOOL_H 1 ... > "/usr/include/curses.h", line 86: invalid type combination > cc: acomp failed for sbr/terminal.c From your first email: 85 #if !defined(__cplusplus) && !defined(_BOOL)

Re: [nmh-workers] Problems compiling on SPARC Sun Solaris 10 compile with ANSI C SUN compiler.

2019-06-13 Thread masud.anwar1
Hi Ralph, Started a fresh and untared nmh 1.7.1 Ran ./configure -prefix=/export/home/edcs/nmh edcs@frv0310005:/export/home/edcs/nmh-1.7.1> grep -i bool config.h /* Define to 1 if you have the header file. */ #define HAVE_STDBOOL_H 1 Ran make: cc -DHAVE_CONFIG_H -I. -I./sbr -DNMHBINDIR='"/expor

Re: [nmh-workers] Problems compiling on SPARC Sun Solaris 10 compile with ANSI C SUN compiler.

2019-06-13 Thread Ralph Corderoy
Hi Masud, > Wrt to is the stdbool being found - yes see yellow highlight below. ... > checking stdbool.h usability... yes > checking stdbool.h presence... yes > checking for stdbool.h... yes ... > config.status: creating config.h What's the output of `grep -i bool config.h'? Just to make sure tha

Re: [nmh-workers] Problems compiling on SPARC Sun Solaris 10 compile with ANSI C SUN compiler.

2019-06-13 Thread Ralph Corderoy
Hi, Masud wrote: > Undefined first referenced > symbol in file > memmem sbr/libmh.a(sbr_libmh_a-m_getfld.o) > stpcpy sbr/libmh.a(sbr_libmh_a-concat.o) > strnlen s

[nmh-workers] Problems compiling on SPARC Sun Solaris 10 compile with ANSI C SUN compiler.

2019-06-13 Thread masud.anwar1
Thanks for all your help. Just got back on this. Environment SPARC Sun Solaris 10 compile with ANSI C compiler. Wrt to is the stdbool being found - yes see yellow highlight below. edcs@frv0310005:/export/home/edcs/nmh-1.7.1> ./configure -prefix=/export/home/edcs/nmh checking for a BSD-compatibl