fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build (kernel includes at ... not found or incomplete file: .../linux/version.h)

Bug #859101 reported by jeff mitch
802
This bug affects 117 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Invalid
High
Unassigned
fglrx-installer-experimental-12 (Ubuntu)
Invalid
High
Unassigned
fglrx-installer-updates (Ubuntu)
Invalid
High
Unassigned

Bug Description

attempting to install ATI proprietry drivers

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: fglrx 2:8.881-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
DKMSBuildLog:
 DKMS make.log for fglrx-8.881 for kernel 3.0.0-11-generic (i686)
 Sun Sep 25 19:46:44 BST 2011
 AMD kernel module generator version 2.1
 kernel includes at /lib/modules/3.0.0-11-generic/build/include not found or incomplete
 file: /lib/modules/3.0.0-11-generic/build/include/linux/version.h
DKMSKernelVersion: 3.0.0-11-generic
Date: Sun Sep 25 19:46:48 2011
DuplicateSignature:
 DKMS make.log for fglrx-8.881 for kernel 3.0.0-11-generic (i686)
 AMD kernel module generator version 2.1
 kernel includes at /lib/modules/3.0.0-11-generic/build/include not found or incomplete
 file: /lib/modules/3.0.0-11-generic/build/include/linux/version.h
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110921.1)
PackageVersion: 2:8.881-0ubuntu2
SourcePackage: fglrx-installer
Title: fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
jeff mitch (uk9jey) wrote :
tags: removed: need-duplicate-check
summary: - fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build
+ fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build (kernel
+ includes at ... not found or incomplete)
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build (kernel includes at ... not found or incomplete)

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fglrx-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Hey uk9jey,

Hi, thanks for reporting this issue during the development period of
Ubuntu.

I notice there's not been further comments to the bug report since the
release came out, would you mind updating us on the status of it in the
release?

Are you still able to reproduce the issue? If not, do you think the bug
report can be closed, or do you think we should continue tracking it?

