Am Montag, 8. April 2002 13:24 schrieb Andrew Bartlett: > > Add -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 to the compiler options > > and it works :-) > > The problem is that the VFS (and passdb for that matter) modules are > libtool based :-). > > They are not created via the normal makefile system, and don't get the > same complier options. In the same way, passdb moudles can't be built > on RedHat systems without some modification, becouse the kerberos > headers are not in the right place. > > Yet again we see that libtool is an all or nothing thing ;-)
Couldn't configure.in be changed to supply the defines to config.h instead of adding it to CFLAGS in the makefile ? Most source files (all ?) include config.h via includes.h anyway, so this could work. ...Juergen