[lsb-discuss] sysconf and the LSB

Sam Hart sam at linux-foundation.org
Tue Jul 31 06:40:37 PDT 2007


In building Mozilla Firefox using the LSB tools I've run into an issue
of missing items from the LSB which prevent Firefox from building.
After some discussion with Mats on this, it was suggested it should be
brought up on lsb-discuss.

The problem has to do with sysconf calls fairly early in the build,
specifically, the following:
../../../../../nsprpub/pr/src/misc/prsystem.c: In function
'PR_GetNumberOfProcessors':
../../../../../nsprpub/pr/src/misc/prsystem.c:265: error:
'_SC_NPROCESSORS_ONLN' undeclared (first use in this function)
../../../../../nsprpub/pr/src/misc/prsystem.c:265: error: (Each
undeclared identifier is reported only once
../../../../../nsprpub/pr/src/misc/prsystem.c:265: error: for each
function it appears in.)
../../../../../nsprpub/pr/src/misc/prsystem.c: In function
'PR_GetPhysicalMemorySize':
../../../../../nsprpub/pr/src/misc/prsystem.c:290: error:
'_SC_PHYS_PAGES' undeclared (first use in this function)

The question ultimately comes down to how widespread calls like these
are in other applications, as well as how much acceptance they have
from the community and vendors alike.

In other words, would these be the sort of things you'd expect to see
in the LSB?



More information about the lsb-discuss mailing list