| Summary: | Cannot compile kernel with drm-current-kmod installed? | ||
|---|---|---|---|
| Product: | Base System | Reporter: | mmatalka |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | --- | ||
| Version: | CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
Fixed this by updating the drm-current-kmod port and then recompiling. |
I'm not sure exactly what's happening but it looks like I cannot compile the latest source because I also do not have the latest drm-current-kmod source, but I believe I cannot install the latest drm-current-kmod until I have compiled the latest kernel. Is that correct? I receive the follow error message while building the kernel and world. --- drm_os_freebsd.o --- /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_os_freebsd.c:47:3: error: implicit declaration of function 'untimeout' is invalid in C99 [-Werror,-Wimplicit-function-declaration] untimeout(clear_debug_func, NULL, reset_debug_log_handle); ^ /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_os_freebsd.c:57:28: error: implicit declaration of function 'timeout' is invalid in C99 [-Werror,-Wimplicit-function-declaration] reset_debug_log_handle = timeout(clear_debug_func, NULL, ^ /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_os_freebsd.c:57:26: error: assigning to 'struct callout_handle' from incompatible type 'int' reset_debug_log_handle = timeout(clear_debug_func, NULL, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. *** [drm_os_freebsd.o] Error code 1