HP-UX 11: make error

tziem at rdg.boehringer-ingelheim.com tziem at rdg.boehringer-ingelheim.com
Tue Jan 23 23:57:19 UTC 2001



Okay.  Here is all references to pread or pwrite in
/usr/include/sys/unistd.h:

     extern ssize_t write __((int, const void *, size_t));
     extern ssize_t pwrite __((int, const void *, size_t, off_t));
...
...then later on...

# if defined(_LARGEFILE64_SOURCE)
#  ifdef __LP64__
#   define prealloc64	prealloc
#   define lockf64	lockf
#   define truncate64	truncate
#   define ftruncate64  ftruncate
#   define lseek64	lseek
#   define pread64	pread
#   define pwrite64	pwrite
#  else /* __LP64__ */
     extern int prealloc64 __((int, off64_t));
     extern int lockf64 __((int, int, off64_t));
     extern int truncate64 __((const char *, off64_t));
     extern int ftruncate64 __((int, off64_t));
     extern off64_t lseek64 __((int, off64_t, int));
     extern ssize_t pread64 __((int, void *, size_t, off64_t));
     extern ssize_t pwrite64 __((int, const void *, size_t, off64_t));
#  endif /* __LP64 */
# endif /* _LARGEFILE64_SOURCE */

Thanks again,
Tom.



> -----Original Message-----
> From:	Russ Allbery [SMTP:rra at stanford.edu]
> Sent:	Tuesday, January 23, 2001 6:32 PM
> To:	Ziem,Thomas  IT BIP-US-R
> Cc:	inn-bugs at isc.org
> Subject:	Re: HP-UX 11: make error
> 
> tziem <tziem at rdg.boehringer-ingelheim.com> writes:
> 
> > Sure thing.   log file attached.  Thanks for your help.
> >  <<config.log>> 
> 
> Okay, what this log says is that you don't have pwrite in libc.  Could you
> look at /usr/include/unistd.h and see where it declares pwrite and past
> those lines in?  I'm very confused.
> 
> -- 
> Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-bugs mailing list