FS#49510 - [linux-headers] Building an out of tree module gives error on missing header

Attached to Project: Arch Linux
Opened by Aidan E. (aereaux) - Sunday, 29 May 2016, 19:36 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 31 May 2016, 07:20 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I am trying to build this out-of-tree kernel module: https://github.com/karolherbst/nouveau/tree/stable_reclocking_kepler_v5. When I attempt to do so, I get the error in the attached log file. This error could be fixed by including the soc directory in the list of directories included in the linux-headers package here: https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/linux#n164

Additional info:
* package version(s)
linux-headers 4.6-1
* config and/or log files etc.
make output is in the attached file.


Steps to reproduce:
git clone -b stable_reclocking_kepler_v5 https://github.com/karolherbst/nouveau/
cd nouveau/drm
make
   test.log (1.1 KiB)
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 31 May 2016, 07:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  on trunk
Comment by Aidan E. (aereaux) - Sunday, 29 May 2016, 23:28 GMT
Attached is a patch that fixes the issue.

Loading...