Public bug reported:
I've was trying to build Nvidia driver (sudo dkms build -m nvidia -v 96.43.10)
for linux-rt kernel, but got the following error message in make.log:
/var/lib/dkms/nvidia/96.43.10/build/os-interface.c:104: error: incompatible
types in assignment
My solution of this problem is to replace
typedef struct os_sema_s
{
struct completion completion;
#if defined(CONFIG_PREEMPT_RT)
raw_spinlock_t lock;
#else
spinlock_t lock;
#endif
S032 count;
} os_sema_t;
with
typedef struct os_sema_s
{
struct completion completion;
//#if defined(CONFIG_PREEMPT_RT)
// raw_spinlock_t lock;
//#else
spinlock_t lock;
//#endif
S032 count;
} os_sema_t;
in that file.
So, the module had built successfully, installed and now works fine.
PS. Sorry for my (very!) bad english, but I hope you understood me.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: nvidia-96-kernel-source 96.43.10-0ubuntu1 [modified:
usr/src/nvidia-96.43.10/os-interface.c]
ProcEnviron:
LANG=ru_RU.UTF-8
SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-3-rt (bui...@vernadsky) (gcc version 4.3.3
(Ubuntu 4.3.3-5ubuntu4) ) #12-Ubuntu SMP PREEMPT RT Fri Apr 17 10:09:11 UTC 2009
SourcePackage: nvidia-graphics-drivers-96
Uname: Linux 2.6.28-3-rt i686
** Affects: nvidia-graphics-drivers-96 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 linux-rt nvidia nvidia-96
--
DKMS module nvidia-96.43.10 build problem under linux-rt
https://bugs.launchpad.net/bugs/385515
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs