Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2019 16:48:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243005] Cannot compile kernel with drm-current-kmod installed?
Message-ID:  <bug-243005-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243005

            Bug ID: 243005
           Summary: Cannot compile kernel with drm-current-kmod installed?
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mmatalka@gmail.com

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 =3D 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 =3D timeout(clear_debug_func, NULL,
                                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
*** [drm_os_freebsd.o] Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243005-227>