NET-SNMP 5.4 and Multiple CPU's

2007-07-30 Thread Mark Khan
Hello:
   Could someone please help me with this problem:
I am a newly hired SA. In order to monitor CPU usage with Solaris systems my 
predecessor loaded Net-SNMPD 5.4 on systems here with multiple CPU's and then 
moved on. The Networking group is using a Product called SolarWinds to monitor 
the systems via snmp. Today they showed me a graph of cpu utilization on a 
system that is running the SNMPD 5.4 software and has two cpu's  and all they 
and I can see is one graph without any breakdown by CPU O or 1. Is there some 
command I can use to validate that the Net-SNMPD 5.4 software is functioning 
properly? Is there some way I can manually generate a graph myself that will 
show both cpu's? Is there any special compile options for multi cpu reporting 
that my predecessor may have forgotten to use?

Please help! - Mark K.



---
This e-mail is intended for the addressee shown. 
It contains information that is confidential and 
protected from disclosure. Any review, dissemination 
or use of this transmission or its contents by persons 
or unauthorized employees of the intended organizations 
is strictly prohibited. 

The contents of this email do not necessarily represent 
the views or policies of PSCU Financial Services.



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Net-SNMP Solaris 10 configure Error PLEASE HELP

2007-05-23 Thread Mark Khan
Hello World:
 I am trying to compile the net-snmpd 5.3 on a Solaris 10 
system. Below is a breakdown of the steps I have taken so far and the configure 
error message:
1. Installed Solaris 10 Rel 11-06 (SUNWCall)
2. Installed May 07 Recommended Patch Cluster.
3. Installed from Sunfreeware.com the following Solaris 10 packages:
gcc-3.4.6-sol10-sparc-local
libgcc-3.4.6-sol10-sparc-local
libiconv-1.11-sol10-sparc-local
openssl-0.9.7g-sol10-sparc-local
4. Un-Tarred the Net-SNMPD source code and ran the following configure command:
./configure --enable-static --disable-shared

Below is the error message and output from the config.log file. Please Please 
someone help me thru this!
RegBlade100# ./configure --enable-statci --disable-shared
checking what to build and install...  agent apps man local mibs
using default persistent mask 077
using default AgentX socket /var/agentx/master
using default enterprise.net-snmp
using default enterprise sysOID NET-SNMP-MIB::netSnmpAgentOIDs...
using default notifications NET-SNMP-MIB::netSnmpNotifications
using OS default send buffer size for server sockets
using OS default recv buffer size for server sockets
using OS default send buffer size for client sockets
using OS default recv buffer size for client sockets
checking if I need to feed myself to ksh... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.


RegBlade100# ./configure --enable-statci --disable-shared
checking what to build and install...  agent apps man local mibs
using default persistent mask 077
using default AgentX socket /var/agentx/master
using default enterprise.net-snmp
using default enterprise sysOID NET-SNMP-MIB::netSnmpAgentOIDs...
using default notifications NET-SNMP-MIB::netSnmpNotifications
using OS default send buffer size for server sockets
using OS default recv buffer size for server sockets
using OS default send buffer size for client sockets
using OS default recv buffer size for client sockets
checking if I need to feed myself to ksh... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Net-SNMP configure 5.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-statci --disable-shared

## - ##
## Platform. ##
## - ##

hostname = RegBlade100
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_125100-07

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = RegBlade100
Release = 5.10
KernelID = Generic_125100-07
Machine = sun4u
BusType = unknown
Serial = unknown
Users = unknown
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch  = sun4
/usr/bin/arch -k   = sun4u
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/bin
PATH: /usr/local/lib
PATH: /usrlocal/ssl
PATH: /usr/ccs/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /usr/ucb


## --- ##
## Core tests. ##
## --- ##

configure:2037: checking what to build and install
configure:2039: result:  agent apps man local mibs
configure:2779: result: using default persistent mask 077
configure:2830: result: using default AgentX socket /var/agentx/master
configure:3031: result: using default enterprise.net-snmp
configure:3073: result: using default enterprise sysOID 
NET-SNMP-MIB::netSnmpAgentOIDs...
configure:3115: result: using default notifications 
NET-SNMP-MIB::netSnmpNotifications
configure:3279: result: using OS default send buffer size for server sockets
configure:3305: result: using OS default recv buffer size for server sockets
configure:3331: result: using OS default send buffer size for client sockets
configure:3357: result: using OS default recv buffer size for client sockets
configure:3452: checking if I need to feed myself to ksh
configure:3468: result: no
configure:3529: checking for gcc
configure:3545: found /usr/local/bin/gcc
configure:3555: result: gcc
configure:3799: checking for C compiler version
configure:3802: gcc --version /dev/null 5
gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3805: $? = 0
configure:3807: gcc -v /dev/null 5
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as 
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
configure:3810: $? = 0

