From owner-freebsd-hackers Thu Feb 22 07:28:19 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA25104 for hackers-outgoing; Thu, 22 Feb 1996 07:28:19 -0800 (PST) Received: from dtr.com ([204.119.17.52]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA24941 for ; Thu, 22 Feb 1996 07:26:52 -0800 (PST) From: bmk@dtr.com Received: (from bmk@localhost) by dtr.com (8.6.12/8.6.9) id HAA16230; Thu, 22 Feb 1996 07:21:09 -0800 Message-Id: <199602221521.HAA16230@dtr.com> Subject: Re: need help w/rpc stuff To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Thu, 22 Feb 1996 07:21:09 -0800 (PST) Cc: brantk@gatekeeper.atlas.com, hackers@freebsd.org In-Reply-To: <199602220146.MAA15423@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Feb 22, 96 12:16:17 pm Reply-To: bmk@dtr.com X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk > Brant Katkansky stands accused of saying: > ... > > I suspect that I need to add one or more additional includes, but I have > > no idea. BTW, this code compiles fine under SunOS. > Your header ordering is broken. SunOS must be shadow-including behind your > back (typical Sun braindamage). Thanks, that helps. I'm also having problems compiling some NFS stuff - it compiles and runs under SunOS (4.x and 5.x), SCO, dynix, and dynix/ptx. Unfortunately, there seems to be some structures in /usr/include/nfs/nfs.h which aren't implemented in FreeBSD. I can't be more specific right now, as the machine in question has been shut down for the rest of the morning for emergency A/C repairs in our machine room. So I guess I have two more questions: * Is userland NFS code from SunOS generally workable under BSD? * If so, are there any references to assist in porting? I might be able to post some code snippets I need help with, but the whole thing is under NDA, so I might not. Unfortunately, I can't get help from the guys that wrote it, since I'm porting to a platform that isn't supported by our engineering dep't. Nevertheless, I'd love to get this working. This is the first FreeBSD machine in our company (out of 100+ unix boxes), and I'd like to demonstrate that it's useful for more than NFS/mail/etc. Plus, it'd give the Linux fanatics something to think about... :)