From owner-freebsd-ports@FreeBSD.ORG Thu Jun 26 13:02:38 2003 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 332D937B401; Thu, 26 Jun 2003 13:02:38 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3AE643FDD; Thu, 26 Jun 2003 13:02:36 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h5QK2Fc18340; Thu, 26 Jun 2003 13:02:15 -0700 From: Kent Stewart To: Chris BeHanna , Michael Nottebrock , freebsd-ports@freebsd.org, kde@freebsd.org, sobomax@freebsd.org Date: Thu, 26 Jun 2003 13:02:15 -0700 User-Agent: KMail/1.5.2 References: <200306050939.03854.kstewart@owt.com> <200306052221.45627.michaelnottebrock@gmx.net> <200306260519.59674.behanna@zbzoom.net> In-Reply-To: <200306260519.59674.behanna@zbzoom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306261302.15086.kstewart@owt.com> Subject: Re: [kde-freebsd] KDE meta port build error 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: Thu, 26 Jun 2003 20:02:38 -0000 On Thursday 26 June 2003 02:19 am, Chris BeHanna wrote: > On Thursday 05 June 2003 16:21, Michael Nottebrock wrote: > > On Thursday 05 June 2003 21:49, Kent Stewart wrote: > > > > I have and if I move r->rid to the end of the argument list, it > > > > builds. I noticed that for 5.1, the argument list is changed to > > > > > > > > int hid_report_size(report_desc_t d, unsigned int id, enum hid_kind > > > > k); > > > > > > Miscopied this one it is > > > > > > int hid_report_size(report_desc_t d, enum hid_kind k, int id); > > > > Oh dear, it changed again... I wonder how anybody is supposed to be able > > to _use_ these headers if they change all the time like that. > > > > Anyway, I'm on a 4.8-STABLE system (__FreeBSD_version 480101) as well and > > it works right out of the box for me (I even cleaned out /usr/include and > > repopulated it from installworld to make sure I don't have junky headers > > in there), so I can really only shrug my shoulders for now. :-( > > I had the same problem for a long time. > > I finally grepped for hid_report_size in /usr/include/*.h, and > found an old, leftover libusb.h that had the old signature with the > pointer at the end. > > Blow this file away, and the build failure goes away. Doing as > Michael suggested and doing rm -rf /usr/include/*, followed by an > installworld, seems to be good practice. This was the problem on my machine that would not build sdl. I did a locate on a freshly installed 4.x and it didn't have a libusb.h. Removing the 2000+ ish header was causing the build to die and was not on current, freshly installed systems. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html