summaryrefslogtreecommitdiff
path: root/README.irix
diff options
context:
space:
mode:
authorHideki Yamane <henrich@debian.org>2013-04-11 10:21:22 +0900
committerHideki Yamane <henrich@debian.org>2013-04-11 10:21:22 +0900
commite30beeedd5cbe6f72008c32122b3b8b617fd5ab2 (patch)
tree8bd5c28fc77a5a80d65cf70e2fd330b8af448c73 /README.irix
parent2ebfa94e6e1fe2b88bb061d26f20fef9c0b78536 (diff)
downloadpkg-net-snmp-e30beeedd5cbe6f72008c32122b3b8b617fd5ab2.tar.gz
Imported Upstream version 5.4.3~dfsgupstream/5.4.3_dfsg
Diffstat (limited to 'README.irix')
-rw-r--r--README.irix66
1 files changed, 66 insertions, 0 deletions
diff --git a/README.irix b/README.irix
new file mode 100644
index 0000000..79bf7ec
--- /dev/null
+++ b/README.irix
@@ -0,0 +1,66 @@
+Some notes for the IRIX port
+============================
+
+1. Compiling
+------------
+
+net-snmp 5.3.1 and later have been compiled successfully on IRIX 6.5 using the
+MIPSpro C compiler 7.4.4m in C99 mode:
+
+ CC=c99 ./configure && make && make install
+
+Please note that the "host" module doesn't compile on IRIX, so you *cannot*
+configure with "--with-mib-modules=host".
+
+Compiling with gcc may be possible, but is unsupported at this point in time
+due to difficulties with the IRIX system headers. Brent Bice has reported
+a successful build of net-snmp 5.4 with gcc 3.4.6 on a IP30 machine using:
+
+ CFLAGS="-D_PAGESZ=16384 -D_MIPS3_ADDRSPACE -DIP30 -DR10000 -DMP \
+ -DCELL_PREPARE -DBHV_PREPARE" ./configure ...
+
+See http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi/0620/bks/\
+SGI_Developer/books/DevDriver_PG/sgi_html/ch10.html and
+/var/sysgen/Makefile.kernio .
+
+2. CPU stats
+------------
+
+net-snmp 5.4.1 and later reports CPU statistics on IRIX 6.x by default using
+the hardware/cpu/cpu_sysinfo module. There's also an alternative implementation:
+hardware/cpu/cpu_pcp. For full discussion and build instructions for cpu_pcp
+see Patch #1675869:
+
+ http://sf.net/support/tracker.php?aid=1675869
+
+
+3. Perl
+-------
+
+When compiling with Perl support, it's recommended to specify
+
+ ./configure --enable-as-needed
+
+for proper libperl linking.
+
+
+4. Known Issues
+---------------
+
+Accessing certain MIB objects on IRIX64 machines (i.e. when running a 64-bit
+kernel will trigger nlist/klookup errors. The agent will not return proper
+values for the affected MIB objects (e.g. tcpConnTable, udpTable).
+Starting from net-snmp 5.4, you can avoid nlist altogether (recommended for
+IRIX64) by using
+
+ ./configure --without-kmem-usage ...
+
+
+5. Feedback
+-----------
+
+Please also see README and PORTING.
+
+If you have questions, additional insights or (even better) patches regarding
+net-snmp on IRIX, please refer to the net-snmp mailing lists (see
+http://www.net-snmp.org/lists).