fglrx does not compile (missing utsrelease.h)

Bug #637105 reported by Laurent Bonnaud
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Here is the problem:

Setting up fglrx (2:8.723.1-0ubuntu4) ...
update-initramfs: deferring update (trigger activated)
Removing old fglrx-8.723.1 DKMS files...

------------------------------
Deleting module version: 8.723.1
completely from the DKMS tree.
------------------------------
Done.
Loading new fglrx-8.723.1 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.35-20-generic
Building for architecture i686
Building initial module for 2.6.35-20-generic

Error! Bad return status for module build on kernel: 2.6.35-20-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/8.723.1/build/ for more information.
dpkg: error processing fglrx (--configure):
 subprocess installed post-installation script returned error exit status 10

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: fglrx 2:8.723.1-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic i686
Architecture: i386
Date: Mon Sep 13 15:00:39 2010
DkmsStatus: fglrx, 8.723.1: added
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Bochs Bochs
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-20-generic root=UUID=ea76bc29-ebbf-4d22-8f13-7f0dc14eca2b ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: fglrx-installer
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: maverick
 architecture: i686
 kernel: 2.6.35-20-generic

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

I tested this from inside a kvm VM but since this is a compilation problem it should also occur on real hardware.

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

Here is the DKMS compilation log:

DKMS make.log for fglrx-8.723.1 for kernel 2.6.35-20-generic (i686)
Mon Sep 13 15:00:07 CEST 2010
AMD kernel module generator version 2.1
cat: /lib/modules/2.6.35-20-generic/build/include/linux/utsrelease.h: No such file or directory
Error:
kernel includes at /lib/modules/2.6.35-20-generic/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.35-20-generic".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

The utsrelease.h file can be found here:

/usr/src/linux-headers-2.6.35-20-generic/include/generated/utsrelease.h

but this is not where fglrx looks for it.

Revision history for this message
adamis (adamis) wrote :

I am also getting this error on my wife's laptop since I updated it to Meerkat on the 11th. Strangely enough I did no get this error on my own laptop which is identical when I upgrade it about 10 days ago.

I linked the said file in question but when I did so I then got the following error:

DKMS make.log for fglrx-8.723.1 for kernel 2.6.35-20-generic (x86_64)
Mon Sep 13 19:58:57 PDT 2010
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
make -C /lib/modules/2.6.35-20-generic/build SUBDIRS=/var/lib/dkms/fglrx/8.723.1/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-20-generic'
  CC [M] /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:31: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.723.1/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-20-generic'
make: *** [kmod_build] Error 2
build failed with return value 2

Changed in fglrx-installer (Ubuntu):
status: New → Confirmed
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.