DEBUG: Executing shell function do_compile
NOTE: make -j 10 -l 64 CC=gcc BIND=gcc AS=gcc -c CPP=gcc -E CFLAGS=-I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe CFLAGS_NOOPT=-I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe INSTALL=install INSTALL_D=install -d BINFLAGS=0755 -f unix/Makefile flags IZ_BZIP2=no_such_directory
sh unix/configure "gcc " "-I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe" "no_such_directory"
Check C compiler type (optimization options)
GNU C (-O3)
Check bzip2 support
Check for bzip2 compiled library in IZ_BZIP2 (no_such_directory)
no_such_directory/libbz2.a not found
-- Since IZ_BZIP2 defined, skipping OS and bzip2 checks - no bzip2
Check for the C preprocessor
Check if we can use asm code
Check for ANSI options
Check for prototypes
Check the handling of const
Check for time_t
Check for size_t
Check for off_t
Check size of UIDs and GIDs
(Now zip stores variable size UIDs/GIDs using a new extra field. This
tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage
should also be used for backward compatibility.)
-- UID/GID test failed on compile - disabling old 16-bit UID/GID support
Check for Large File Support
-- yes we have Large File Support!
Check for wide char support
-- have wchar_t - enabling Unicode support
Check for gcc no-builtin flag
Check for rmdir
Check for strchr
Check for strrchr
Check for rename
Check for mktemp
Check for mktime
Check for mkstemp
Check for memset
Check for memmove
Check for strerror
Check for errno declaration
Check for directory libraries
Check for readlink
Check for directory include file
Check for nonexistent include files
Check for term I/O include file
Check for valloc
===========================================
Check for /usr/local/bin and /usr/local/man
Check for OS-specific flags
Check for symbolic links
NOTE: make -j 10 -l 64 CC=gcc BIND=gcc AS=gcc -c CPP=gcc -E CFLAGS=-I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe CFLAGS_NOOPT=-I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe INSTALL=install INSTALL_D=install -d BINFLAGS=0755 -f unix/Makefile generic IZ_BZIP2=no_such_directory
eval make -f unix/Makefile zips `cat flags`
make[1]: Entering directory 'TMPDIR/work/x86_64-linux/zip-native/3.0/sources/zip30'
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c
gcc -c -I. -DUNIX -isystemTMPDIR/work/x86_64-linux/zip-native/3.0/recipe-sysroot-native/usr/include -O2 -pipe -O3 -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNEED_MEMMOVE -DNEED_STRERROR -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c
In file included from zipfile.c:16:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from zipfile.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from zipfile.c:16:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from zipfile.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from zipfile.c:16:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from zipfile.c:16:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from fileio.c:16:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from fileio.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from fileio.c:16:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from fileio.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from fileio.c:16:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from fileio.c:16:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from zip.c:16:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from zip.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from zip.c:16:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from zip.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from zip.c:16:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from zip.c:16:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from globals.c:21:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from globals.c:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from globals.c:21:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from globals.c:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from globals.c:21:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from globals.c:21:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from zipup.c:21:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from zipup.c:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from zipup.c:21:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from zipup.c:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from zipup.c:21:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from zipup.c:21:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from crc32.c:24:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from crc32.c:24:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from crc32.c:24:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from crc32.c:24:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from crc32.c:24:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from crc32.c:24:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from ttyio.c:31:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from ttyio.c:31:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from ttyio.c:31:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from ttyio.c:31:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from ttyio.c:31:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from ttyio.c:31:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
make[1]: *** [unix/Makefile:86: globals.o] Error 1
make[1]: *** Waiting for unfinished jobs....
ttyio.c: In function ‘getp’:
fileio.c:1959:1: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
1959 | memset(buf, init, len)
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from fileio.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
ttyio.c:628:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
628 | read(f, &c, 1);
| ^~~~~~~~~~~~~~
fileio.c:1977:1: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
1977 | memcpy(dst,src,len) /* v2.0f */
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from fileio.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
fileio.c:1995:1: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
1995 | memcmp(b1,b2,len) /* jpd@usl.edu -- 11/16/90 */
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from fileio.c:16:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
fileio.c: In function ‘memcmp’:
fileio.c:1996:16: error: argument ‘b1’ doesn’t match prototype
1996 | register char *b1, *b2;
| ^~
In file included from tailor.h:238,
from zip.h:88,
from fileio.c:16:
/usr/include/string.h:64:12: error: prototype declaration
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
fileio.c:1996:21: error: argument ‘b2’ doesn’t match prototype
1996 | register char *b1, *b2;
| ^~
In file included from tailor.h:238,
from zip.h:88,
from fileio.c:16:
/usr/include/string.h:64:12: error: prototype declaration
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from zipup.c:109:
zipup.c: In function ‘file_read’:
fileio.c:1997:23: error: argument ‘len’ doesn’t match prototype
1997 | register unsigned int len;
| ^~~
In file included from tailor.h:238,
from zip.h:88,
from fileio.c:16:
/usr/include/string.h:64:12: error: prototype declaration
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
unix/zipup.h:21:22: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
21 | #define zread(f,b,n) read(f,b,n)
| ^~~~~~~~~~~
zipup.c:1264:10: note: in expansion of macro ‘zread’
1264 | zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */
| ^~~~~
make[1]: *** [unix/Makefile:86: crc32.o] Error 1
make[1]: *** [unix/Makefile:86: ttyio.o] Error 1
make[1]: *** [unix/Makefile:86: zipup.o] Error 1
In file included from crypt.c:33:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from crypt.c:33:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from crypt.c:33:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from crypt.c:33:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from crypt.c:33:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from crypt.c:33:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from unix/unix.c:11:
./zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from ./unix/osdep.h:30,
from ./tailor.h:93,
from ./zip.h:88,
from unix/unix.c:11:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from unix/unix.c:11:
./zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from ./unix/osdep.h:30,
from ./tailor.h:93,
from ./zip.h:88,
from unix/unix.c:11:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from unix/unix.c:11:
./zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from ./tailor.h:238,
from ./zip.h:88,
from unix/unix.c:11:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
fileio.c: In function ‘ask_for_split_read_path’:
fileio.c:2120:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2120 | fgets(buf, SPLIT_MAXPATH, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c:2143:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2143 | fgets(buf, SPLIT_MAXPATH, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c: In function ‘ask_for_split_write_path’:
fileio.c:2324:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2324 | fgets(buf, FNMAX, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~
unix/unix.c:70:14: error: conflicting types for ‘DIR’; have ‘FILE’
70 | typedef FILE DIR;
| ^~~
In file included from unix/unix.c:29:
/usr/include/dirent.h:127:28: note: previous declaration of ‘DIR’ with type ‘DIR’
127 | typedef struct __dirstream DIR;
| ^~~
unix/unix.c: In function ‘readdir’:
unix/unix.c:79:6: error: argument ‘dirp’ doesn’t match prototype
79 | DIR *dirp;
| ^~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from ./unix/osdep.h:30,
from ./tailor.h:93,
from ./zip.h:88,
from unix/unix.c:11:
/usr/include/dirent.h:165:23: error: prototype declaration
165 | extern struct dirent *__REDIRECT (readdir, (DIR *__dirp), readdir64)
| ^~~~~~~~~~
unix/unix.c: In function ‘readd’:
unix/unix.c:103:15: warning: passing argument 1 of ‘readdir’ from incompatible pointer type [-Wincompatible-pointer-types]
103 | e = readdir(d);
| ^
| |
| DIR * {aka FILE *}
unix/unix.c:79:6: note: expected ‘DIR *’ but argument is of type ‘DIR *’ {aka ‘FILE *’}
79 | DIR *dirp;
| ^~~~
unix/unix.c: In function ‘procname’:
unix/unix.c:181:25: warning: passing argument 1 of ‘readd’ from incompatible pointer type [-Wincompatible-pointer-types]
181 | while ((e = readd(d)) != NULL) {
| ^
| |
| DIR * {aka FILE *}
unix/unix.c:97:6: note: expected ‘DIR *’ but argument is of type ‘DIR *’ {aka ‘FILE *’}
97 | DIR *d; /* directory stream to read from */
| ^
make[1]: *** [unix/Makefile:86: crypt.o] Error 1
make[1]: *** [unix/Makefile:86: fileio.o] Error 1
make[1]: *** [unix/Makefile:117: unix.o] Error 1
make[1]: *** [unix/Makefile:86: zipfile.o] Error 1
make[1]: *** [unix/Makefile:86: zip.o] Error 1
In file included from util.c:16:
zip.h:726:10: error: conflicting types for ‘memset’; have ‘char *(char *, int, unsigned int)’
726 | char *memset OF((char *, int, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from util.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:57:1: note: previous definition of ‘memset’ with type ‘void *(void *, int, size_t)’ {aka ‘void *(void *, int, long unsigned int)’}
57 | __NTH (memset (void *__dest, int __ch, size_t __len))
| ^~~~~
In file included from util.c:16:
zip.h:727:10: error: conflicting types for ‘memcpy’; have ‘char *(char *, char *, unsigned int)’
727 | char *memcpy OF((char *, char *, unsigned int));
| ^~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from unix/osdep.h:30,
from tailor.h:93,
from zip.h:88,
from util.c:16:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: previous definition of ‘memcpy’ with type ‘void *(void *, const void *, size_t)’ {aka ‘void *(void *, const void *, long unsigned int)’}
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
In file included from util.c:16:
zip.h:728:8: error: conflicting types for ‘memcmp’; have ‘int(char *, char *, unsigned int)’
728 | int memcmp OF((char *, char *, unsigned int));
| ^~~~~~
In file included from tailor.h:238,
from zip.h:88,
from util.c:16:
/usr/include/string.h:64:12: note: previous declaration of ‘memcmp’ with type ‘int(const void *, const void *, size_t)’ {aka ‘int(const void *, const void *, long unsigned int)’}
64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n)
| ^~~~~~
In file included from util.c:28:
timezone.c: In function ‘mktime’:
timezone.c:644:18: error: invalid use of undefined type ‘struct tm’
644 | save_isdst = tm->tm_isdst;
| ^~
timezone.c:647:7: error: invalid use of undefined type ‘struct tm’
647 | tm->tm_isdst = save_isdst;
| ^~
timezone.c:661:11: warning: implicit declaration of function ‘localtime’ [-Wimplicit-function-declaration]
661 | ltm = localtime(&then);
| ^~~~~~~~~
timezone.c:661:9: warning: assignment to ‘struct tm *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
661 | ltm = localtime(&then);
| ^
timezone.c:670:7: error: invalid use of undefined type ‘struct tm’
670 | tm->tm_isdst = save_isdst;
| ^~
timezone.c:675:12: error: invalid use of undefined type ‘struct tm’
675 | if (ltm->tm_isdst && !save_isdst)
| ^~
timezone.c:682:18: error: invalid use of undefined type ‘struct tm’
682 | else if (!ltm->tm_isdst && save_isdst)
| ^~
timezone.c:689:8: error: invalid use of undefined type ‘struct tm’
689 | ltm->tm_isdst = save_isdst;
| ^~
timezone.c:693:11: error: invalid use of undefined type ‘struct tm’
693 | *tm = *ltm;
| ^
timezone.c:693:9: error: invalid use of undefined type ‘struct tm’
693 | *tm = *ltm;
| ^
timezone.c: In function ‘mkgmtime’:
timezone.c:747:13: error: invalid use of undefined type ‘struct tm’
747 | years = tm->tm_year + TM_YEAR_BASE; /* year - 1900 -> year */
| ^~
timezone.c:748:14: error: invalid use of undefined type ‘struct tm’
748 | months = tm->tm_mon; /* 0..11 */
| ^~
timezone.c:749:12: error: invalid use of undefined type ‘struct tm’
749 | days = tm->tm_mday - 1; /* 1..31 -> 0..30 */
| ^~
timezone.c:750:13: error: invalid use of undefined type ‘struct tm’
750 | hours = tm->tm_hour; /* 0..23 */
| ^~
timezone.c:751:15: error: invalid use of undefined type ‘struct tm’
751 | minutes = tm->tm_min; /* 0..59 */
| ^~
timezone.c:752:15: error: invalid use of undefined type ‘struct tm’
752 | seconds = tm->tm_sec; /* 0..61 in ANSI C. */
| ^~
timezone.c:776:5: error: invalid use of undefined type ‘struct tm’
776 | tm->tm_year = years - TM_YEAR_BASE;
| ^~
timezone.c:777:5: error: invalid use of undefined type ‘struct tm’
777 | tm->tm_mon = months;
| ^~
timezone.c:778:5: error: invalid use of undefined type ‘struct tm’
778 | tm->tm_mday = days + 1;
| ^~
timezone.c:779:5: error: invalid use of undefined type ‘struct tm’
779 | tm->tm_hour = hours;
| ^~
timezone.c:780:5: error: invalid use of undefined type ‘struct tm’
780 | tm->tm_min = minutes;
| ^~
timezone.c:781:5: error: invalid use of undefined type ‘struct tm’
781 | tm->tm_sec = seconds;
| ^~
timezone.c:785:5: error: invalid use of undefined type ‘struct tm’
785 | tm->tm_yday = days;
| ^~
timezone.c:790:5: error: invalid use of undefined type ‘struct tm’
790 | tm->tm_wday = ((unsigned)days + EPOCH_WDAY) % 7;
| ^~
timezone.c:791:5: error: invalid use of undefined type ‘struct tm’
791 | tm->tm_isdst = 0;
| ^~
timezone.c:800:11: error: invalid use of undefined type ‘struct tm’
800 | (tm->tm_yday > (YDAYS(TM_MON_MAX, TM_YEAR_MAX) + (TM_MDAY_MAX - 1)) ||
| ^~
timezone.c:801:12: error: invalid use of undefined type ‘struct tm’
801 | (tm->tm_yday == (YDAYS(TM_MON_MAX, TM_YEAR_MAX) + (TM_MDAY_MAX - 1)) &&
| ^~
make[1]: *** [unix/Makefile:86: util.o] Error 1
make[1]: Leaving directory 'TMPDIR/work/x86_64-linux/zip-native/3.0/sources/zip30'
make: *** [unix/Makefile:202: generic] Error 2
ERROR: oe_runmake failed
WARNING: TMPDIR/work/x86_64-linux/zip-native/3.0/temp/run.do_compile.3082923:170 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TMPDIR/work/x86_64-linux/zip-native/3.0/temp/run.do_compile.3082923, line 170
#2: die, TMPDIR/work/x86_64-linux/zip-native/3.0/temp/run.do_compile.3082923, line 154
#3: oe_runmake, TMPDIR/work/x86_64-linux/zip-native/3.0/temp/run.do_compile.3082923, line 149
#4: do_compile, TMPDIR/work/x86_64-linux/zip-native/3.0/temp/run.do_compile.3082923, line 144
#5: main, TMPDIR/work/x86_64-linux/zip-native/3.0/temp/run.do_compile.3082923, line 183