On Wed, Jan 09, 2002 at 08:39:03PM +0100, Peter Simons wrote: > I recently added AC_SYS_LARGEFILE macro to my configure scripts, but I > encountered an interesting problem on Solaris 8: The configure script > adds the define "_FILE_OFFSET_BITS=64" to my CPPFLAGS, but once it > does, <unistd.h> and colleagues don't define open(2) anymore; > apparently, I have to use open64(2) instead. > > Now I wonder: What is the best way to support this? Can't autoconf > somehow re-define the necessary routines transparently?
So, if your program uses open(2) and you link, you get an unresolved reference to the symbol open? Using AC_SYS_LARGEFILE should be transparent to your program. -- albert chin ([EMAIL PROTECTED])
