Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!vixen.cso.uiuc.edu!newsfeed.internetmci.com!in3.uu.net!frmug.fr.net!itesec!francenet.fr!usenet From: Gildas Perrot <perrot@francenet.fr> Newsgroups: comp.unix.bsd.bsdi.misc,comp.lang.perl.misc,comp.dcom.sys.cisco Subject: Compiling cmu-snmp 2.1.2 on BSD/OS 2.1 ? Date: 14 Oct 1996 14:23:34 +0200 Organization: Francenet -- Paris, France Lines: 67 Sender: perrot@epiphore.francenet.fr Message-ID: <rdhgnxivjt.fsf@epiphore.francenet.fr> NNTP-Posting-Host: epiphore_old.francenet.fr X-Face: '%)H7X3>"mU[aaPz3aZ`^e{*DV1&W;+P-Wx*Yk)Ah[e(-AO&EB\D.gq2y{kH73Q29}_A4H,eykdf!9dj[m\gwFgZOTt?=7gI+RBN,I({A32-MyZrmtrD%8*L/boGS0,+Lj$H|@ X-Newsreader: Gnus v5.2.25/XEmacs 19.14 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5120 comp.lang.perl.misc:43727 comp.dcom.sys.cisco:43704 Hi everybody, I tried to install cmu-snmp 2.1.2 on BSD/OS 2.1. First I had to do the following modifications : snmplib/md5.c : #define LOWBYTEFIRST TRUE agent/snmpd.c : gettimeofday(nvp) => gettimeofday(nvp, NULL) agent/snmp_vars.c : #include <sys/vm.h> => #include <vm/vm.h> I still have a problem during 'make all install' : In file included from snmp_vars.c:41: /usr/include/machine/pte.h:54: redefinition of `struct pde' /usr/include/machine/pte.h:66: redefinition of `struct pte' In file included from snmp_vars.c:48: /usr/include/netinet/in_pcb.h:58: field `inp_ip' has incomplete type In file included from snmp_vars.c:89: ../snmplib/party.h:107: warning: data definition lacks type or storage class In file included from snmp_vars.c:90: ../snmplib/context.h:74: warning: data definition lacks type or storage class In file included from snmp_vars.c:91: ../snmplib/acl.h:58: warning: data definition lacks type or storage class In file included from snmp_vars.c:92: ../snmplib/view.h:57: warning: data definition lacks type or storage class snmp_vars.c:528: `var_proces' undeclared, outside of functions snmp_vars.c: In function var_hosttimetab: snmp_vars.c:1015: invalid use of undefined type `struct ether_addr' snmp_vars.c: In function writeVersion: snmp_vars.c:1173: warning: argument #2: argument passing between incompatible pointer types snmp_vars.c: In function writeSystem: snmp_vars.c:1214: warning: argument #2: argument passing between incompatible pointer types snmp_vars.c:1217: warning: argument #2: argument passing between incompatible pointer types snmp_vars.c:1220: warning: argument #2: argument passing between incompatible pointer types snmp_vars.c:1223: warning: argument #2: argument passing between incompatible pointer types snmp_vars.c: In function var_ip: snmp_vars.c:1487: `i' undeclared (first use this function) snmp_vars.c:1487: (Each undeclared identifier is reported only once snmp_vars.c:1487: for each function it appears in.) snmp_vars.c: In function TCP_Count_Connections: snmp_vars.c:1987: warning: `TCP_Count_Connections' was declared implicitly `extern' and later `static' snmp_vars.c: In function TCP_Scan_Init: snmp_vars.c:2031: warning: `TCP_Scan_Init' was declared implicitly `extern' and later `static' snmp_vars.c: In function TCP_Scan_Next: snmp_vars.c:2037: warning: `TCP_Scan_Next' was declared implicitly `extern' and later `static' snmp_vars.c: In function ARP_Scan_Init: snmp_vars.c:2063: warning: `ARP_Scan_Init' was declared implicitly `extern' and later `static' snmp_vars.c:2068: invalid use of undefined type `struct arptab' snmp_vars.c:2071: invalid use of undefined type `struct arptab' snmp_vars.c: In function ARP_Scan_Next: snmp_vars.c:2076: warning: `ARP_Scan_Next' was declared implicitly `extern' and later `static' snmp_vars.c:2082: invalid use of undefined type `struct arptab' snmp_vars.c:2082: dereferencing pointer to incomplete type snmp_vars.c:2083: dereferencing pointer to incomplete type snmp_vars.c:2084: dereferencing pointer to incomplete type snmp_vars.c: In function Interface_Scan_By_Index: snmp_vars.c:2255: warning: `Interface_Scan_By_Index' was declared implicitly `extern' and later `static' snmp_vars.c: In function Interface_Scan_Get_Count: snmp_vars.c:2285: warning: `Interface_Scan_Get_Count' was declared implicitly `extern' and later `static' snmp_vars.c: In function Interface_Get_Ether_By_Index: snmp_vars.c:2302: warning: `Interface_Get_Ether_By_Index' was declared implicitly `extern' and later `static' *** Error code 1 Any idea about this problem ? Thanks in advance for your help. Gildas. -- Gildas PERROT, perrot@francenet.fr __o FranceNet, 28 rue Desaix, 75015 Paris ---_ \<,_ http://www.francenet.fr ---- (_)/ (_)