Unable to build drm-fbsd12.0-kmod

Stephen Montgomery-Smith <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
I just updated to the latest stable version of FreeBSD 12.  Now when I 
try to build drm-fbsd12.0-kmod I get a build error, part of which is 
reproduced below.  Is there any help for me?


--- linux_i2c.o ---
cc  -O2 -pipe -fno-strict-aliasing -include 
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/drivers/gpu/drm/drm_os_config.h 
'-DKBUILD_MODNAME="linuxkpi_gplv2"'  -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc 
-I/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/include 
-I/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/linuxkpi/dummy/include 
-I/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/linuxkpi/gplv2/include 
-I/usr/src/sys/compat/linuxkpi/common/include -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer 
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include 
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include   -MD 
-MF.depend.linux_i2c.o -MTlinux_i2c.o -mcmodel=kernel -mno-red-zone 
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wcast-qual -Wundef -Wno--- linux_backlight.o ---
In file included from 
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/linuxkpi/gplv2/src/linux_backlight.c:13:
In file included from 
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/linuxkpi/gplv2/include/linux/backlight.h:12:
In file included from 
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/linuxkpi/gplv2/include/linux/fb.h:4:
In file included from 
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/linuxkpi/gplv2/include/uapi/linux/fb.h:5:
In file included from 
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/linuxkpi/gplv2/include/linux/i2c.h:9:
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-fa1387d/linuxkpi/gplv2/include/linux/of.h:51:1: 
error: expected identifier or '('
of_node_to_nid(struct device_node *device)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/device.h:559:30: note: 
expanded from macro 'of_node_to_nid'
#define of_node_to_nid(node) -1
                              ^
1 error generated.

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.