Solaris 11.0 中缺少 libproc.h 标头



>我正在尝试编译 pfiles.c
它包括

#include <libproc.h>

libproc.h 包括

#include /sys/secflags.h  

图像中缺少两者。

root@solaris11:~# cat /etc/*release
                       Oracle Solaris 11 11/11 X86
  Copyright (c) 1983, 2011, Oracle and/or its affiliates.  All rights reserved.
                        Assembled 18 October 2011
root@solaris11:~# uname -a
SunOS solaris11 5.11 11.0 i86pc i386 i86pc
root@solaris11:~#

我尝试更新软件包:系统/标头,系统/库,开发人员/调试/mdb

root@solaris11:~# pkg install system/header
No updates necessary for this image.
root@solaris11:~# pkg search libproc
root@solaris11:~# pkg search libproc*
INDEX      ACTION VALUE                                                   PACKAGE
basename   file   usr/lib/sparcv9/Pegasus/providers/libProcessProvider.so pkg:/system/management/cim/pegasus@2.9.1-0.175.0.0.0.0.0
basename   file   usr/lib/Pegasus/providers/libProcessProvider.so         pkg:/system/management/cim/pegasus@2.9.1-0.175.0.0.0.0.0
basename   file   usr/lib/amd64/Pegasus/providers/libProcessProvider.so   pkg:/system/management/cim/pegasus@2.9.1-0.175.0.0.0.0.0
basename   file   usr/lib/Pegasus/providers/libProcessProvider.so         pkg:/system/management/cim/pegasus@2.9.1-0.175.0.0.0.0.0
basename   file   usr/lib/sparcv9/libProcessorProviderModule.so           pkg:/system/management/cim/pegasus@2.9.1-0.175.0.0.0.0.0
basename   file   usr/lib/libProcessorProviderModule.so                   pkg:/system/management/cim/pegasus@2.9.1-0.175.0.0.0.0.0
basename   file   usr/lib/amd64/libProcessorProviderModule.so             pkg:/system/management/cim/pegasus@2.9.1-0.175.0.0.0.0.0
basename   file   usr/lib/libProcessorProviderModule.so                   pkg:/system/management/cim/pegasus@2.9.1-0.175.0.0.0.0.0
basename   file   usr/lib/mdb/proc/libproc.so                             pkg:/developer/debug/mdb@0.5.11-0.175.0.0.0.2.1
basename   file   usr/lib/mdb/proc/amd64/libproc.so                       pkg:/developer/debug/mdb@0.5.11-0.175.0.0.0.2.1
basename   file   usr/lib/mdb/proc/libproc.so                             pkg:/developer/debug/mdb@0.5.11-0.175.0.0.0.2.1
basename   file   usr/lib/mdb/proc/amd64/libproc.so                       pkg:/developer/debug/mdb@0.5.11-0.175.0.0.0.2.1
basename   file   usr/lib/mdb/proc/libproc.so                             pkg:/developer/debug/mdb@0.5.11-0.175.0.0.0.2.1
basename   file   usr/lib/mdb/proc/sparcv9/libproc.so                     pkg:/developer/debug/mdb@0.5.11-0.175.0.0.0.2.1
basename   file   usr/lib/mdb/proc/libproc.so                             pkg:/developer/debug/mdb@0.5.11-0.175.0.0.0.2.1
base    name   link   lib/sparcv9/libproc.so                                  pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   link   usr/lib/sparcv9/libproc.so                              pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   link   lib/libproc.so                                          pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   link   lib/amd64/libproc.so                                    pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   link   usr/lib/libproc.so                                      pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   link   usr/lib/amd64/libproc.so                                pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   file   lib/sparcv9/libproc.so.1                                pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   file   lib/libproc.so.1                                        pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   file   lib/amd64/libproc.so.1                                  pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   file   lib/libproc.so.1                                        pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   file   lib/amd64/libproc.so.1                                  pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   file   lib/libproc.so.1                                        pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   link   usr/lib/sparcv9/libproc.so.1                            pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   link   usr/lib/libproc.so.1                                    pkg:/system/library@0.5.11-0.175.0.0.0.2.1
basename   link   usr/lib/amd64/libproc.so.1                              pkg:/system/library@0.5.11-0.175.0.0.0.2.1
root@solaris11:~# pkg install system/library
No updates necessary for this image.
root@solaris11:~# pkg install developer/debug/mdb
No updates necessary for this image.

这似乎是一个私有标头,而不是发行版的一部分:

https://github.com/nodejs/node-v0.x-archive/issues/6439

相关内容

  • 没有找到相关文章

最新更新