fglrx-core (not installed): fglrx-core kernel module failed to build [fatal error: asm/i387.h: No such file or directory]

Bug #1816225 reported by Victor S on 2019-02-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Undecided
Unassigned

Bug Description

While installing the proprietary fglrx driver on Ubuntu Trusty.
Command:

sudo dpkg -i fglrx-core_15.201-0ubuntu1_amd64_UB_14.01.deb fglrx_15.201-0ubuntu1_amd64_UB_14.01.deb fglrx-dev_15.201-0ubuntu1_amd64_UB_14.01.deb fglrx-amdcccle_15.201-0ubuntu1_amd64_UB_14.01.deb

All packages except fglrx-core install without any errors. But errors occur when fglrx is being installed. Here's an excerpt of what can be seen in the terminal:

Setting up fglrx-core (2:15.201-0ubuntu1) ...
update-alternatives: using /usr/lib/fglrx-core/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GFXCORE.conf (x86_64-linux-gnu_gfxcore_conf) in auto mode
Loading new fglrx-core-15.201 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-142-generic
Building for architecture x86_64
Building initial module for 4.4.0-142-generic
Error! Bad return status for module build on kernel: 4.4.0-142-generic (x86_64)
Consult /var/lib/dkms/fglrx-core/15.201/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
Setting up fglrx (2:15.201-0ubuntu1) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode

I don't really understand what causes this. Here's the contents of the make.log file mentioned in the output:

DKMS make.log for fglrx-core-15.201 for kernel 4.4.0-142-generic (x86_64)
Sat 16 Feb 2019 11:59:34 CET
/usr/sbin/dkms: line 73: cd: /var/lib/dkms/fglrx/15.201/build: No such file or directory
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/4.4.0-142-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.201/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-142-generic'
  CC [M] /var/lib/dkms/fglrx-core/15.201/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx-core/15.201/build/2.6.x/firegl_public.c:194:22: fatal error: asm/i387.h: No such file or directory
 #include "asm/i387.h"
                      ^
compilation terminated.
make[2]: *** [/var/lib/dkms/fglrx-core/15.201/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx-core/15.201/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-142-generic'
make: *** [kmod_build] Error 2
build failed with return value 2

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: fglrx-core 2:15.201-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-142.168~14.04.1-generic 4.4.167
Uname: Linux 4.4.0-142-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: kwin
DKMSKernelVersion: 4.4.0-142-generic
Date: Sat Feb 16 11:59:38 2019
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus: fglrx-core, 15.201: added
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Barts PRO [Radeon HD 6850] [1002:6739] (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:21f8]
InstallationDate: Installed on 2015-11-15 (1188 days ago)
InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
LightdmGreeterLog:
 Bus::open: Can not get ibus-daemon's address.
 IBusInputContext::createInputContext: no connection to ibus-daemon
 file:///usr/share/kde4/apps/lightdm-kde-greeter/themes/userbar/main.qml:135: Unable to assign [undefined] to QString usersession
LightdmGreeterLogOld:
 Bus::open: Can not get ibus-daemon's address.
 IBusInputContext::createInputContext: no connection to ibus-daemon
 file:///usr/share/kde4/apps/lightdm-kde-greeter/themes/userbar/main.qml:135: Unable to assign [undefined] to QString usersession
MachineType: System manufacturer System Product Name
PackageVersion: (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-142-generic.efi.signed root=/dev/mapper/vgSys-lvRoot ro
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.8
 apt 1.0.1ubuntu2.19
SourcePackage: fglrx-installer
Title: fglrx-core (not installed): fglrx-core kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/16/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0402
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8Z68-V PRO GEN3
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0402:bd11/16/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP8Z68-VPROGEN3:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1ubuntu0.14.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu0.6
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu0.6
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2.11
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3.1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1.7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Sat Feb 16 11:36:54 2019
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.15.1-0ubuntu2.11
xserver.video_driver: radeon

Victor S (zeron00) wrote :
summary: fglrx-core (not installed): fglrx-core kernel module failed to build
+ [fatal error: asm/i387.h: No such file or directory]
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers