From: Mike F. <va...@ge...> - 2012-10-10 17:53:46
|
On Wednesday 10 October 2012 09:19:30 Markos Chandras wrote: > I don't think it is defined, because if it was then this would have worked: > > (file.c line 186) > > #if HAVE_LONG_LONG_OFF_T > /* > * Ugly hacks for systems that have typedef long long off_t > */ > # define stat64 stat > # define HAVE_STAT64 1 /* Ugly hack */ > # define sys_stat64 sys_stat > # define sys_fstat64 sys_fstat > # define sys_lstat64 sys_lstat > # define sys_truncate64 sys_truncate > # define sys_ftruncate64 sys_ftruncate > #endif > > So this would have defined stat64 to stat in this box > > Also looking at config.log I see this: > > configure:6156: checking for long long off_t > configure:6168: > /home/me/buildroot/output/host/usr/bin/x86_64-buildroot-linux-uclibc-gcc > -c -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 conftest.c >&5 > conftest.c:44:6: error: size of array 'a' is negative > configure:6168: $? = 1 perhaps it's a bug in uClibc's x86_64 port -mike |