configure: WARNING: sys/sysinfo.h: present but cannot be compiled

Torbjorn Granlund tg at swox.com
Mon Oct 29 09:23:56 CET 2007


"John David Anglin" <dave at hiauly1.hia.nrc.ca> writes:

  > configure:24719: gcc -c -O2  conftest.c >&5
  > In file included from conftest.c:71:
  > /usr/include/sys/sysinfo.h:180: error: array type has incomplete element type
  > configure:24725: $? = 1
  > 
  > This is line 180:
  > extern struct syswait syswait[];
  
  The work around is to include <inttypes.h> and <sys/sar.h> before
  <sys/sysinfo.h> in the configure test.  This provides the declaration
  for struct syswait.
  
I cannot do any developments or test any future GMP releases on HP
hardware or under HP-UX.  Therefore, I will not work on this problem.

I had an account at HP's "testdrive" until mid September.  Then, HP
closed it, for unknown reasons and without contacting me.  And since
then it has been inaccessible, and with it, many GMP files in
development has been inaccessible to me.  HP has ignored my emails to
testdrive at hp.com.

(I am not going to start anew with the developments, and I am not going
to try to get alternative access to HP hardware.)

-- 
Torbjörn


More information about the gmp-bugs mailing list