Changed in fglrx-installer (Ubuntu):
status: Confirmed → Incomplete
Changed in fglrx-installer-updates (Ubuntu):
status: New → Incomplete
Revision history for this message
bugbot (bugbot) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in fglrx-installer (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Jelle Foks (jellefoks) wrote :

For kernel 3.7, the solution reported here worked for me:

https://bbs.archlinux.org/viewtopic.php?pid=1176870#p1176870

Download the patch and apply:

$ cd /usr/src/fglrx-9.010.8
$ sudo patch <~/Downloads/arch-fglrx-3.7.patch

Changed in fglrx-installer (Ubuntu):
status: Expired → Confirmed
Changed in fglrx-installer-updates (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Copying info from my duplicate bug. This is perfectly reproducible everywhere, so this is triaged.

As detected by ubuntu-driver-common's autopkgtest [1], current fglrx fails to build on saucy.

---------- 8< -------------
$ cat /var/lib/dkms/fglrx/9.010/build/make.logDKMS make.log for fglrx-9.010 for kernel 3.9.0-2-generic (x86_64)
Wed May 29 06:19:36 UTC 2013
AMD kernel module generator version 2.1
kernel includes at /lib/modules/3.9.0-2-generic/build/include not found or incomplete
file: /lib/modules/3.9.0-2-generic/build/include/linux/version.h
---------- 8< -------------

/lib/modules/3.9.0-2-generic/build/include/linux/ exists, but there is no "version.h" in there. linux-headers-3.9.0-2 and linux-headers-3.9.0-2-generic are both installed.

Other DKMS modules like bcmwl or nvidia work, so it seems there isn't something generally broken with DKMS. If version.h is supposed to exist, but was forgotten to be installed by the kernel, please reassign to linux.

Thank you!

[1] https://jenkins.qa.ubuntu.com/view/Saucy/view/AutoPkgTest/job/saucy-adt-ubuntu-drivers-common/13/ARCH=amd64,label=adt/

Changed in fglrx-installer (Ubuntu):
status: Confirmed → Triaged
Changed in fglrx-installer-updates (Ubuntu):
status: Confirmed → Triaged
Changed in fglrx-installer (Ubuntu):
importance: Undecided → High
Changed in fglrx-installer-updates (Ubuntu):
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

Actually not, I'm sorry. Daniel mis-duplicated my report.

Changed in fglrx-installer (Ubuntu):
status: Triaged → Confirmed
Changed in fglrx-installer-updates (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Vertago1 (vertago1) wrote :

I need a work around because my card is not supported by the mainstream driver I have to use this one: http://support.amd.com/us/kbarticles/Pages/RadeonHD7790CatalystPerformanceDriver.aspx
I built the packages for raring but they don't install because of this:
DKMS make.log for fglrx-12.101 for kernel 3.8.0-26-generic (x86_64)
Thu Jul 25 14:08:38 CDT 2013
AMD kernel module generator version 2.1
kernel includes at /lib/modules/3.8.0-26-generic/build/include not found or incomplete
file: /lib/modules/3.8.0-26-generic/build/include/linux/version.h

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

@Vertago1, that page/link is outdated and gives an outdated driver. The current version of Catalyst should work fine: http://wiki.cchtml.com/index.php/Ubuntu_Raring_Installation_Guide#Installing_Catalyst_Manually_.28from_AMD.2FATI.27s_site.29

Revision history for this message
Vertago1 (vertago1) wrote :

I tried this:

cd /lib/modules/3.8.0-26-generic/build/include/linux
sudo ln -s ../generated/uapi/linux/version.h version.h

but dkms is still failing with:
DKMS make.log for fglrx-12.101 for kernel 3.8.0-26-generic (x86_64)
Thu Jul 25 14:31:04 CDT 2013
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.8.0-26-generic/build SUBDIRS=/var/lib/dkms/fglrx/12.101/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-26-generic'
  CC [M] /var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c: In function ‘KCL_EFI_IS_ENABLED’:
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c:3086:5: warning: return makes integer from pointer without a cast [enabled by default]
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c: In function ‘KCL_MEM_VM_MapRegion’:
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c:3946:39: error: ‘VM_RESERVED’ undeclared (first use in this function)
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c:3946:39: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/12.101/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-26-generic'
make: *** [kmod_build] Error 2
build failed with return value 2

Revision history for this message
Marcel Hojski (mhojski) wrote :

same error on Precise x86

AMD kernel module generator version 2.1
.
Active kernel:
uname -a = 3.8.0-32-generic #47~precise1-Ubuntu SMP Wed Oct 2 16:22:28 UTC 2013 i686 athlon i386 GNU/Linux
uname -s = Linux
uname -m = i686
uname -r = 3.8.0-32-generic
uname -v = #47~precise1-Ubuntu SMP Wed Oct 2 16:22:28 UTC 2013
.
Target kernel:
uname -a = 3.8.0-32-generic #47~precise1-Ubuntu SMP Wed Oct 2 16:22:28 UTC 2013 i686 athlon i386 GNU/Linux
uname -s = Linux
uname -m = i686
uname -r = 3.8.0-32-generic
uname -v = #47~precise1-Ubuntu SMP Wed Oct 2 16:22:28 UTC 2013
.
kernel includes at /lib/modules/3.8.0-32-generic/build/include not found or incomplete
file: /lib/modules/3.8.0-32-generic/build/include/linux/version.h

summary: fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build (kernel
- includes at ... not found or incomplete)
+ includes at ... not found or incomplete file: .../linux/version.h)
Changed in fglrx-installer-experimental-12 (Ubuntu):
status: New → Confirmed
importance: Undecided → High
LAZA (laza74)
tags: added: precise
Revision history for this message
Frederik Schubert (byf-ferdy) wrote :

From the current AMD catalyst download page:

"[386511] Fixes kernel module build failure with kernel 3.9.1"

So it should be fixed in version 13.11 of the driver

Revision history for this message
Joe le Kiffeur (joelekiffeur) wrote :

Is an Ubuntu 12.04 update will be concerned?

Revision history for this message
Richard Eames (naddiseo) wrote :

The bug is still present with ubuntu 13.10:

amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64
fglrx_8.970-0ubuntu1_amd64
Linux 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Joe le Kiffeur (joelekiffeur) wrote :

No fix?

Revision history for this message
Kintoki (kintokilewd) wrote :

I have this on the kernel 3.8.0-34-generic.

Revision history for this message
John Levin (jkg-levin) wrote :

I have this on kernel 3.8.0 - 35- generic
"Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers. /lib/modules/3.8.0-35-generic/build/include/linux/version.h cannot be found on this system."

Revision history for this message
Olivier V (forum-viennet) wrote :

Hi,

Same problem in Ubuntu 14.04 with amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64

No solution for making my mobility Radeon HD 4650 work with 14.04 ...

Revision history for this message
Robert M. Muncrief (rmuncrief-9) wrote :

Same problem on Ubuntu 14.04.2. Can't install fglrx for HD3300. version.h is missing. The worst part is that the default drivers are very slow and trying to run a virtual machine with them is almost impossible. I hope this can be fixed, it seems it's been a problem for a long time.

Revision history for this message
Willem (jesperswillem) wrote :

Hello,

Sadly I also encounter the same problem for HD 3690/3850, I am running Ubuntu 14.10.

Revision history for this message
Won1der (won1der) wrote :

Same happened for me. HD 4550, Ubuntu 14.10

Revision history for this message
Clay Figley (cafigley85) wrote :

Just for redundancy, Mobility Radeon HD 42xx, Ubuntu 14.04.2
Is there anything I can do to help resolve this?
I've uploaded every bit of info available to a report here: http://goo.gl/XIrDp7
Anyone with know-how may want to check it out.

I'm going to update my system; there are some AMD drivers in my updates list.
I'll be watching this post.
If there's anything I can do to assist a more advanced user by replicating this problem, I'd be glad to help!

Revision history for this message
Sergey (gavrilenko925) wrote : Re: [Bug 859101] Re: fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build (kernel includes at ... not found or incomplete file: .../linux/version.h)

There is one way - it's change your videocard from amd to nvidia

пн, 4 мая 2015, 10:25, Clay Figley <email address hidden>:

> Just for redundancy, Mobility Radeon HD 42xx, Ubuntu 14.04.2
> Is there anything I can do to help resolve this?
> I've uploaded every bit of info available to a report here:
> http://goo.gl/XIrDp7
> Anyone with know-how may want to check it out.
>
> I'm going to update my system; there are some AMD drivers in my updates
> list.
> I'll be watching this post.
> If there's anything I can do to assist a more advanced user by replicating
> this problem, I'd be glad to help!
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1426072).
> https://bugs.launchpad.net/bugs/859101
>
> Title:
> fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build (kernel
> includes at ... not found or incomplete file: .../linux/version.h)
>
> Status in fglrx-installer package in Ubuntu:
> Confirmed
> Status in fglrx-installer-experimental-12 package in Ubuntu:
> Confirmed
> Status in fglrx-installer-updates package in Ubuntu:
> Confirmed
>
> Bug description:
> attempting to install ATI proprietry drivers
>
> ProblemType: Package
> DistroRelease: Ubuntu 11.10
> Package: fglrx 2:8.881-0ubuntu2
> ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
> Uname: Linux 3.0.0-11-generic i686
> ApportVersion: 1.23-0ubuntu1
> Architecture: i386
> DKMSBuildLog:
> DKMS make.log for fglrx-8.881 for kernel 3.0.0-11-generic (i686)
> Sun Sep 25 19:46:44 BST 2011
> AMD kernel module generator version 2.1
> kernel includes at /lib/modules/3.0.0-11-generic/build/include not
> found or incomplete
> file: /lib/modules/3.0.0-11-generic/build/include/linux/version.h
> DKMSKernelVersion: 3.0.0-11-generic
> Date: Sun Sep 25 19:46:48 2011
> DuplicateSignature:
> DKMS make.log for fglrx-8.881 for kernel 3.0.0-11-generic (i686)
> AMD kernel module generator version 2.1
> kernel includes at /lib/modules/3.0.0-11-generic/build/include not
> found or incomplete
> file: /lib/modules/3.0.0-11-generic/build/include/linux/version.h
> InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Beta i386
> (20110921.1)
> PackageVersion: 2:8.881-0ubuntu2
> SourcePackage: fglrx-installer
> Title: fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/859101/+subscriptions
>

Revision history for this message
LAZA (laza74) wrote :

Your soooo funny Sergey - and an A$$h0le too!!!

1. is the 4200 an onboard card, as is mine 3300 also
2. why throw a working system away and change something?
3. and the FUCK why pay for 4 GB and get only 3,5 GB working as on the Nvidia GeForce GTX 970 ???

Sorry for the harsh words, but ....

Revision history for this message
Clay Figley (cafigley85) wrote :

Sometimes I just dual boot.

Revision history for this message
Sergey (gavrilenko925) wrote :

No it's you fucking assfool

ср, 6 мая 2015, 20:56, LAZA <email address hidden>:

> Your soooo funny Sergey - and an A$$h0le too!!!
>
> 1. is the 4200 an onboard card, as is mine 3300 also
> 2. why throw a working system away and change something?
> 3. and the FUCK why pay for 4 GB and get only 3,5 GB working as on the
> Nvidia GeForce GTX 970 ???
>
> Sorry for the harsh words, but ....
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1426072).
> https://bugs.launchpad.net/bugs/859101
>
> Title:
> fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build (kernel
> includes at ... not found or incomplete file: .../linux/version.h)
>
> Status in fglrx-installer package in Ubuntu:
> Confirmed
> Status in fglrx-installer-experimental-12 package in Ubuntu:
> Confirmed
> Status in fglrx-installer-updates package in Ubuntu:
> Confirmed
>
> Bug description:
> attempting to install ATI proprietry drivers
>
> ProblemType: Package
> DistroRelease: Ubuntu 11.10
> Package: fglrx 2:8.881-0ubuntu2
> ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
> Uname: Linux 3.0.0-11-generic i686
> ApportVersion: 1.23-0ubuntu1
> Architecture: i386
> DKMSBuildLog:
> DKMS make.log for fglrx-8.881 for kernel 3.0.0-11-generic (i686)
> Sun Sep 25 19:46:44 BST 2011
> AMD kernel module generator version 2.1
> kernel includes at /lib/modules/3.0.0-11-generic/build/include not
> found or incomplete
> file: /lib/modules/3.0.0-11-generic/build/include/linux/version.h
> DKMSKernelVersion: 3.0.0-11-generic
> Date: Sun Sep 25 19:46:48 2011
> DuplicateSignature:
> DKMS make.log for fglrx-8.881 for kernel 3.0.0-11-generic (i686)
> AMD kernel module generator version 2.1
> kernel includes at /lib/modules/3.0.0-11-generic/build/include not
> found or incomplete
> file: /lib/modules/3.0.0-11-generic/build/include/linux/version.h
> InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Beta i386
> (20110921.1)
> PackageVersion: 2:8.881-0ubuntu2
> SourcePackage: fglrx-installer
> Title: fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/859101/+subscriptions
>

