[Top][All Lists]

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

Re: [bug-patch] patch- compilation failures on Solaris 11

From: Bruno Haible
Subject: Re: [bug-patch] patch- compilation failures on Solaris 11 Intel
Date: Mon, 22 Aug 2011 22:50:34 +0200
User-agent: KMail/1.13.6 (Linux/; KDE/4.6.0; x86_64; ; )

Nelson H. F. Beebe wrote:
> patch- fails to compile on Solaris 11 Intel:
>   CC     dup-safer.o
> "dup-safer.c", line 33: undefined symbol: STDERR_FILENO

It works fine for me on Solaris 11 2011-10 (snv_151a). Builds fine,
passes all tests except 'crlf-handling' and 'merge'.

dup-safer.c uses STDERR_FILENO but also includes <unistd.h> from gnulib,
which includes the system's <unistd.h>, which on Solaris defines STDERR_FILENO.
Therefore you need to do more investigations. As usual, the first step is to
look at the preprocessor output of that compilation command.

In memoriam Alexander Bessmertny 

reply via email to

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