** Description changed: 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 + + [lspci] + 00:00.0 Host bridge [0600]: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface [8086:2560] (rev 02) + Subsystem: Giga-byte Technology Device [1458:2560] + 01:00.0 VGA compatible controller [0300]: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] [10de:0181] (rev c1) + Subsystem: D-Link System Inc Device [1186:1405]
-- 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-X, which is subscribed to nvidia-graphics-drivers-96 in ubuntu. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp