Система Linux RedHat 6.0
Скачал zip v.2.1
Запускаю сборку, а мне вылетают ошибки.
Может компилятор обновить? Где?
А ошибки следующие:
------------
In file included from fileio.c:16:
zip.h:282: warning: conflicting types for built-in function `memset'
zip.h:283: warning: conflicting types for built-in function `memcpy'
zip.h:284: warning: conflicting types for built-in function `memcmp'
fileio.c: In function `fqcmp':
fileio.c:119: warning: passing arg 1 of `memcmp' discards `const' from pointer target type
fileio.c:119: warning: passing arg 2 of `memcmp' discards `const' from pointer target type
fileio.c: In function `fqcmpz':
fileio.c:128: warning: passing arg 1 of `memcmp' discards `const' from pointer target type
fileio.c:128: warning: passing arg 2 of `memcmp' discards `const' from pointer target type
fileio.c: In function `check_dup':
fileio.c:231: warning: passing arg 1 of `memcmp' discards `const' from pointer target type
fileio.c:231: warning: passing arg 2 of `memcmp' discards `const' from pointer target type
fileio.c:243: warning: passing arg 1 of `memcmp' discards `const' from pointer target type
fileio.c:243: warning: passing arg 2 of `memcmp' discards `const' from pointer target type
fileio.c: In function `newname':
fileio.c:367: warning: passing arg 1 of `memcmp' discards `const' from pointer target type
fileio.c:367: warning: passing arg 2 of `memcmp' discards `const' from pointer target type
fileio.c: At top level:
fileio.c: 719: parse error before `__extension__'
fileio.c: 719: warning: parameter names (without types) in function declaration
fileio.c: 719: conflicting types for `__bzero'
/usr/include/string.h:221: previous declaration of `__bzero'
fileio.c: 719: warning: data definition has no type or storage class
fileio.c: 719: warning: data definition has no type or storage class
fileio.c: 719: parse error before `}'
fileio.c: 721: register name not specified for `init'
fileio.c: 722: register name not specified for `len'
fileio.c: 723: parse error before `{'
fileio.c: 726: `buf' undeclared here (not in a function)
fileio.c: 726: warning: data definition has no type or storage class
fileio.c: 727: parse error before `while'
make[1]: *** [fileio.o] Error 1
make: *** [generic] Error 2
------------
Я, конечно, чайник, так что выручайте. Может где скомпиленный есть? Весь сыр бор из-за того, что мне поддержка работы с паролями нужна.