bug-cpio
[Top][All Lists]
Advanced

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

[Bug-cpio] cpio-2.11 fails to cross compile host=x86_64 target=armv4tl


From: Ingo Krabbe
Subject: [Bug-cpio] cpio-2.11 fails to cross compile host=x86_64 target=armv4tl
Date: Mon, 21 Jun 2010 16:44:59 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

I assume this is a fix to get a mingw compile or something similar at
the end of src/filetypes.h:
84      int lstat ();
85      int stat ();

Which fails for.
./configure --prefix=/usr --build=x86_64-pc-linux-gnu \
--host=armv4tl-softfloat-linux-gnueabi --mandir=/usr/share/man \
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc \
--localstatedir=/var/lib --enable-nls --bindir=/bin \
--with-rmt=/usr/sbin/rmt

In file included from copyin.c:25:
filetypes.h:85:11: error: macro "stat" requires 2 arguments, but only 1
given
In file included from copyin.c:25:
filetypes.h:85: error: ‘stat’ redeclared as different kind of symbol
/usr/armv4tl-softfloat-linux-gnueabi/usr/include/sys/stat.h:217: note:
previous declaration of ‘stat’ was here

I will hunt this further down now.  But maybe the one who wrote those
two lines could explain the sense of those statements.

bye ingo

-- 
i don't do signatures



reply via email to

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