-----BEGIN PGP SIGNED MESSAGE----- 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 @have_sys_tim...@. 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 e...@byu.net -----BEGIN PGP SIGNATURE----- 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/ iEYEARECAAYFAkqzs+0ACgkQ84KuGfSFAYA6BwCeIIn9oZQkcgH1H2+ft9GumcVQ G6sAoLpSkEp6gO2wwHbqab2Go6GXL1A8 =wMWL -----END PGP SIGNATURE-----