[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build failure on HP-UX 11.11

From: Eric Blake
Subject: Re: build failure on HP-UX 11.11
Date: Fri, 18 Sep 2009 10:23:09 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20090812 Thunderbird/ Mnenhy/

Hash: SHA1

[adding gnulib]

According to Greg Wooledge on 9/18/2009 9:52 AM:
> GNU m4 1.4.13 fails to build on HP-UX 11.11:
> make[4]: Entering directory `/usr/local/src/m4-1.4.13/lib'
>  CC  gl_avltree_oset.o
> In file included from sys/wait.h:91,
>                  from sys/wait.h:28,
>                  from stdlib.h:307,
>                  from stdlib.h:34,
>                  from gl_avltree_oset.c:25:
> sys/resource.h:106: error: field `ru_utime' has incomplete type
> sys/resource.h:107: error: field `ru_stime' has incomplete type
> Line 106 of that file is "struct timeval ru_utime;" plus a comment.

Sounds like we're missing a header inclusion dependency.

> I worked around this by editing the generated ./lib/sys/time.h file.
> Before:
> # if 0
> #  include_next <sys/time.h>
> # endif
> After:
> # if 1
> #  include_next <sys/time.h>
> # endif
> After making that change, it was able to build, and passed the vast
> majority of the "make check" test suite.

Hmm. That #if 0 line was generated from # if @address@hidden  Can you
also attach config.log, and the make output, to see why HAVE_SYS_TIME_H
might have been defined incorrectly?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]