I'm not sure whether this is related to this bug but I was unable to install 
nvidia drivers because my default compiler was set to an older version as 
default (gcc 4.4). Setting the default back to 4.8 solved the problem and I was 
able to install the drivers.
I found this bug report because I got a similar error message when trying to 
manually install the proprietary nvidia drivers. When installing from the repos 
I didn't get an error message at all.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-331 in Ubuntu.
https://bugs.launchpad.net/bugs/1311104

Title:
  nvidia-331 331.38-0ubuntu7: nvidia-331 kernel module failed to build
  [macros.h:1:2: error: #error INIT_WORK() conftest failed!]

Status in “nvidia-graphics-drivers-331” package in Ubuntu:
  Confirmed

Bug description:
  I have just installed ubuntu 14.04 on amd64 hardware, and nouveau is unstable 
with my NVIDIA Geforce 8200 integrated graphics.
  Tried to install nvidia-331 using sudo apt-get install nvidia-331, but the 
build failed along with the dkms build (and I think something else later).

  The error messages during the build were:
  Error! Bad return status for module build on kernel: 3-13.0-24-generic 
(x86-64)
  Consult /var/lib/dkms/nvidia-331/331.38/build/make.log for more information
  Error! Bad return status for module build on kernel: 3-13.0-24-generic 
(x86-64)
  Consult /var/lib/dkms/bbswitch/0.7/build/make.log for more information

  I've also tried downloading and installing the nvidia driver direct
  from nvidia: this also fails with a different build error message

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: nvidia-331 (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  DKMSKernelVersion: 3.13.0-24-generic
  Date: Tue Apr 22 14:00:34 2014
  DuplicateSignature: 
dkms:nvidia-331:331.38-0ubuntu7:/var/lib/dkms/nvidia-331/331.38/build/conftest/macros.h:1:2:
 error: #error INIT_WORK() conftest failed!
  PackageVersion: 331.38-0ubuntu7
  SourcePackage: nvidia-graphics-drivers-331
  Title: nvidia-331 331.38-0ubuntu7: nvidia-331 kernel module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.modprobe.d.nvidia.331.hybrid.conf: [deleted]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1311104/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to