Date: Fri, 4 May 2012 09:12:49 +0400 From: Artem Tuchinsky <tuchinsky@gmail.com> To: Erich Dollansky <erichfreebsdlist@ovitrap.com> Cc: freebsd-current@freebsd.org Subject: Re: X220 and all.14.5.patch Message-ID: <CAMfZModHxLzEGvbS44rHT9Cy44QduRVn5ywSbetCUt57ktLPuA@mail.gmail.com> In-Reply-To: <201205041029.24565.erichfreebsdlist@ovitrap.com> References: <201205041029.24565.erichfreebsdlist@ovitrap.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <erichfreebsdlist@ovitrap.com>: > 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 <tuchinsky@gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMfZModHxLzEGvbS44rHT9Cy44QduRVn5ywSbetCUt57ktLPuA>