On 10/27/20 11:53 PM, Carlos Morales Socorro wrote:
Hi Paul, let me attach stat.h and the new make output.
OK, so lib/stat.h has "# define S_IRWXUGO (S_IRWXU | S_IRWXG | S_IRWXO)" but compiling src/gzip.c complains "gzip.c:1938:37: error: 'S_IRWXUGO' undeclared (first use in this function); did you mean 'S_IRWXO'?" So we need to see why the definition didn't take.
What is the output of the following command? cd lib gcc -E -DHAVE_CONFIG_H -I. -I./lib -I./lib -g -O2 gzip.c >gzip.i and what is the contents of gzip.i afterwards?