Project

General

Profile

Actions

Bug #5985

closed

Missing libproc.h include file

Added by r a over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
OS/Net (Kernel and Userland)
Target version:
-
Start date:
2015-06-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The libproc.h include file was included in Solaris 10 but is not included in IllumOS and Solaris 11.
I am trying to build node.js v0.12.4 but this requires the libproc.h include file.
Can this file be added back to IllumOS.

Actions #1

Updated by r a over 8 years ago

I found the #include <libproc.h> reference in the node-v0.12.4/deps/mdb_v8.c. Editted mdb_v8.c to replace the #include <libproc.h> with #include <procfs.h>, now I get the following error

../deps/mdb_v8/mdb_v8.c: In function ‘findjsobjects_run’:
../deps/mdb_v8/mdb_v8.c:4590:3: warning: implicit declaration of function ‘Pmapping_iter’ [-Wimplicit-function-declaration]
if (Pmapping_iter(Pr,
^
../deps/mdb_v8/mdb_v8.c:4591:8: error: ‘proc_map_f’ undeclared (first use in this function)
(proc_map_f )findjsobjects_mapping, fjs) != 0) {
^
../deps/mdb_v8/mdb_v8.c:4591:8: note: each undeclared identifier is reported only once for each function it appears in
../deps/mdb_v8/mdb_v8.c:4591:20: error: expected expression before ‘)’ token
(proc_map_f *)findjsobjects_mapping, fjs) != 0) {
^
../deps/mdb_v8/mdb_v8.c: At top level:
../deps/mdb_v8/mdb_v8.c:4193:1: warning: ‘findjsobjects_mapping’ defined but not used [-Wunused-function]
findjsobjects_mapping(findjsobjects_state_t *fjs, const prmap_t *pmp,
^
gmake1: *
* [/home/downloads/gnu/firefox/node-v0.12.4/out/Release/obj.target/mdb_v8/deps/mdb_v8/mdb_v8.o] Error 1

Actions #3

Updated by Alexander Pyhalov over 8 years ago

BTW, I've just updatet nodejs to 0.12.7. MDB module is disabled.

Actions #4

Updated by Aurélien Larcher over 7 years ago

This is a bug for illumos, see #6955.
This one should be closed.

Actions #5

Updated by Aurélien Larcher over 7 years ago

  • Subject changed from missing libproc.h include file to Missing libproc.h include file
  • Category set to OS/Net (Kernel and Userland)
  • Status changed from New to Closed
  • Assignee set to OI illumos
  • Priority changed from High to Normal

Issue is addressed by illumos #6955.

Actions

Also available in: Atom PDF