Bug #5985
closedMissing libproc.h include file
0%
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.
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
Updated by Aurélien Larcher over 8 years ago
Reference: https://github.com/joyent/node/issues/6439
Updated by Alexander Pyhalov over 8 years ago
BTW, I've just updatet nodejs to 0.12.7. MDB module is disabled.
Updated by Aurélien Larcher over 7 years ago
This is a bug for illumos, see #6955.
This one should be closed.
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.