[Mono-list] Re: Mono in Solaris

Robert Jordan robertj at gmx.net
Thu Dec 29 09:48:20 EST 2005

Andreas Färber wrote:
> Andreas Färber schrieb:
>> The first few files compile fine, then inside libgc the error "large 
>> files are not supported by libelf" is raised via the included 
>> /usr/include/link.h, and make (or gmake) stops. This error originates 
>> from the following excerpt of /usr/include/libelf.h:
>> #if defined(_ILP32) && (_FILE_OFFSET_BITS != 32)
>> #error "large files are not supported by libelf"
>> #endif
> The gcc command line includes -D_FILE_OFFSET_BITS=64. Any idea what 
> exactly that actually means, where it originates from and what I can do 
> about it? I am compiling on a Pentium III, so it's not a 64-bit machine.

It's needed for large file support (> 2GB). Not uncommon in 2005, even
on 32-bit machines ;-)

However, libgc doesn't need this define, which is inherited from
mono's configuration. You may try to tweak the generated libgc/Makefile.


More information about the Mono-list mailing list