Revision history for this message
taur (taur) wrote :

I can confirm this is still present on trusty 14.04 kernel 3.13, tested with fglrx 8.970(catalyst 13.1)

Revision history for this message
Sergey (gavrilenko925) wrote :

Just update your version to 15.04, and your problem will solve. You could
found it in additional drivers

чт, 28 мая 2015, 21:15, taur <email address hidden>:

> I can confirm this is still present on trusty 14.04 kernel 3.13, tested
> with fglrx 8.970(catalyst 13.1)
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1426072).
> https://bugs.launchpad.net/bugs/859101
>
> Title:
> fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build (kernel
> includes at ... not found or incomplete file: .../linux/version.h)
>
> Status in fglrx-installer package in Ubuntu:
> Confirmed
> Status in fglrx-installer-experimental-12 package in Ubuntu:
> Confirmed
> Status in fglrx-installer-updates package in Ubuntu:
> Confirmed
>
> Bug description:
> attempting to install ATI proprietry drivers
>
> ProblemType: Package
> DistroRelease: Ubuntu 11.10
> Package: fglrx 2:8.881-0ubuntu2
> ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
> Uname: Linux 3.0.0-11-generic i686
> ApportVersion: 1.23-0ubuntu1
> Architecture: i386
> DKMSBuildLog:
> DKMS make.log for fglrx-8.881 for kernel 3.0.0-11-generic (i686)
> Sun Sep 25 19:46:44 BST 2011
> AMD kernel module generator version 2.1
> kernel includes at /lib/modules/3.0.0-11-generic/build/include not
> found or incomplete
> file: /lib/modules/3.0.0-11-generic/build/include/linux/version.h
> DKMSKernelVersion: 3.0.0-11-generic
> Date: Sun Sep 25 19:46:48 2011
> DuplicateSignature:
> DKMS make.log for fglrx-8.881 for kernel 3.0.0-11-generic (i686)
> AMD kernel module generator version 2.1
> kernel includes at /lib/modules/3.0.0-11-generic/build/include not
> found or incomplete
> file: /lib/modules/3.0.0-11-generic/build/include/linux/version.h
> InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Beta i386
> (20110921.1)
> PackageVersion: 2:8.881-0ubuntu2
> SourcePackage: fglrx-installer
> Title: fglrx 2:8.881-0ubuntu2: fglrx kernel module failed to build
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/859101/+subscriptions
>

Revision history for this message
nvlinh (nvlinh-khtn) wrote :

This bug is still available in Ubuntu 14.04, graphic card AMD Ati HD 3xxx :(

Revision history for this message
Alan F (alanfd) wrote :

I also have this problem with the missing version.h file.
Ubuntu 14.04.3 LTS
kernel 3.13.0-74
ATI Mobility Radeon HD 3400 Series

LAZA (laza74)
tags: added: trusty
Revision history for this message
FredJD (fredjd) wrote :

I updated my device version to 15.04, the problem still not solved. I don't know sometimes i missed some steps. I'm trying to reinstall it.

https://movieboxpro.info/

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Ubuntu 14.04/Trusty has reached End of Life (EoL) for standard support and the fglrx package is not included in the Extended Security Maintenance plan: https://wiki.ubuntu.com/SecurityTeam/ESM/14.04#A14.04_Infrastructure_ESM_Packages

If this issue still exists in supported Ubuntu releases, please re-open this bug or file a new one: https://wiki.ubuntu.com/Releases

Changed in fglrx-installer (Ubuntu):
status: Confirmed → Invalid
Changed in fglrx-installer-experimental-12 (Ubuntu):
status: Confirmed → Invalid
Changed in fglrx-installer-updates (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.