On April 5, 2018 11:26 PM, Darren Tucker wrote:> On 6 April 2018 at 01:36, Randall S. Becker <rsbecker at
nexbridge.com>
> wrote:
> [...]
> > Sorry to report that I'm having difficulty building on NonStop
(built
> > from a git clone at 2c71ca1). Configure is failing, run as:
> >
> > configure --prefix=/usr/local --without-openssl-header-check ...
> > checking for sys/un.h... yes
> > checking compiler and flags for sanity... no
> > configure: error: *** compiler cannot create working executables,
> > check config.log ***
> >
> > config.log shows a reasonable confdefs.h, but that is not written out
> > to disk anywhere. There is nothing informative between the confdefs.h
> > content in config.log and:
> >
> > configure: exit 1
>
> The compiler output is before confdefs not after.
>
> $ CFLAGS=--break-me ./configure
>
> gives the following in config.log:
>
> configure:2980: checking whether the C compiler works
> configure:3002: gcc --break-me conftest.c >&5
> gcc: error: unrecognized command line option '--break-me'; did you
mean '--
> check-new'?
> configure:3006: $? = 1
> configure:3044: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "OpenSSH"
This looks a bit strange:
configure:7126: cc -c99 -c -g -D_FLOSS_USE_NANOSLEEP conftest.c >&5
configure:7126: $? = 0
configure:7126: result: yes
configure:8818: checking compiler and flags for sanity
configure:8836: cc -c99 -o conftest -g -D_FLOSS_USE_NANOSLEEP conftest.c
>&5
exit(0);
^
"/home/git/openssh-portable/conftest.c", line 51: error(114):
identifier "exit"
is undefined
1 error detected in the compilation of "conftest.c".
c99: /usr/cmplr/ccombe exited, returning 2.
configure:8836: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
exit is defined in stdlib.h on this platform. I didn't see a change in this
area. Weird.
Cheers,
Randall
-- Brief whoami:
NonStop developer since approximately 211288444200000000
UNIX developer since approximately 421664400
-- In my real life, I talk too much.