gregor weertman
Programmer
Hello,
I’m trying to compile Zabbix on HP-UX not disturbed by any knowledge of c.
The syswait.h gives an error when I compile it with gcc.
(Zabbix has to be compiled with gcc in my case)
The line on which the error occurs is:
extern struct syswait syswait[];
the error message:
error: array type has incomplete element type
seems like an syntax error.
When I put the line in a simple C program and compile whith cc
It compiles ok.
Can I change the syntax of that line for compilation whith gcc?
I’m trying to compile Zabbix on HP-UX not disturbed by any knowledge of c.
The syswait.h gives an error when I compile it with gcc.
(Zabbix has to be compiled with gcc in my case)
The line on which the error occurs is:
extern struct syswait syswait[];
the error message:
error: array type has incomplete element type
seems like an syntax error.
When I put the line in a simple C program and compile whith cc
It compiles ok.
Can I change the syntax of that line for compilation whith gcc?