From owner-freebsd-ports@FreeBSD.ORG Sun Jun 13 18:59:24 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 C3A9116A4CE for ; Sun, 13 Jun 2004 18:59:24 +0000 (GMT) Received: from anduin.net (anduin.net [212.12.46.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8017643D2F for ; Sun, 13 Jun 2004 18:59:24 +0000 (GMT) (envelope-from ltning@anduin.net) Received: from mailnull by anduin.net with spam-scanned (Exim 4.34; FreeBSD) id 1BZaCH-000Fka-Eo for freebsd-ports@freebsd.org; Sun, 13 Jun 2004 20:59:23 +0200 Received: from [217.8.136.185] (helo=[192.168.1.10]) by anduin.net with esmtp (Exim 4.34; FreeBSD) id 1BZaBw-000FkG-4K; Sun, 13 Jun 2004 20:58:52 +0200 Message-ID: <40CCA3CB.6090808@anduin.net> Date: Sun, 13 Jun 2004 20:58:19 +0200 From: Eirik Oeverby User-Agent: Mozilla Thunderbird 0.6 (X11/20040504) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Willem Jan Withagen References: <023d01c45161$8f486360$471b3dd4@dual> In-Reply-To: <023d01c45161$8f486360$471b3dd4@dual> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on anduin.net X-Spam-Status: No, hits=0.0 required=7.5 tests=none autolearn=no version=2.63 X-Spam-Level: cc: freebsd-ports@freebsd.org cc: freebsd-amd64@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: Sun, 13 Jun 2004 18:59:24 -0000 Willem Jan Withagen wrote: > Reason I ask, is that it crashes with me at all kinds of places... > > I've started looking at the warnings from a regular make. > And in the process of tryin to fix those there are a lot of places where > typeconversions are really messed up. > > int, size_t, I32, function addresses and pointers are all intermixed. > And this of course will create all kinds unwanted effects.... > > Are there any suggestions as to enhance portability this way... > > eg. what kind of generic pointer type would one use to make shure > that pointers are the correct size on both architectures.... > > Or as a side questions: > Are there other snmp-daemons that run on 64bit platforms?? net-snmp won't compile here: /usr/bin/ld: /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a(perl.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a: could not read symbols: Bad value *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.1.1/perl/agent. If I try net-snmp4, it compiles, but the daemon dies whenever it's queried (by mrtg, for example). /Eirik > > --WjW > > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > >