Description:
Looks like running configure on Sparc solaris yields 2 compilation warnings :
1. ld complaining about --version:
checking how to run the C preprocessor... cc -E
cc: Warning: option -- passed to ld
usage: cc [ options] files. Use 'cc -flags' for details
checking "C Compiler version"... "cc "
CC: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
/usr/ccs/bin/ld: illegal option -- version
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
[-64] enforce a 64-bit link-edit
[-a] create an absolute file
....
2. checking term.h presence... yes
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h: check for missing prerequisite headers?
configure: WARNING: term.h: see the Autoconf documentation
configure: WARNING: term.h: section "Present But Cannot Be Compiled"
configure: WARNING: term.h: proceeding with the preprocessor's result
configure: WARNING: term.h: in the future, the compiler will take precedence
How to repeat:
run configure on sparc64 solaris or check pb2
Suggested fix:
Quick googling on the second problem reveals that on Solaris term.h requires curses.h as in e.g.:
AC_CHECK_HEADERS(term.h,,,[#include <curses.h>])
Description: Looks like running configure on Sparc solaris yields 2 compilation warnings : 1. ld complaining about --version: checking how to run the C preprocessor... cc -E cc: Warning: option -- passed to ld usage: cc [ options] files. Use 'cc -flags' for details checking "C Compiler version"... "cc " CC: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise /usr/ccs/bin/ld: illegal option -- version usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) [-64] enforce a 64-bit link-edit [-a] create an absolute file .... 2. checking term.h presence... yes configure: WARNING: term.h: present but cannot be compiled configure: WARNING: term.h: check for missing prerequisite headers? configure: WARNING: term.h: see the Autoconf documentation configure: WARNING: term.h: section "Present But Cannot Be Compiled" configure: WARNING: term.h: proceeding with the preprocessor's result configure: WARNING: term.h: in the future, the compiler will take precedence How to repeat: run configure on sparc64 solaris or check pb2 Suggested fix: Quick googling on the second problem reveals that on Solaris term.h requires curses.h as in e.g.: AC_CHECK_HEADERS(term.h,,,[#include <curses.h>])