Re: Net-SNMP Solaris 10 configure Error PLEASE HELP

2007-05-23 Thread Mark Khan
I made one mistake in my previous post I am trying to configure Net-snmpd 5.4 
NOT 5.3

Regards - Mark

 Mark Khan [EMAIL PROTECTED] 05/23/2007 1:34 PM 
Hello World:
 I am trying to compile the net-snmpd 5.3 on a Solaris 10 
system. Below is a breakdown of the steps I have taken so far and the configure 
error message:
1. Installed Solaris 10 Rel 11-06 (SUNWCall)
2. Installed May 07 Recommended Patch Cluster.
3. Installed from Sunfreeware.com the following Solaris 10 packages:
gcc-3.4.6-sol10-sparc-local
libgcc-3.4.6-sol10-sparc-local
libiconv-1.11-sol10-sparc-local
openssl-0.9.7g-sol10-sparc-local
4. Un-Tarred the Net-SNMPD source code and ran the following configure command:
./configure --enable-static --disable-shared

Below is the error message and output from the config.log file. Please Please 
someone help me thru this!
RegBlade100# ./configure --enable-statci --disable-shared
checking what to build and install...  agent apps man local mibs
using default persistent mask 077
using default AgentX socket /var/agentx/master
using default enterprise.net-snmp
using default enterprise sysOID NET-SNMP-MIB::netSnmpAgentOIDs...
using default notifications NET-SNMP-MIB::netSnmpNotifications
using OS default send buffer size for server sockets
using OS default recv buffer size for server sockets
using OS default send buffer size for client sockets
using OS default recv buffer size for client sockets
checking if I need to feed myself to ksh... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.


RegBlade100# ./configure --enable-statci --disable-shared
checking what to build and install...  agent apps man local mibs
using default persistent mask 077
using default AgentX socket /var/agentx/master
using default enterprise.net-snmp
using default enterprise sysOID NET-SNMP-MIB::netSnmpAgentOIDs...
using default notifications NET-SNMP-MIB::netSnmpNotifications
using OS default send buffer size for server sockets
using OS default recv buffer size for server sockets
using OS default send buffer size for client sockets
using OS default recv buffer size for client sockets
checking if I need to feed myself to ksh... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Net-SNMP configure 5.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-statci --disable-shared

## - ##
## Platform. ##
## - ##

hostname = RegBlade100
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_125100-07

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = RegBlade100
Release = 5.10
KernelID = Generic_125100-07
Machine = sun4u
BusType = unknown
Serial = unknown
Users = unknown
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch  = sun4
/usr/bin/arch -k   = sun4u
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/bin
PATH: /usr/local/lib
PATH: /usrlocal/ssl
PATH: /usr/ccs/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /usr/ucb


## --- ##
## Core tests. ##
## --- ##

configure:2037: checking what to build and install
configure:2039: result:  agent apps man local mibs
configure:2779: result: using default persistent mask 077
configure:2830: result: using default AgentX socket /var/agentx/master
configure:3031: result: using default enterprise.net-snmp
configure:3073: result: using default enterprise sysOID 
NET-SNMP-MIB::netSnmpAgentOIDs...
configure:3115: result: using default notifications 
NET-SNMP-MIB::netSnmpNotifications
configure:3279: result: using OS default send buffer size for server sockets
configure:3305: result: using OS default recv buffer size for server sockets
configure:3331: result: using OS default send buffer size for client sockets
configure:3357: result: using OS default recv buffer size for client sockets
configure:3452: checking if I need to feed myself to ksh
configure:3468: result: no
configure:3529: checking for gcc
configure:3545: found /usr/local/bin/gcc
configure:3555: result: gcc
configure:3799: checking for C compiler version
configure:3802: gcc --version /dev/null 5
gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3805: $? = 0
configure:3807: gcc -v /dev/null 5
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure

Re: Net-SNMP 5.4 Solaris 9-10 build problems

2007-05-17 Thread Mark Khan
HI Pradhap:
 Thanks for the suggestion, but it did not work. I still get 
the following error message when I manually start snmpd without having my 
LD_LIBRARY_PATH set:

./snmpd fatal: libgcc_s.so.1 open failed no such file or directory

I could really use some help with this!

