bug-gnu-utils
[Top][All Lists]
Advanced

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

cpio-2.4.2 patch


From: Alex Efros
Subject: cpio-2.4.2 patch
Date: Wed, 29 Aug 2001 07:36:31 +0300 (EEST)

Hi.

Linux-2.4.9, GCC-3.0, GLIBC-2.2.4, cpio-2.4.2.

Compile-time errors:

---cut---
gcc -c  -DRETSIGTYPE=void -DHAVE_SYS_MTIO_H=1 -DHAVE_NETDB_H=1
-DSTDC_HEADERS=1
-DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UTIME_H=1
-DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_VPRINTF=1 -DHAVE_ALLOCA_H=1
-DHAVE_ALLOCA=1 -DHAVE_DIRENT_H=1  -I. -O3 -march=i686 -mcpu=i686 userspec.c
userspec.c:85: parse error before "__extension__"
userspec.c:85: `__len' undeclared here (not in a function)
userspec.c:85: initializer element is not constant
userspec.c:85: parse error before "if"
userspec.c:85: conflicting types for `__retval'
userspec.c:85: previous declaration of `__retval'
userspec.c:85: warning: data definition has no type or storage class
userspec.c:85: parse error before '}' token
make: *** [userspec.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.43427 (%build)
---cut---

and

---cut---
gcc -c  -DRETSIGTYPE=void -DHAVE_SYS_MTIO_H=1 -DHAVE_NETDB_H=1
-DSTDC_HEADERS=1
-DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1
-DHAVE_UTIME_H=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1
-DHAVE_VPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-DHAVE_DIRENT_H=1  -I. -O3 -march=i686 -mcpu=i686  rmt.c
rmt.c:78: conflicting types for `sys_errlist'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/include/stdio.h:561:
previous declaration of `sys_errlist'
make: *** [rmt.o] Error 1
---cut---

Patch in attach.

-- 
                                WBR, Alex.

Attachment: cpio-2.4.2-dup-PoWeR.patch
Description: Text document


reply via email to

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