bug-coreutils
[Top][All Lists]
Advanced

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

bug#35650: [PATCH] Improving HP-UX support


From: Osipov, Michael
Subject: bug#35650: [PATCH] Improving HP-UX support
Date: Thu, 16 May 2019 10:42:31 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Am 2019-05-15 um 22:02 schrieb Paul Eggert:
On 5/15/19 2:30 AM, Osipov, Michael wrote:

I don't know how to solve this differently for now, but to disable
include_next in configure.ac if the compiler is aCC.

Better yet, let's stop using the -include option as it's not portable.
The -include option was used only to attempt to keep b2sum.c identical
with upstream, but we've already given up on that for other reasons, so
I installed the attached patches to fix this (the first patch drops
-include, the second patch lessens changes from upstream)

Patches applied, autoreconf -fi run, ran configure w/o override and this is what I get now:
+ /opt/aCC/bin/aCC -AC99 -I. -I./lib -DHASH_ALGO_BLAKE2=1 -DHAVE_CONFIG_H -Ilib 
-I./lib -Isrc -I./src -I/opt/ports/coreutils/include 
-D_INCLUDE_STDC__SOURCE_199901 -g -c -o src/blake2/b2sum-blake2b-ref.o 
src/blake2/blake2b-ref.c +Maked
"./lib/unistd.h", line 627: error #2035: #error directive: "Please include
          config.h first."
   #error "Please include config.h first."
    ^

"./lib/unistd.h", line 629: error #2077-D: this declaration has no storage
          class or type specifier
  _GL_INLINE_HEADER_BEGIN
  ^

"./lib/unistd.h", line 741: error #2065: expected a ";"
  _GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1)));
  ^

"./lib/unistd.h", line 2147: error #2077-D: this declaration has no storage
          class or type specifier
  _GL_INLINE_HEADER_END
  ^

"./lib/stdlib.h", line 665: error #2065: expected a ";"
  _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size));
  ^

5 errors detected in the compilation of "src/blake2/blake2b-ref.c".

Michael





reply via email to

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