[uClibc]Compilation problem on alpha

Erik Andersen andersen at codepoet.org
Sat Sep 21 10:37:51 UTC 2002


On Sat Sep 21, 2002 at 03:49:37AM -0400, Rick Altherr wrote:
> I'm trying to compile uClibc on an alpha system running debian unstable. 
> The compile fails with:
> 
> gcc -Wall -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
> -Os -fno-builtin -nostdinc  -I../../../../include -iwithprefix include -I.
> -D_LIBC  -DNDEBUG  -DL_stat syscalls.c -c -o stat.o                       
>                   syscalls.c:953: conflicting types for `stat64'          
>                        ../../../../include/sys/stat.h:220: previous
> declaration of `stat64'            make[4]: *** [stat.o] Error 1

Hmm.   looks like for alpha __USE_LARGEFILE64 is going to
always be defined.  Does removing the definition of stat64
from uClibc/libc/sysdeps/linux/alpha/bits/kernel_stat.h
fix the problem?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list