|
From: Vladimir T. <vtz...@gm...> - 2011-08-17 20:53:39
|
On Fri, Jul 29, 2011 at 5:16 PM, Sam Steingold <sd...@gn...> wrote:
>> * Vladimir Tzankov <igm...@tz...> [2011-07-29 02:08:48 +0300]:
>> following prints 4:
>> #include <sys/types.h>
>> main () { printf("%u", sizeof(off_t)); }
>
> This just means that conftest.c from the main configure contains
> includes and defines before #include <sys/types.h> which make it define
> off_t to be a 64-bit type. It would be nice if you could edit the
> configure files by hand and make them save the appropriate conftest.c
> files as, e.g., off_t.c.
The define that causes this is:
#define _FILE_OFFSET_BITS 64
> Also, please try the appended patch. I am not sure it is the right one,
> but it is worth a try...
I've not tried the patch you proposed. However with latest changes
something went wrong with errno (gllib?). My build (on the same
machine) now ends with:
../src/spvw_memfile.d:1830: error: ‘errno’ undeclared (first use in
this function)
make: *** [spvw.o] Error 1
Vladimir
|