Re: NET SNMP TEXT COMMANDS

Ajeet Gupta <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>Do you mean "make & install" ?
>Or did you actually use "make install" ?

Right it is make install


Did you run this as yourself, or as root?

I issued all the commands as root



What was the output of this command?
Did it produce any errors?

I had installed it from tar.gz file.

I am including output as follows..


-----------------------------------------------------------------------------------------------

 Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory
`/home/AJEET/Download/net-snmp-5.4.2.1/agent/helpers'
making installlibs in /home/AJEET/Download/net-snmp-5.4.2.1/agent/mibgroup
make[2]: Entering directory
`/home/AJEET/Download/net-snmp-5.4.2.1/agent/mibgroup'
make[2]: Leaving directory
`/home/AJEET/Download/net-snmp-5.4.2.1/agent/mibgroup'
/bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent
-I../agent/mibgroup -I../snmplib   -g -O2 -Ulinux -Dlinux=linux
-I/usr/include/rpm  -c -o mibgroup/host/hr_swinst.lo
mibgroup/host/hr_swinst.c
 gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
-Ulinux -Dlinux=linux -I/usr/include/rpm -c mibgroup/host/hr_swinst.c  -fPIC
-DPIC -o mibgroup/host/.libs/hr_swinst.o
mibgroup/host/hr_swinst.c: In function ‘init_hr_swinst’:
mibgroup/host/hr_swinst.c:210: warning: assignment makes pointer from
integer without a cast
mibgroup/host/hr_swinst.c: In function ‘var_hrswinst’:
mibgroup/host/hr_swinst.c:480: error: ‘int_32’ undeclared (first use in this
function)
mibgroup/host/hr_swinst.c:480: error: (Each undeclared identifier is
reported only once
mibgroup/host/hr_swinst.c:480: error: for each function it appears in.)
mibgroup/host/hr_swinst.c:480: error: ‘rpm_data’ undeclared (first use in
this function)
make[1]: *** [mibgroup/host/hr_swinst.lo] Error 1
make[1]: Leaving directory `/home/AJEET/Download/net-snmp-5.4.2.1/agent'
make: *** [installsubdirlibs] Error 1

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.