(Needs 8.81) package fglrx 2:8.801-0ubuntu2 failed to install/upgrade: error: unknown field ‘ioctl’ specified in initializer

Bug #704287 reported by Huy Doan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
New
High
Alberto Milone

Bug Description

Description: Ubuntu natty (development branch)
Release: 11.04

make -C /lib/modules/2.6.37-12-server/build SUBDIRS=/var/lib/dkms/fglrx/8.801/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.37-12-server'
  CC [M] /var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.c:410:5: error: unknown field ‘ioctl’ specified in initializer
/var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.c:410:5: warning: initialization from incompatible pointer type
/var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.c: In function ‘KAS_Mutex_Initialize’:
/var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.c:5110:5: error: implicit declaration of function ‘init_MUTEX’
make[2]: *** [/var/lib/dkms/fglrx/8.801/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.801/build/2.6.x] Error 2

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: fglrx 2:8.801-0ubuntu2 [modified: usr/lib/fglrx/etc/ati/authatieventsd.sh usr/src/fglrx-8.801/2.6.x/Makefile usr/src/fglrx-8.801/dkms.conf usr/src/fglrx-8.801/firegl_public.c]
ProcVersionSignature: Ubuntu 2.6.37-12.26-server 2.6.37
Uname: Linux 2.6.37-12-server x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/allscreens/options/active_plugins'
CompositorRunning: compiz
Date: Tue Jan 18 13:08:35 2011
DistUpgraded: Yes, recently upgraded Log time: 2011-01-11 09:39:50.035512
DistroCodename: natty
DistroVariant: ubuntu
ErrorMessage: fglrx kernel module failed to build
GraphicsCard: Subsystem: ASUSTeK Computer Inc. Device [1043:0276]
MachineType: System manufacturer System Product Name
PackageVersion: 2:8.801-0ubuntu2
ProcKernelCmdLine: root=/dev/sda1
Renderer: Hardware acceleration
SourcePackage: fglrx-installer
Title: package fglrx 2:8.801-0ubuntu2 [modified: usr/lib/fglrx/etc/ati/authatieventsd.sh usr/src/fglrx-8.801/2.6.x/Makefile usr/src/fglrx-8.801/dkms.conf usr/src/fglrx-8.801/firegl_public.c] failed to install/upgrade: fglrx kernel module failed to build
dmi.bios.date: 10/30/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0502
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5P43TD
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0502:bd10/30/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5P43TD:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.libdrm2: libdrm2 2.4.22-2ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 7.9+repack-1ubuntu3
version.xserver-xorg: xserver-xorg 1:7.5+6ubuntu7
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.13.2-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.13.901-2ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20100805+b96170a-0ubuntu1

Revision history for this message
Huy Doan (rgv151) wrote :
Bryce Harrington (bryce)
description: updated
summary: - package fglrx 2:8.801-0ubuntu2 [modified:
- usr/lib/fglrx/etc/ati/authatieventsd.sh
- usr/src/fglrx-8.801/2.6.x/Makefile usr/src/fglrx-8.801/dkms.conf
- usr/src/fglrx-8.801/firegl_public.c] failed to install/upgrade: fglrx
- kernel module failed to build
+ package fglrx 2:8.801-0ubuntu2 failed to install/upgrade: implicit
+ declaration of function ‘init_MUTEX’
Changed in fglrx-installer (Ubuntu):
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
Bryce Harrington (bryce) wrote : Re: (Needs 8.81) package fglrx 2:8.801-0ubuntu2 failed to install/upgrade: implicit declaration of function ‘init_MUTEX’

Upstream says this issue will be fixed in an upcoming release.

Unfortunately, we're about to upload xserver 1.10 within the next week or so, which will break fglrx until it gains support for 1.10 (which may be some time).

summary: - package fglrx 2:8.801-0ubuntu2 failed to install/upgrade: implicit
- declaration of function ‘init_MUTEX’
+ (Needs 8.81) package fglrx 2:8.801-0ubuntu2 failed to install/upgrade:
+ implicit declaration of function ‘init_MUTEX’
Changed in fglrx-installer (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Alberto Milone (albertomilone) wrote :

I can't reproduce the problem here (using the same driver and kernel). Furthermore the package has a patch that is supposed to fix this issue.

Please type the following command:
sudo dpkg-reconfigure linux-headers-2.6.37-12-server

Then attach the following file:
/var/lib/dkms/fglrx/8.801/build/make.sh.log

Changed in fglrx-installer (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

New again, due to duplicates.

summary: (Needs 8.81) package fglrx 2:8.801-0ubuntu2 failed to install/upgrade:
- implicit declaration of function ‘init_MUTEX’
+ error: unknown field ‘ioctl’ specified in initializer
Changed in fglrx-installer (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 709505, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.