[uClibc]Compilation problem on alpha

Rick Altherr kc8apf at kc8apf.net
Fri Sep 27 04:13:29 UTC 2002


I seem to have found the problem.  It appears that __NR_stat64,
__NR_lstat64, and __NR_fstat64 are not being set.  If i comment out the
weak_alias lines for those functions, it compiles fine.

-- 
Rick Altherr
KC8APF
kc8apf at kc8apf.net

Erik Andersen said:
> 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--
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc






More information about the uClibc mailing list