On 10/25/20 3:28 PM, Carlos Morales Socorro wrote:
CC gzip.o
gzip.c: In function 'copy_stat':
gzip.c:1938:37: error: 'S_IRWXUGO' undeclared (first use in this function); did
you mean 'S_IRWXO'?
1938 | mode_t mode = ifstat->st_mode & S_IRWXUGO;
| ^~~~~~~~~
| S_IRWXO
I can't reproduce that problem on my Ubuntu 20.04 system.
My guess is that somehow your build didn't create lib/sys/stat.h as it should.
Please try configuring and building again from a fresh copy of the source
tarball, and if it fails send the complete 'configure' and 'make' output (you
sent just part of the 'make' output). The crucial part will be the creation of
lib/sys/stat.h by 'make'. Thanks.