[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-patch] patch-2.6.1.136-31a7 compilation failures on Solaris 11
From: |
Bruno Haible |
Subject: |
Re: [bug-patch] patch-2.6.1.136-31a7 compilation failures on Solaris 11 Intel |
Date: |
Mon, 22 Aug 2011 22:50:34 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Nelson H. F. Beebe wrote:
> patch-2.6.1.136-31a7 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.
Bruno
--
In memoriam Alexander Bessmertny
<http://de.wikipedia.org/wiki/Alexander_Bessmertny>