pcp
[Top] [All Lists]

Re: Building PCP on Red Hat Alpha

To: eroman@xxxxxxx, pcp@xxxxxxxxxxx
Subject: Re: Building PCP on Red Hat Alpha
From: markgw@xxxxxxxxxxxxxxxxxxxxxxxxx (Mark Goodwin)
Date: Fri, 24 Dec 1999 10:27:41 -0500
In-reply-to: Eric Roman <eroman@xxxxxxx> "Building PCP on Red Hat Alpha" (Dec 23, 14:48)
References: <19991223144816.B31718@xxxxxxxxxxxxx>
Reply-to: markgw@xxxxxxx
Sender: owner-pcp@xxxxxxxxxxx
On Dec 23, 14:48, Eric Roman wrote:
> Subject: Building PCP on Red Hat Alpha
>
> Hi,
>
> I'm interested in helping to develop Performance Co-Pilot for Linux.
> (Mainly want to do cluster software development, assuming my boss
> lets me...  I've been looking for a tool like this for some time. )

Great!

>
> I'm trying to port PCP to Linux Alpha.  (RH 6.0)  I've run into a
> problem:  The source RPM doesn't build (builds on x86 w/ RH 6.0 and
> stock GCC).   I get the following error message:
> === weblog ===
> weblog.c:88: initializer element for `wl_metricInfo[0].m_offset' is not
computable at load time
> ...

It looks like in configure.in, our assumption about the default
for __psint_t (pointer size int) may be wrong for the alpha platform.

In configure.in, near line 334:
    C_CHECK_TYPE(__psint_t, u_int32_t)

Try changing u_int32_t in the above macro to whatever the
type should be for alpha (probably __uint64_t). Then rerun
configure; make

Please let me know if this works and l'll formulate a new macro that
will work on non-i386 linux.

Also, BTW I have no idea what's in /proc on alpha linux, so you may
encounter some difficulty with src/pmdas/linux (forewarning).

thanks

    -- Mark Goodwin
    SGI Engineering


<Prev in Thread] Current Thread [Next in Thread>