[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Update to Sid, and cannot compile Nvidia module; PIC mode?



On 10/28/2016 08:11 PM, Dirk Laebisch wrote:
Anyone else run into this on Sid very recently?  Any hints or pointers?

Yup.
Providing some compile flags in:
/usr/src/linux/Makefile
around line 614 fixed it for me.

 614 # force no-pie for distro compilers that enable pie by default
 615 KBUILD_CFLAGS += $(call cc-option, -fno-pie)
 616 KBUILD_CFLAGS += $(call cc-option, -no-pie)
 617 KBUILD_AFLAGS += $(call cc-option, -fno-pie)
 618 KBUILD_CPPFLAGS += $(call cc-option, -fno-pie)

After that, dkms succeeded and no further problems ... so far.

Regards
Dirk

Hi Dirk, what driver is that? I have eight systems here using 304 and I'm having to use the Debian packages and then downgrade to jessie-backports works for me because the package from Nvidia would not install the module.

Maybe you can give a step by step?

Thanks for the info,
--
Jimmy Johnson

Debian Sid/Testing - KDE Plasma Version 5.8.2 - EXT4 at sda15
Registered Linux User #380263


Reply to: