Johannes Obermayr
2010-May-19 17:55 UTC
[Nouveau] Cannot compile origin/for-airlied against kernel 2.6.34
Hi, As summary says I cannot compile latest origin/for-airlied against kernel 2.6.34 on openSUSE. My archive: git archive origin/for-airlied drivers/gpu/ include/drm/ --prefix=drm-all/ | bzip2 >../drm-nouveau.tar.bz2 (So all necessary things should be in it ...) If you need further information: https://build.opensuse.org/package/show?package=drm-nouveau&project=home%3Ajobermayr (I think the website is self-explaining ...) Thanks. Johannes |CC [M] /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.o /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.c:215: error: conflicting types for 'drm_do_probe_ddc_edid' /usr/src/linux-2.6.34-34/include/drm/drm_crtc.h:669: note: previous declaration of 'drm_do_probe_ddc_edid' was here /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.c: In function 'drm_mode_std': /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.c:889: error: implicit declaration of function 'drm_gtf_mode_complex' /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.c:894: warning: assignment makes pointer from integer without a cast make[4]: *** [/usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.o] Error 1 make[3]: *** [/usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm] Error 2 make[2]: *** [_module_/usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 make: Leaving directory `/usr/src/linux-2.6.34-34-obj/i386/default'| -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20100519/9b55ac90/attachment.htm>
Johannes Obermayr
2010-May-19 18:16 UTC
[Nouveau] Cannot compile origin/for-airlied against kernel 2.6.34
Am 19.05.2010 19:55, schrieb Johannes Obermayr:> Hi, > > As summary says I cannot compile latest origin/for-airlied against > kernel 2.6.34 on openSUSE. > > My archive: > git archive origin/for-airlied drivers/gpu/ include/drm/ > --prefix=drm-all/ | bzip2 >../drm-nouveau.tar.bz2 > (So all necessary things should be in it ...) > > If you need further information: > https://build.opensuse.org/package/show?package=drm-nouveau&project=home%3Ajobermayr > (I think the website is self-explaining ...) > > Thanks. > Johannes > > |CC [M] /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.o > /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.c:215: error: conflicting types for 'drm_do_probe_ddc_edid' > /usr/src/linux-2.6.34-34/include/drm/drm_crtc.h:669: note: previous declaration of 'drm_do_probe_ddc_edid' was here > /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.c: In function 'drm_mode_std': > /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.c:889: error: implicit declaration of function 'drm_gtf_mode_complex' > /usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.c:894: warning: assignment makes pointer from integer without a cast > make[4]: *** [/usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm/drm_edid.o] Error 1 > make[3]: *** [/usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default/drm] Error 2 > make[2]: *** [_module_/usr/src/packages/BUILD/drm-all-20100519/drm-all/obj/default] Error 2 > make[1]: *** [sub-make] Error 2 > make: *** [all] Error 2 > make: Leaving directory `/usr/src/linux-2.6.34-34-obj/i386/default'| >I could fix above build failure - it was a wrong includedir (sorry). But now I have this error: |CC [M] /usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.o /usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.c: In function 'intelfb_create': /usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.c:131: error: 'struct fb_info' has no member named 'apertures' /usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.c:131: error: implicit declaration of function 'alloc_apertures' /usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.c:132: error: 'struct fb_info' has no member named 'apertures' /usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.c:136: error: 'struct fb_info' has no member named 'apertures' /usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.c:138: error: 'struct fb_info' has no member named 'apertures' /usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.c:140: error: 'struct fb_info' has no member named 'apertures' make[5]: *** [/usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915/intel_fb.o] Error 1 make[4]: *** [/usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm/i915] Error 2 make[3]: *** [/usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default/drm] Error 2 make[2]: *** [_module_/usr/src/packages/BUILD/drm-nouveau-20100519/drm-all/obj/default] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 make: Leaving directory `/usr/src/linux-2.6.34-34-obj/i386/default'| -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20100519/23a01b31/attachment.html>
Seemingly Similar Threads
- [PATCH 1/3] fbmem: fix aperture overlapping check
- [PATCHv2 1/2] fbdev: allow passing more than one aperture for handoff
- [PATCH 1/3] drm/nouveau: include drm/drm_edid.h only where needed
- [PATCH] drm/nouveau: include drm/drm_edid.h only where needed
- [PATCH] vga16fb: refuse to load in face of other driver controlling primary card