Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure - amd64



I think the following patch will fix the problem - my build is still running.

Index: Makefile
===================================================================
RCS file: /cvsroot/src/sys/modules/i915drmkms/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    13 Nov 2014 16:37:39 -0000      1.7
+++ Makefile    21 Aug 2015 07:01:13 -0000
@@ -78,6 +78,7 @@ COPTS.intel_panel.c+= -Wno-shadow
 COPTS.intel_pm.c+=     -Wno-shadow

 CPPFLAGS+=             -DCONFIG_DRM_I915_FBDEV
+CPPFLAGS+=             -DCONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=0

 CPPFLAGS+=             -DNACPICA=1
 CPPFLAGS+=             -DNVGA=1


On Fri, 21 Aug 2015, Paul Goyette wrote:

With sources updated on 2015-08-21 at 01:49:45 UTC, a build with a clean $DESTDIR fails (while building i915_params.c) with

In file included from /build/netbsd-local/src/sys/external/bsd/drm2/dist/include/drm/drmP.h:45:0, from /build/netbsd-local/src/sys/external/bsd/drm2/dist/drm/i915/intel_bios.h:31, from /build/netbsd-local/src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h:47, from /build/netbsd-local/src/sys/external/bsd/drm2/dist/drm/i915/i915_params.c:27: /build/netbsd-local/src/sys/external/bsd/drm2/dist/drm/i915/i915_params.c:43:39: error: 'CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT' undeclared here (not in a function) .preliminary_hw_support = IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT),
                                      ^
/build/netbsd-local/src/sys/external/bsd/common/include/linux/kernel.h:44:29: note: in definition of macro 'IS_ENABLED'
#define IS_ENABLED(option) (option)
                            ^
*** [i915_params.o] Error code 1
nbmake[8]: stopped in /build/netbsd-local/src/sys/modules/i915drmkms
1 error




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index