HP-UX 11: make error

tziem at rdg.boehringer-ingelheim.com tziem at rdg.boehringer-ingelheim.com
Wed Jan 24 15:01:08 UTC 2001

I tried hacking include/config.h and that didn't work.

I then tried hacking config.cache and setting the vars for pread & pwrite =

I then re-ran configure and make and I was able to get by the error.
However, I then received the following (see log file attached):

Does the install absolutely require yacc (which I can't find on HP-UX)?
If so, where can I obtain yacc?

Thank you,

> -----Original Message-----
> From:	Russ Allbery [SMTP:rra at stanford.edu]
> Sent:	Tuesday, January 23, 2001 7:15 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:
> > 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...
> Okay, I don't understand what's going on at all.  It's being declared in
> the header files but autoconf can't link with it?  That's bizarre; I have
> no idea how to solve that problem.
> You could try, as a hack, editing include/config.h to define HAVE_PWRITE
> to 1 and see if that helps.
> -- 
> Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

-- Attached file included as plaintext by Listar --
-- File: make_errs2.txt

techdev1 $ make
        cd lib       && make all
        mkdir ../include/inn > /dev/null 2>&1
*** Error exit code 2 (ignored)
        ./mkversion '2.3.1' '' ../include/inn/version.h
         gcc -g -O2 -I../include   -c setenv.c
         gcc -g -O2 -I../include   -c hstrerror.c
         gcc -g -O2 -I../include   -c argparse.c
         gcc -g -O2 -I../include   -c checkart.c
         gcc -g -O2 -I../include   -c cleanfrom.c
         gcc -g -O2 -I../include   -c clientactive.c
         gcc -g -O2 -I../include   -c clientlib.c
         gcc -g -O2 -I../include   -c closeonexec.c
         gcc -g -O2 -I../include   -c concat.c
         gcc -g -O2 -I../include   -c conffile.c
         gcc -g -O2 -I../include   -c date.c
         gcc -g -O2 -I../include   -c dbz.c
dbz.c:168: warning: `MAP__ARG' redefined
../include/clibrary.h:141: warning: this is the location of the previous definition
         gcc -g -O2 -I../include   -c defdist.c
         gcc -g -O2 -I../include   -c findheader.c
         gcc -g -O2 -I../include   -c genid.c
         gcc -g -O2 -I../include   -c getconfig.c
         gcc -g -O2 -I../include   -c getdtab.c
         gcc -g -O2 -I../include   -c getfqdn.c
         gcc -g -O2 -I../include   -c getmodaddr.c
         gcc -g -O2 -I../include   -c gettime.c
         gcc -g -O2 -I../include   -c grpalias.c
         gcc -g -O2 -I../include   -c hash.c
         gcc -g -O2 -I../include   -c inndcomm.c
         gcc -g -O2 -I../include   -c localopen.c
         gcc -g -O2 -I../include   -c lockfile.c
         gcc -g -O2 -I../include   -c makedir.c
        gcc -g -O2 -I../include     -o endian endian.c
        ./endian >../include/autoconfig.h
         gcc -g -O2 -I../include   -c md5.c
         gcc -g -O2 -I../include   -c nonblocking.c
Expect 6 shift/reduce conflicts
        yacc parsedate.y
Make: Cannot load yacc.  Stop.
*** Error exit code 1

*** Error exit code 1

More information about the inn-bugs mailing list