evadot / drm-subtree

WIP drm drivers for FreeBSD
15 stars 9 forks source link

ld: error: undefined symbol: fbd_devclass #27

Open jsm222 opened 2 years ago

jsm222 commented 2 years ago

FYI

ld: error: undefined symbol: fbd_devclass
>>> referenced by aw_de2_drm.c
>>>               aw_de2_drm.o:(fbd_aw_de2_drm_driver_mod)
>>> referenced by rk_drm.c
>>>               rk_drm.o:(fbd_rk_drm_driver_mod)
*** [kernel.full] Error code 1

Caused by on src main: commit 9360510b167618987f2b552929fba2fa4cb4817b Author: John Baldwin jhb@FreeBSD.org Date: Tue Apr 26 11:31:11 2022 -0700

Remove unused fbd_devclass.

if reverted it builds and works but should probably be fixed in another way..

jrtc27 commented 1 year ago

The fix is to delete fbd_devclass's declarations, and uses in DRIVER_MODULE (making it take one fewer arguments).