On Fri, Feb 10, 2017 at 07:17:18PM -0500, Stephen Powell wrote:
> Building for 4.9.2-1custom01-686-pae
> Building initial module for 4.9.2-1custom01-686-pae
> Error!  Build of slusb.ko failed for: 4.9.2-1custom01-686-pae (i686)
> Consult the make.log in the build directory
> /var/lib/dkms/sl-modem/2.9.11~20110321/build/ for more information.
> 
> DKMS make.log for sl-modem-2.9.11~20110321 for kernel 4.9.2-1custom01-686-pae 
> (i686)
> Fri Feb 10 19:07:40 EST 2017
> make: Entering directory 
> '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
>         doing %.o: %.c
> cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB 
> `test -f 
> /lib/modules/4.9.2-1custom01-686-pae/build/include/linux/modversions.h && 
> echo -DMODVERSIONS --include 
> /lib/modules/4.9.2-1custom01-686-pae/build/include/linux/modversions.h 
> -I/lib/modules/4.9.2-1custom01-686-pae/build/include`  -I. -I./../modem   -o 
> amrmo_init.o -c amrmo_init.c
> amrmo_init.c:57:26: fatal error: linux/module.h: No such file or directory
---end quoted text---

It seems that you don't have the headers package installed for your 
custom kernel: 4.9.2-1custom01-686-pae

-- 
‎أحمد المحمودي (Ahmed El-Mahmoudy)
 Digital design engineer
GPG KeyIDs: 4096R/A7EF5671 2048R/EDDDA1B7
GPG Fingerprints:
 6E2E E4BB 72E2 F417 D066  6ABF 7B30 B496 A7EF 5761
 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7

Attachment: signature.asc
Description: PGP signature

Reply via email to