DKMS 无法在 Debian Sid 上编译 fglrx-driver(使用 kernel-3.10-1)

DKMS 无法在 Debian Sid 上编译 fglrx-driver(使用 kernel-3.10-1)

我的“播放”盒 (Debian Sid) 刚刚收到内核更新 (3.10-1-amd64)。在我安装适当的 Linux 头文件后,我收到来自 DKMS 的错误,指示构建失败。

以下是生成日志

DKMS make.log for fglrx-13.4 for kernel 3.10-1-amd64 (x86_64)
Thu Jul 18 21:15:47 EDT 2013
make: Entering directory `/usr/src/linux-headers-3.10-1-amd64'
  LD      /var/lib/dkms/fglrx/13.4/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/13.4/build/firegl_public.o
In file included from /var/lib/dkms/fglrx/13.4/build/firegl_public.c:476:0:
/var/lib/dkms/fglrx/13.4/build/drm_proc.h: In function ‘FGLDRM_proc_init’:
/var/lib/dkms/fglrx/13.4/build/drm_proc.h:98:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declarati$
/var/lib/dkms/fglrx/13.4/build/drm_proc.h:98:19: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/drm_proc.h:105:12: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/drm_proc.h:112:7: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/drm_proc.h:124:6: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/drm_proc.h:125:6: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/firegl_public.c: In function ‘firegl_proc_init’:
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:598:14: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:610:13: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:617:12: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:617:27: error: ‘read_proc_t’ undeclared (first use in this function)
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:617:27: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:617:39: error: expected expression before ‘)’ token
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:621:15: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:631:13: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:651:16: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:651:43: error: expected expression before ‘)’ token
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:656:16: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:660:16: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:669:13: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:672:16: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:672:43: error: expected expression before ‘)’ token
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:673:16: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:673:32: error: ‘write_proc_t’ undeclared (first use in this function)
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:673:45: error: expected expression before ‘)’ token
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:674:16: error: dereferencing pointer to incomplete type
/var/lib/dkms/fglrx/13.4/build/firegl_public.c: In function ‘KCL_EFI_IS_ENABLED’:
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:3091:5: warning: return makes integer from pointer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c: At top level:
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:523:1: warning: ‘firegl_debug_proc_read_wrap’ defined but not used [-Wunused-function]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:528:12: warning: ‘firegl_debug_proc_write_wrap’ defined but not used [-Wunused-function]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:546:12: warning: ‘firegl_major_proc_read’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[3]: *** [/var/lib/dkms/fglrx/13.4/build/firegl_public.o] Error 1
make[2]: *** [_module_/var/lib/dkms/fglrx/13.4/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-3.10-1-amd64'

该内核版本有任何已知的“修复”吗?

答案1

相关内容