From owner-freebsd-current@FreeBSD.ORG Fri May 4 05:12:49 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED665106566C for ; Fri, 4 May 2012 05:12:49 +0000 (UTC) (envelope-from tuchinsky@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B325E8FC0C for ; Fri, 4 May 2012 05:12:49 +0000 (UTC) Received: by obcni5 with SMTP id ni5so4422551obc.13 for ; Thu, 03 May 2012 22:12:49 -0700 (PDT) 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:content-type:content-transfer-encoding; bh=vXT97JbkWYnb8QGDGRzJ1L52JUn2YQV5OJVpCaHCPEE=; b=GUTT/U9QWkOgdnROc6TKWZ5LAOgY75INrrBBtyohixWY6BDqEFXMy+k8stsuRaKjng vbsHrPwz28kQ/o6HciQJlP0WUL1iBhBTmfGCeimjUTYCxj3jR0Eyqs/hryt3v7xYaA6E JwcunvCiv20/GQHApDVHsRtdphheCuGYmkb/0k1Y93gnQ1yt+6jehsPkPtRWVVjcPDVq urg0ynJjwgiGUwqOY/eIeVVnoRbsKcrKSf8mUwiDh3VoHULaMeU8sc8mCVk7oyd8OWpD CHVR57S5bHqJMkrthfnPGfKb1ck2iKy9q7jaGOz48QZRs1kf3W+BcSVAsppWoWpPS93m gEgA== MIME-Version: 1.0 Received: by 10.60.14.136 with SMTP id p8mr6391933oec.68.1336108369068; Thu, 03 May 2012 22:12:49 -0700 (PDT) Received: by 10.60.64.69 with HTTP; Thu, 3 May 2012 22:12:49 -0700 (PDT) In-Reply-To: <201205041029.24565.erichfreebsdlist@ovitrap.com> References: <201205041029.24565.erichfreebsdlist@ovitrap.com> Date: Fri, 4 May 2012 09:12:49 +0400 Message-ID: From: Artem Tuchinsky To: Erich Dollansky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: X220 and all.14.5.patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 04 May 2012 05:12:50 -0000 it's russian, not greek :) and this is my posts. Try to remove /usr/src and checkout clean source before applying patch, it helped me. And check FAQ, paragraphs 7 and 8 - http://wiki.freebsd.org/Intel_GPU sorry for my bad english 2012/5/4 Erich Dollansky : > Hi, > > I just applied this patch and tried to compile getting this error: > > /usr/src/sys/dev/drm/i915_mem.c:216: warning: no previous prototype for '= i915_mem_release' [-Wmissing-prototypes] > /usr/src/sys/dev/drm/i915_mem.c:246: warning: no previous prototype for '= i915_mem_takedown' [-Wmissing-prototypes] > /usr/src/sys/dev/drm/i915_mem.c: In function 'get_heap': > /usr/src/sys/dev/drm/i915_mem.c:266: error: 'drm_i915_private_t' has no m= ember named 'agp_heap' > /usr/src/sys/dev/drm/i915_mem.c: At top level: > /usr/src/sys/dev/drm/i915_mem.c:276: warning: no previous prototype for '= i915_mem_alloc' [-Wmissing-prototypes] > /usr/src/sys/dev/drm/i915_mem.c:314: warning: no previous prototype for '= i915_mem_free' [-Wmissing-prototypes] > /usr/src/sys/dev/drm/i915_mem.c:342: warning: no previous prototype for '= i915_mem_init_heap' [-Wmissing-prototypes] > /usr/src/sys/dev/drm/i915_mem.c:366: warning: no previous prototype for '= i915_mem_destroy_heap' [-Wmissing-prototypes] > *** [i915_mem.o] Error code 1 > > I found this: > > http://pastebin.com/ySPxJNUF > > and > > http://www.linux.org.ru/news/bsd/7658822/page6 > > which is a bit like Greek for me. > > It would be easy to fix the prototype errors. Does anybody know what agp_= heap is all about? > > The machine: > > FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Wed May = =C2=A02 06:59:48 WIT 2012 =C2=A0 =C2=A0 erich@X220.ovitrap.com:/usr/obj/usr= /src/sys/X220 =C2=A0amd64 > > Erich --=20 wBR, Tuchinsky Artem