Regards - Mark

 Pradhap D [EMAIL PROTECTED] 05/16/2007 1:40 PM 
Mark,
 Try this
~#./configure --prefix=/usr/local  --with-cflags=-g -Dsolaris_2
--libdir=/usr/local/lib

~ Pradhap.D


On 5/16/07, Mark Khan [EMAIL PROTECTED] wrote:

  Hello:
  I have a couple of problems as follows:
 On Solaris 9
 I am trying to compile/build net-snmp version 5.4 so I do not have to set
 the LD_LIBRARY_PATH to include /usr/local/lib and /usr/local/ssl/lib. I have
 tried using the configure options of --with-ldflags=-L/usr/local/lib along
 with the --with-libs=-L/usr/local/lib, but nothing seems to work. What am I
 doing wrong? How do I compile this software so when snmpd starts it searchs
 these libraries?

 On Solaris 10
 On Solaris 10, I manually set the LD_LIBRARY_PATH to /usr/local/lib and
 /usr/local/ssl/lib. I can run the configure program without any
 errors. However, when I execute the first make command I get the following
 error:
 solaris-install-srv# make
 gcc -E   -Iinclude -I./include
 -I./agent/mibgroup -I. -I.   -DDONT_INC_STRUCTS
 -DBINDIR=/usr/local/bin   -x c ./sedscript.in | egrep
 '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' 
 sedscript
 echo 's#DATADIR#/usr/local/share#g'  sedscript
 echo 's#LIBDIR#/usr/local/lib#g'  sedscript
 echo 's#BINDIR#/usr/local/bin#g'  sedscript
 echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g'  sedscript
 echo 's#SYSCONFDIR#/usr/local/etc#g'  sedscript
 /usr/bin/sed -f sedscript ./EXAMPLE.conf.def  EXAMPLE.conf
 making all in /mak/net-snmp-5.4/snmplib
 /bin/sh ../libtool --mode=compile gcc -I../include -I.  -I../snmplib
 -I/usr/local/ssl/include -g -O2 -Usolaris2 -Dsolaris2=solaris2 -c -o
 snmp_client.lo snmp_client.c
 mkdir .libs
  gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -g -O2
 -Usolaris2 -Dsolaris2=solaris2 -c snmp_client.c  -fPIC -DPIC -o
 .libs/snmp_client.o
 In file included from /usr/include/sys/wait.h:24,
  from /usr/include/stdlib.h:22,
  from snmp_client.c:47:
 /usr/include/sys/siginfo.h:259: error: parse error before ctid_t
 /usr/include/sys/siginfo.h:292: error: parse error before '}' token
 /usr/include/sys/siginfo.h:294: error: parse error before '}' token
 /usr/include/sys/siginfo.h:390: error: parse error before ctid_t
 /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
 /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
 /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
 /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
 /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
 /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
 /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
 /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
 /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
 /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
 /usr/include/sys/siginfo.h:426: error: parse error before '}' token
 /usr/include/sys/siginfo.h:428: error: parse error before '}' token
 /usr/include/sys/siginfo.h:432: error: parse error before k_siginfo_t
 /usr/include/sys/siginfo.h:437: error: parse error before '}' token
 In file included from /usr/include/sys/procset.h:24,
  from /usr/include/sys/wait.h:25,
  from /usr/include/stdlib.h:22,
  from snmp_client.c:47:
 /usr/include/sys/signal.h:85: error: parse error before siginfo_t
 In file included from /usr/include/stdlib.h:22,
  from snmp_client.c:47:
 /usr/include/sys/wait.h:86: error: parse error before siginfo_t
 *** Error code 1
 make: Fatal error: Command failed for target `snmp_client.lo'
 Current working directory /mak/net-snmp-5.4/snmplib
 *** Error code 1
 The following command caused the error:
 if test snmplib  agent apps man local mibs != ; then \
 it=snmplib  agent apps man local mibs ; \
 for i in $it ; do \
 echo making all in `pwd`/$i; \
 ( cd $i ; make ) ; \
 if test $? != 0 ; then \
 exit 1 ; \
 fi  \
 done \
 fi
 make: Fatal error: Command failed for target `subdirs'
 Does anyone have any suggestion as to how I can fix this problem or what I
 should be looking for?

 Respectfully;
Mark K.


 ---
 This e-mail is intended for the addressee shown.
 It contains information that is confidential and
 protected from

RE: Net-SNMP 5.4 Solaris 9-10 build problems

2007-05-17 Thread Mark Khan
Hi Martin:
   Thanks for your response! It worked as follows:
./configure --enable-static --disable-shared

