Blame README.irix

Packit Service b38f0b
Some notes for the IRIX port
Packit Service b38f0b
============================
Packit Service b38f0b
Packit Service b38f0b
1. Compiling
Packit Service b38f0b
------------
Packit Service b38f0b
Packit Service b38f0b
net-snmp 5.3.1 and later have been compiled successfully on IRIX 6.5 using the 
Packit Service b38f0b
MIPSpro C compiler 7.4.4m in C99 mode:
Packit Service b38f0b
Packit Service b38f0b
	CC=c99 ./configure && make && make install
Packit Service b38f0b
Packit Service b38f0b
Please note that the "host" module doesn't compile on IRIX, so you *cannot*
Packit Service b38f0b
configure with "--with-mib-modules=host".
Packit Service b38f0b
Packit Service b38f0b
Compiling with gcc may be possible, but is unsupported at this point in time
Packit Service b38f0b
due to difficulties with the IRIX system headers. Brent Bice has reported
Packit Service b38f0b
a successful build of net-snmp 5.4 with gcc 3.4.6 on a IP30 machine using:
Packit Service b38f0b
Packit Service b38f0b
	CFLAGS="-D_PAGESZ=16384 -D_MIPS3_ADDRSPACE -DIP30 -DR10000 -DMP \
Packit Service b38f0b
	        -DCELL_PREPARE -DBHV_PREPARE" ./configure ...
Packit Service b38f0b
Packit Service b38f0b
See http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi/0620/bks/\
Packit Service b38f0b
SGI_Developer/books/DevDriver_PG/sgi_html/ch10.html and 
Packit Service b38f0b
/var/sysgen/Makefile.kernio .
Packit Service b38f0b
Packit Service b38f0b
2. CPU stats
Packit Service b38f0b
------------
Packit Service b38f0b
Packit Service b38f0b
net-snmp 5.4.1 and later reports CPU statistics on IRIX 6.x by default using 
Packit Service b38f0b
the hardware/cpu/cpu_sysinfo module. There's also an alternative implementation:
Packit Service b38f0b
hardware/cpu/cpu_pcp. For full discussion and build instructions for cpu_pcp
Packit Service b38f0b
see Patch #1675869: 
Packit Service b38f0b
Packit Service b38f0b
  http://sf.net/support/tracker.php?aid=1675869
Packit Service b38f0b
Packit Service b38f0b
Packit Service b38f0b
3. Known Issues
Packit Service b38f0b
---------------
Packit Service b38f0b
Packit Service b38f0b
Accessing certain MIB objects on IRIX64 machines (i.e. when running a 64-bit 
Packit Service b38f0b
kernel will trigger nlist/klookup errors. The agent will not return proper 
Packit Service b38f0b
values for the affected MIB objects (e.g. tcpConnTable, udpTable). 
Packit Service b38f0b
Starting from net-snmp 5.4, you can avoid nlist altogether (recommended for 
Packit Service b38f0b
IRIX64) by using
Packit Service b38f0b
Packit Service b38f0b
   ./configure --without-kmem-usage ...
Packit Service b38f0b
Packit Service b38f0b
Packit Service b38f0b
3. Feedback
Packit Service b38f0b
-----------
Packit Service b38f0b
Packit Service b38f0b
Please also see README and PORTING.
Packit Service b38f0b
Packit Service b38f0b
If you have questions, additional insights or (even better) patches regarding
Packit Service b38f0b
net-snmp on IRIX, please refer to the net-snmp mailing lists (see 
Packit Service b38f0b
http://www.net-snmp.org/lists).