From owner-freebsd-ports@FreeBSD.ORG Tue Jun 15 18:22:20 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FEC016A4CE; Tue, 15 Jun 2004 18:22:20 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01CAC43D45; Tue, 15 Jun 2004 18:22:19 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i5FIGhvZ039439; Tue, 15 Jun 2004 20:16:43 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <010e01c45304$ed1c5c90$471b3dd4@dual> From: "Willem Jan Withagen" To: "Willem Jan Withagen" References: <023d01c45161$8f486360$471b3dd4@dual><40CCA3CB.6090808@anduin.net><02b001c4517d$46da25c0$471b3dd4@dual><033301c45198$ddd10b40$471b3dd4@dual> <058901c4525a$105cfbc0$471b3dd4@dual> Date: Tue, 15 Jun 2004 20:16:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 cc: freebsd-amd64@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: anybody using net-snmp on AMD64 or other 64bit platforms?? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 18:22:20 -0000 For those really desperate to run snmpd on 64bit, there are some very crude patches. Most likely not for the faint of hart, but everything compiles and runs at my end. They need more work to be integrated into the port, since I have not worked out the int <> long <> pointer stuff. Which really creates issues here. None the less, if you want: withagen.dyndns.org:/FreeBSD/net-snmp.64bit.diff Tell me if it breaks. --WjW ----- Original Message ----- From: "Willem Jan Withagen" To: "Willem Jan Withagen" Cc: ; Sent: Monday, June 14, 2004 11:53 PM Subject: Re: anybody using net-snmp on AMD64 or other 64bit platforms?? > > I've got it more or less running, and snmpd is no longer crashing on me "yet". > > But I'm now getting wrong answers for the tcp/udp connections. But for > > established connections as well as open server ports.... > > > > Both netstat and snmpd do this by retreiving data with sysctl from the kernel. > > And where netstat has got its things right, snmpd seems to be really off. > > The most likely reason is that snmpd defines some structures by itself, but > now > > the question is which part is that??? > > It is now running to the part where I can do the things with it I'd like to use > it for.... > Just figure out a way of putting the changes back in in such a way that it'll > still work on 32bit. And get the maintainer to accept my fixes... > > But as far as I could tell, certain features (udp/tcptables) did not work on > i386 either. > > --WjW > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >