pcp
[Top] [All Lists]

Building PCP on Red Hat Alpha

To: pcp@xxxxxxxxxxx
Subject: Building PCP on Red Hat Alpha
From: Eric Roman <eroman@xxxxxxx>
Date: Thu, 23 Dec 1999 14:48:16 -0800
Reply-to: eroman@xxxxxxx
Sender: owner-pcp@xxxxxxxxxxx
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. )

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 ===
echo "/*" >domain.h
echo " * built from stdpmid by Makefile on `date`" >>domain.h
echo " */" >>domain.h
gawk < ../../pmns/stdpmid >> domain.h '$1=="#define" && $2=="WEBSERVER" { print 
"#define WEBSERVER " $3 }'
gcc  -g -DPCP_DEBUG -DPCP_VERSION=\"2.1.1\" -I../../../src/include    -c 
weblog.c -o weblog.o
weblog.c:88: initializer element for `wl_metricInfo[0].m_offset' is not 
computable at load time
weblog.c:90: initializer element for `wl_metricInfo[1].m_offset' is not 
computable at load time
weblog.c:92: initializer element for `wl_metricInfo[2].m_offset' is not 
computable at load time
weblog.c:94: initializer element for `wl_metricInfo[3].m_offset' is not 
computable at load time
weblog.c:96: initializer element for `wl_metricInfo[4].m_offset' is not 
computable at load time
weblog.c:158: initializer element for `wl_metricInfo[35].m_offset' is not 
computable at load time
weblog.c:160: initializer element for `wl_metricInfo[36].m_offset' is not 
computable at load time
weblog.c:162: initializer element for `wl_metricInfo[37].m_offset' is not 
computable at load time
weblog.c:224: initializer element for `wl_metricInfo[68].m_offset' is not 
computable at load time
weblog.c: In function `web_fetch':
weblog.c:1793: warning: cast to pointer from integer of different size
weblog.c:1798: warning: cast from pointer to integer of different size
weblog.c:1798: warning: cast to pointer from integer of different size
weblog.c:1805: warning: cast from pointer to integer of different size
weblog.c:1805: warning: cast to pointer from integer of different size
weblog.c:1930: warning: cast from pointer to integer of different size
weblog.c:1930: warning: cast to pointer from integer of different size
gmake[3]: *** [weblog.o] Error 1
gmake[2]: *** [default] Error 2
gmake[1]: *** [default] Error 2
make: *** [default] Error 2

I think that this is a problem w/ the version of GCC that we're using
% gcc -v
Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

gcc 2.95.2 won't compile it either.  I dies with the same error.  Any
ideas?

Eric

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