Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Build failure due to DRM intel i915
Hi,
I upgraded CVS this morning (3 hours ago), built tools and kernel.
When building Kernl Modules, I get this failure:
# compile i915drmkms/intel_dsi.o
/usr/src/obj/tooldir.NetBSD-8.99.23-amd64/bin/x86_64--netbsd-gcc -O2
-march=core2 -g -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unused-parameter -Wno-sign-compare -Werror -Wno-shadow
-ffreestanding -fno-strict-aliasing -Wno-pointer-sign -mno-red-zone
-mno-mmx -mno-sse -mno-avx -msoft-float -mcmodel=kernel
-fno-omit-frame-pointer -I/usr/src/common/include
--sysroot=/usr/src/obj/destdir.amd64
-I/usr/src/sys/external/bsd/drm2/include
-I/usr/src/sys/external/bsd/common/include
-I/usr/src/sys/external/bsd/drm2/dist/include
-I/usr/src/sys/external/bsd/drm2/dist/include/drm
-I/usr/src/sys/external/bsd/drm2/dist/uapi
-I/usr/src/sys/external/bsd/drm2/dist -D__KERNEL__
-DCONFIG_BACKLIGHT_CLASS_DEVICE=0
-DCONFIG_BACKLIGHT_CLASS_DEVICE_MODULE=0 -DCONFIG_DRM_FBDEV_EMULATION=0
-DCONFIG_FB=0 -DDIAGNOSTIC -I/usr/src/sys/sys/modules/drmkms
-I/usr/src/sys/external/bsd/drm2/i915drm
-I/usr/src/sys/external/bsd/drm2/dist/drm/i915 -DCONFIG_DRM_I915_FBDEV=1
-DCONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=0 -DNACPICA=1 -DNVGA=1
-I/usr/src/common/include -nostdinc -I.
-I/usr/src/sys/modules/i915drmkms -isystem /usr/src/sys -isystem
/usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL
-D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR -c
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c
In file included from
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:42:0:
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.h:107:23: error:
field 'base' has incomplete type
struct mipi_dsi_host base;
^~~~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:97:25: error:
'struct mipi_dsi_msg' declared inside parameter list will not be visible
outside of this definition or declaration [-Werror]
const struct mipi_dsi_msg *msg)
^~~~~~~~~~~~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c: In function
'intel_dsi_host_transfer':
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:103:25: error:
storage size of 'packet' isn't known
struct mipi_dsi_packet packet;
^~~~~~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:108:8: error:
implicit declaration of function 'mipi_dsi_create_packet'
[-Werror=implicit-function-declaration]
ret = mipi_dsi_create_packet(&packet, msg);
^~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:115:9: error:
dereferencing pointer to incomplete type 'const struct mipi_dsi_msg'
if (msg->flags & MIPI_DSI_MSG_USE_LPM) {
^~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:115:19: error:
'MIPI_DSI_MSG_USE_LPM' undeclared (first use in this function)
if (msg->flags & MIPI_DSI_MSG_USE_LPM) {
^~~~~~~~~~~~~~~~~~~~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:115:19: note:
each undeclared identifier is reported only once for each function it
appears in
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:105:21: error:
variable 'data' set but not used [-Werror=unused-but-set-variable]
const u8 *header, *data;
^~~~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:103:25: error:
unused variable 'packet' [-Werror=unused-variable]
struct mipi_dsi_packet packet;
^~~~~~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c: At top level:
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:172:21: error:
variable 'intel_dsi_host_ops' has initializer but incomplete type
static const struct mipi_dsi_host_ops intel_dsi_host_ops = {
^~~~~~~~~~~~~~~~~
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:173:2: error:
unknown field 'attach' specified in initializer
.attach = intel_dsi_host_attach,
^
/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c:173:12: error:
excess elements in struct initializer [-Werror]
.attach = intel_dsi_host_attach,
I suppose this is due to the recent import!
cheers,
Riccardo
Home |
Main Index |
Thread Index |
Old Index