From owner-freebsd-current@freebsd.org Tue Mar 8 02:51:38 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81FACAC2D80 for ; Tue, 8 Mar 2016 02:51:38 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3EA0A2C9 for ; Tue, 8 Mar 2016 02:51:38 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-vk0-x236.google.com with SMTP id c3so2461787vkb.3 for ; Mon, 07 Mar 2016 18:51:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=bBNrdobqjH5ZbxZovWGmS5IG/9zIOfvaicQaAMmvxiQ=; b=baQh4NRRSOY1j2TuVdXB7tPQWi5861DuPNpzrAgcjYmaHq5a9WiF0oo4G3rkXQCpAJ dGuxcfynTLJYT0uXRDgOo794+sLQdS5LcHcq4DIMYDZHp/1Vn72y1EjBGJY/esHY1Cms QE/IiK1lh/ILK20H9mAT/TDHeBFyZT/zO3qSxz/HZmnI523zFE8JgNBx1pIOilPF4EAq Mdu+pb1exzoufRAZUBjALD8NRtla8FXL7pBaJ983SBgY7w4yzSlmkmKqAmjkr5cPgRoa nH5eHb+N9ADuxhT8SOZ7QfiUYlqO7BB2ZBI7hh7ekTzGYSUaY9fhsYVHWC7YTK+ZUcMX NMoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=bBNrdobqjH5ZbxZovWGmS5IG/9zIOfvaicQaAMmvxiQ=; b=WKA3Nnmi84syWA84/ZjiycizF0XclfhyWXS+OQlE1mJS1X7x0Vdny1kec7xTvHMfP4 uTFf6qA+6uuhULS03e9vxScxwbkA4HsF3SI/2V9H1jkEpuGQeNV61asFIftvGp7gwVC/ B29CpnSFQUJ+YqGhY9qvblcXsOn73bVT7iW25XJerDE9ZRT9N5HxoxJsA3RpzGHlZjl9 LlSJt5LaBTytPAk5O7vkDZ4ZNdM/18iEJCKSK1RxcoW7BZnxZMUdk30A8vr9TslsWZLM tFBEMbnGv5Nv4E4/hFddlWiiZYFFYrSqSOc33tco00lPcfdlEwj4DEcJPAvic2mCiykh lXNg== X-Gm-Message-State: AD7BkJLeEcoqO3/oGDWjrEmqNz87friSmIud3JVmY3Nico+eX/qaBCqyamIOJVrfXNqUU5USLulmr3/taYL6aQ== MIME-Version: 1.0 X-Received: by 10.31.1.138 with SMTP id 132mr10052536vkb.140.1457405497286; Mon, 07 Mar 2016 18:51:37 -0800 (PST) Received: by 10.31.194.194 with HTTP; Mon, 7 Mar 2016 18:51:37 -0800 (PST) In-Reply-To: <7d93c469f2cbf2edd079c3e0bc7e0f58@ultimatedns.net> References: <7d93c469f2cbf2edd079c3e0bc7e0f58@ultimatedns.net> Date: Mon, 7 Mar 2016 21:51:37 -0500 Message-ID: Subject: Re: error: unknown type name 'd_thread_t' From: Ultima To: Chris H Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 02:51:38 -0000 Hello chris, d_thread_t was a compatible shim to support FreeBSD 4. It was removed in current some time ago, changing to struct thread should fix this error. Ultima On Mon, Mar 7, 2016 at 8:05 PM, Chris H wrote: > Greetings, all. > Apologies in advance, if this is better suited for > freebsd-hackers@. But given this is only relevant to CURRENT, > I hoped it would be OK. > > OK. I'm attempting to build an i386 development box on -CURRENT. > I'm stuck using a legacy nvidia card (NV-34). Yea, I know. But > that's what I have. Anyway, that necessitates my maintaining a > local copy of the now defunct x11/nvidia-driver-173 port. > I've cobbled/refined all the necessary patches; save one. > Which is what beings me here. It appears that the d_thread_t > compatibility shim provided in 5.0 was dumped in r277897. > Sadly, as a result I receive the following, when attempting > to build the port (in spite of having COMPAT_FREEBSD5 built > in to my custom kernel): > > > /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs > d.h:459:68: error: unknown type name 'd_thread_t' > int nvidia_handle_ioctl (struct cdev *, u_long, caddr_t, int, > d_thread_t > *) > ; > ^ > > /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs > d.h:463:46: error: unknown type name 'd_thread_t' > int nvidia_open_ctl (struct cdev *, d_thread_t *); > ^ > > /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs > d.h:464:69: error: unknown type name 'd_thread_t' > int nvidia_open_dev (struct nvidia_softc *, struct cdev *, > d_thread_t > * > ); > ^ > > /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs > d.h:465:46: error: unknown type name 'd_thread_t' > int nvidia_close_ctl (struct cdev *, d_thread_t *); > ^ > > /usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.39/src/nv-freebs > d.h:466:69: error: unknown type name 'd_thread_t' > int nvidia_close_dev (struct nvidia_softc *, struct cdev *, > d_thread_t > * > ); > > Is there any way around this? > > Thanks for any, and all help with this! > > --Chris > > -- > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >