[Top][All Lists]

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

GNU make 4.3.91 on GNU/Hurd

From: Bruno Haible
Subject: GNU make 4.3.91 on GNU/Hurd
Date: Wed, 19 Oct 2022 03:14:13 +0200

On GNU/Hurd (from 2022), there is one compilation error:

depbase=`echo src/arscan.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc-12 -DHAVE_CONFIG_H   -Isrc -I../src -Ilib -I../lib 
-DLIBDIR=\"/home/bruno/lib\" -DLOCALEDIR=\"/home/bruno/share/locale\" 
-DINCLUDEDIR=\"/home/bruno/include\"  -I/home/bruno/include -Wall  -g -O2 -MT 
src/arscan.o -MD -MP -MF $depbase.Tpo -c -o src/arscan.o ../src/arscan.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ../src/makeint.h:151,
                 from ../src/arscan.c:17:
../src/arscan.c: In function 'ar_scan':
../src/arscan.c:729:60: error: 'PATH_MAX' undeclared (first use in this 
function); did you mean 'PATH_VAR'?
  729 |               if (err || name_len == 0 || name_len >= MIN (PATH_MAX, 
      |                                                            ^~~~~~~~
../src/arscan.c:729:60: note: each undeclared identifier is reported only once 
for each function it appears in
make[1]: *** [Makefile:885: src/arscan.o] Error 1

PATH_MAX does not exist on GNU/Hurd (intentionally, because file names are
of arbitrary length).


reply via email to

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