Not sure if the --disable-shared was required, but it works and registers.

Thanks - Mark K.

 Ward, Martin [EMAIL PROTECTED] 05/17/2007 10:28 AM 
I stepped around this problem by using archive libraries instead of
shared ones. This completely removes the requirement for having library
paths at the expense of having larger binary files. My build line on a
Solaris 10 box was:

./configure --prefix=/opt/net-snmp --enable-static --disable-shared
--disable-ipv6 --with-default-snmp-version=2 --without-rpm
--disable-embedded-perl --with-gnu-ld

|\/|artin

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Mark Khan
 Sent: 17 May 2007 14:45
 To: Pradhap D
 Cc: net-snmp-users@lists.sourceforge.net 
 Subject: Re: Net-SNMP 5.4 Solaris 9-10 build problems
 
 
 HI Pradhap:
  Thanks for the suggestion, but it did not 
 work. I still get the following error message when I manually 
 start snmpd without having my LD_LIBRARY_PATH set:
 
 ./snmpd fatal: libgcc_s.so.1 open failed no such file or directory
 
 I could really use some help with this!
 
 Regards - Mark
 
  Pradhap D [EMAIL PROTECTED] 05/16/2007 1:40 PM 
 Mark,
  Try this
 ~#./configure --prefix=/usr/local  --with-cflags=-g 
 -Dsolaris_2 --libdir=/usr/local/lib
 
 ~ Pradhap.D
 
 
 On 5/16/07, Mark Khan [EMAIL PROTECTED] wrote:
 
   Hello:
   I have a couple of problems as follows:
  On Solaris 9
  I am trying to compile/build net-snmp version 5.4 so I do 
 not have to 
  set the LD_LIBRARY_PATH to include /usr/local/lib and 
  /usr/local/ssl/lib. I have tried using the configure options of 
  --with-ldflags=-L/usr/local/lib along with the 
  --with-libs=-L/usr/local/lib, but nothing seems to work. What am I 
  doing wrong? How do I compile this software so when snmpd starts it 
  searchs these libraries?
 
  On Solaris 10
  On Solaris 10, I manually set the LD_LIBRARY_PATH to /usr/local/lib 
  and /usr/local/ssl/lib. I can run the configure program without any 
  errors. However, when I execute the first make command I get the 
  following
  error:
  solaris-install-srv# make
  gcc -E   -Iinclude 
 -I./include
  -I./agent/mibgroup -I. -I.   -DDONT_INC_STRUCTS
  -DBINDIR=/usr/local/bin   -x c 
 ./sedscript.in | egrep
  '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ 
 *#/#g;s/# g/#g/;' 
  sedscript
  echo 's#DATADIR#/usr/local/share#g'  sedscript
  echo 's#LIBDIR#/usr/local/lib#g'  sedscript
  echo 's#BINDIR#/usr/local/bin#g'  sedscript
  echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g'  sedscript
  echo 's#SYSCONFDIR#/usr/local/etc#g'  sedscript
  /usr/bin/sed -f sedscript ./EXAMPLE.conf.def  EXAMPLE.conf
  making all in /mak/net-snmp-5.4/snmplib
  /bin/sh ../libtool --mode=compile gcc -I../include -I.  -I../snmplib
  -I/usr/local/ssl/include -g -O2 -Usolaris2 -Dsolaris2=solaris2 -c -o
  snmp_client.lo snmp_client.c
  mkdir .libs
   gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -g -O2
  -Usolaris2 -Dsolaris2=solaris2 -c snmp_client.c  -fPIC -DPIC -o
  .libs/snmp_client.o
  In file included from /usr/include/sys/wait.h:24,
   from /usr/include/stdlib.h:22,
   from snmp_client.c:47:
  /usr/include/sys/siginfo.h:259: error: parse error before ctid_t
  /usr/include/sys/siginfo.h:292: error: parse error before '}' token
  /usr/include/sys/siginfo.h:294: error: parse error before '}' token
  /usr/include/sys/siginfo.h:390: error: parse error before ctid_t
  /usr/include/sys/siginfo.h:392: error: conflicting types 
 for `__proc'
  /usr/include/sys/siginfo.h:261: error: previous declaration 
 of `__proc'
  /usr/include/sys/siginfo.h:398: error: conflicting types 
 for `__fault'
  /usr/include/sys/siginfo.h:267: error: previous declaration 
 of `__fault'
  /usr/include/sys/siginfo.h:404: error: conflicting types 
 for `__file'
  /usr/include/sys/siginfo.h:273: error: previous declaration 
 of `__file'
  /usr/include/sys/siginfo.h:420: error: conflicting types 
 for `__prof'
  /usr/include/sys/siginfo.h:287: error: previous declaration 
 of `__prof'
  /usr/include/sys/siginfo.h:424: error: conflicting types 
 for `__rctl'
  /usr/include/sys/siginfo.h:291: error: previous declaration 
 of `__rctl'
  /usr/include/sys/siginfo.h:426: error: parse error before '}' token
  /usr/include/sys/siginfo.h:428: error: parse error before '}' token
  /usr/include/sys/siginfo.h:432: error: parse error before 
 k_siginfo_t
  /usr/include/sys/siginfo.h:437: error: parse error before '}' token
  In file included from /usr/include/sys/procset.h:24,
   from /usr/include/sys/wait.h:25,
   from /usr/include/stdlib.h:22,
   from snmp_client.c:47:
  /usr/include/sys/signal.h:85: error: parse error before siginfo_t
  In file included from /usr/include

