In file included from ../../src/host.c:227:
../../src/global.h:321: error: array type has incomplete element type
../../src/global.h:323: error: array type has incomplete element type
It refferences to the code (globals.c:208):
struct Pvmtevdid pvmtevdidlist[] =
{
/* TEV_DID_AN */ "AN", "PVM Architecture Name",
/* TEV_DID_AC */ "AC", "PVM Architecture Code",
...
Could you help me to compile PVM?
../../src/global.h:318: error: array type has incomplete element type
../../src/global.h:320: error: array type has incomplete element type
../../src/global.h:324: error: array type has incomplete element type
../../src/global.h:326: error: array type has incomplete element type
Help.
Julio Saucedo
I had the same problem. GCC has gotten tougher on code that is not ANSI
standard. Finally got everything to compile and all the sample problems
to run. Now if I can just get my production code to work properly...
Here is the output from a "diff" comparison. Note that these modifications
produced a working version of PVM on my system, which is running OpenSUSE
10.1 and GCC 4.1.0. I make no guarantees, but hopefully this will get you
and others going in the right direction.
-Dudley