From owner-freebsd-ports@FreeBSD.ORG Sun Mar 12 02:53:21 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 3800016A604 for ; Sun, 12 Mar 2006 02:53:21 +0000 (GMT) (envelope-from freebsd@troback.com) Received: from devil.troback.com (c-195-216-040-156.cust.thalamus.net [195.216.40.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF6CA43F01 for ; Sat, 11 Mar 2006 22:57:10 +0000 (GMT) (envelope-from freebsd@troback.com) Received: from devil.troback.com (localhost.troback.com [127.0.0.1]) by devil.troback.com (Postfix) with ESMTP id 0071011465; Sat, 11 Mar 2006 23:56:20 +0100 (CET) Date: Sat, 11 Mar 2006 23:56:20 +0100 From: Anders Troback To: FreeBSD Ports Message-ID: <20060311235620.6d33ca8e@devil.troback.com> In-Reply-To: <441337A8.5080207@vonostingroup.com> References: <20060310203735.55e84734@devil.troback.com> <20060311021108.GA2099@xor.obsecurity.org> <20060311145607.5a502940@devil.troback.com> <441337A8.5080207@vonostingroup.com> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Frank Laszlo Subject: Re: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2006 02:53:21 -0000 On Sat, 11 Mar 2006 15:48:40 -0500 Frank Laszlo wrote: > Anders Troback wrote: > > On Fri, 10 Mar 2006 21:11:09 -0500 > > Kris Kennaway wrote: > > > > > >> On Fri, Mar 10, 2006 at 08:37:35PM +0100, Anders Troback wrote: > >> > >>> Hi list! > >>> > >>> I'm trying to compile a app that have a include of > >>> ! > >>> > >>> How do I cope with that? Any ideas? > >>> > >> Figure out what Linux kernel interface it uses from that header, > >> figure out what the corresponding FreeBSD version is, then port the > >> code from Linux to FreeBSD interface. > >> > >> Kris > >> > > > > Was locking for a shortcut here like "use this header instead" or > > something;-) > > > > Thanks! > > > > > > \\troback > > _______________________________________________ > > 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" > remove the include line and see where it errors, pasting it here may > be help,as other developers may be able to point you in the right > direction. > > -Frank Good idea, thanks Frank! With the include line removed compilation stops on row 400 with this error: storage size of 's_info' isn't known Line 400 in the .c file are: struct sysinfo s_info; All help appreciated! \\troback