Net-SNMP 5.4 Solaris 9-10 build problems

2007-05-16 Thread Mark Khan
Hello:
 I have a couple of problems as follows:
On Solaris 9
I am trying to compile/build net-snmp version 5.4 so I do not have to set the 
LD_LIBRARY_PATH to include /usr/local/lib and /usr/local/ssl/lib. I have tried 
using the configure options of --with-ldflags=-L/usr/local/lib along with the 
--with-libs=-L/usr/local/lib, but nothing seems to work. What am I doing wrong? 
How do I compile this software so when snmpd starts it searchs these libraries?
 
On Solaris 10
On Solaris 10, I manually set the LD_LIBRARY_PATH to /usr/local/lib and 
/usr/local/ssl/lib. I can run the configure program without any errors. 
However, when I execute the first make command I get the following error:
solaris-install-srv# make
gcc -E   -Iinclude -I./include 
-I./agent/mibgroup -I. -I.   -DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin 
  -x c ./sedscript.in | egrep '^s[/#]' | sed 's/REMOVEME//g;s# 
*/#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;'  sedscript
echo 's#DATADIR#/usr/local/share#g'  sedscript
echo 's#LIBDIR#/usr/local/lib#g'  sedscript
echo 's#BINDIR#/usr/local/bin#g'  sedscript
echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g'  sedscript
echo 's#SYSCONFDIR#/usr/local/etc#g'  sedscript
/usr/bin/sed -f sedscript ./EXAMPLE.conf.def  EXAMPLE.conf
making all in /mak/net-snmp-5.4/snmplib
/bin/sh ../libtool --mode=compile gcc -I../include -I.  -I../snmplib 
-I/usr/local/ssl/include -g -O2 -Usolaris2 -Dsolaris2=solaris2 -c -o 
snmp_client.lo snmp_client.c
mkdir .libs
 gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -g -O2 -Usolaris2 
-Dsolaris2=solaris2 -c snmp_client.c  -fPIC -DPIC -o .libs/snmp_client.o
In file included from /usr/include/sys/wait.h:24,
 from /usr/include/stdlib.h:22,
 from snmp_client.c:47:
/usr/include/sys/siginfo.h:259: error: parse error before ctid_t
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before ctid_t
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before k_siginfo_t
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
 from /usr/include/sys/wait.h:25,
 from /usr/include/stdlib.h:22,
 from snmp_client.c:47:
/usr/include/sys/signal.h:85: error: parse error before siginfo_t
In file included from /usr/include/stdlib.h:22,
 from snmp_client.c:47:
/usr/include/sys/wait.h:86: error: parse error before siginfo_t
*** Error code 1
make: Fatal error: Command failed for target `snmp_client.lo'
Current working directory /mak/net-snmp-5.4/snmplib
*** Error code 1
The following command caused the error:
if test snmplib  agent apps man local mibs != ; then \
it=snmplib  agent apps man local mibs ; \
for i in $it ; do \
echo making all in `pwd`/$i; \
( cd $i ; make ) ; \
if test $? != 0 ; then \
exit 1 ; \
fi  \
done \
fi
make: Fatal error: Command failed for target `subdirs'
Does anyone have any suggestion as to how I can fix this problem or what I 
should be looking for?
 
Respectfully;
   Mark K.



---
This e-mail is intended for the addressee shown.
It contains information that is confidential and
protected from disclosure. Any review, dissemination
or use of this transmission or its contents by persons
or unauthorized employees of the intended organizations
is strictly prohibited.

The contents of this email do not necessarily represent
the views or policies of PSCU Financial Services.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.