[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cpio 2.4.2] rmt build fails
From: |
Gert |
Subject: |
[cpio 2.4.2] rmt build fails |
Date: |
Thu, 29 Mar 2001 21:28:52 +0200 (CEST) |
Hi,
The cpio 2.4.2 rmt tool fails to build on my system. I run the following
software:
- Linux 2.4.2
- GCC 2.95.2
- GNU Make 3.79.1
- GNU ld 2.10 (with BFD 2.10)
- glibc 2.1.3
The build fails like this (all that is not shown compiles fine, without
warnings):
######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. -march=i386
-mcpu=i386 main.c
main.c: In function `main':
main.c:497: warning: return type of `main' is not `int'
######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. -march=i386
-mcpu=i386 mt.c
mt.c: In function `main':
mt.c:172: warning: return type of `main' is not `int'
######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. -march=i386
-mcpu=i386 rmt.c
rmt.c:78: conflicting types for `sys_errlist'
/usr/include/stdio.h:557: previous declaration of `sys_errlist'
make: *** [rmt.o] Error 1
######cut######
I'm sorry if it's not a bug in cpio. I never had problems compiling other
(GNU) software on my (x86) system, and I couldn't find anyone who could
solve my problem. That's why I mail this to this address (some kind of a
last resort measure).
If necessary, the full ./configure and make logs, and the cpio package I
used can be downloaded from http://n8w8.wox.org/cpio/
Thanks in advance for any help!
Gert Robben
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cpio 2.4.2] rmt build fails,
Gert <=