Project

General

Profile

« Previous | Next » 

Revision e6c933f7

Added by Nathan Scott over 15 years ago

  • ID e6c933f7454f4d4195fc35213bc05ca4b131dde3

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.

  • added
  • modified
  • copied
  • renamed
  • deleted