Build fix for debian/mips - linker error on pmProgname.
Debian bug 516582 describes a build failure on this platform:
Automatic build of pcp_2.7.8-20090217 on ball by sbuild/mips 99.99
This is the error:
/usr/bin/ld: non-dynamic relocations refer to dynamic symbol pmProgname
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
I think this will be due to the inadvertant symbol name shadowing
from the local (instead of extern) declaration of pmProgname in
pmstat - this is clearly not the intention anyway, so fix it up by
just using the impl.h declaration (we already include impl.h here)
and hopefully resolve this mips build issue at the same time.
Build fix for debian/mips - linker error on pmProgname.
Debian bug 516582 describes a build failure on this platform:
This is the error:
I think this will be due to the inadvertant symbol name shadowing
from the local (instead of extern) declaration of pmProgname in
pmstat - this is clearly not the intention anyway, so fix it up by
just using the impl.h declaration (we already include impl.h here)
and hopefully resolve this mips build issue at the same time.