Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PVM compilation problem - Open SUSE 10.1 GCC 4.1.0

21 views
Skip to first unread message

sobczak...@gmail.com

unread,
Oct 24, 2006, 6:53:31 PM10/24/06
to
I tried to compile PMV 3.4.5 with gcc 4.1.0 under Open SUSE 10.1 and I
got this statement:

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?

Frank

unread,
Nov 1, 2006, 4:13:25 AM11/1/06
to
sobczak...@gmail.com wrote:

Hi,
try the attched patch (seems to become my speciality:)


Cheers,
Frank

pvm3.4.5-patch

juliosaucedo

unread,
Dec 29, 2006, 9:04:27 PM12/29/06
to
Patch applied and doesn't works :(

../../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

Dudley A. Raine, III

unread,
Jan 17, 2007, 5:10:34 PM1/17/07
to

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

pvmdiffs.txt
Message has been deleted
0 new messages