我正在尝试编译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.