FYI: compiling snapapi26-0.7.51 on kernels 2.6.31 and later
Thread needs solution
How to compile snapapi-0.7.51 in kernels greater than 2.6.30
Tried to compile snapapi26-0.7.51 on kernel-2.6.33 (gentoo in this case) and got the following error:
CC [M] /var/lib/dkms/snapapi26/0.7.10/build/snapapi26.o
cc1: error: include/linux/autoconf.h: No such file or directory
This is caused by a "feature" (bug? :) in kernels later than 2.6.30. These kernels save autoconf.h to /usr/src/linux/include/generated and snapapi26-0.7.51 source is (still :) looking for autoconf.h in /usr/src/linux/include/linux.
The quick and dirty solution is to copy /usr/src/linux/include/generated/autoconf.h into /usr/src/linux/include/linux and recompile.
John Breeden
Hawaii
mer 07/07/2010 - 22:00

truwrikodrorowrelupicugojestutroclulachosaswunuhospikigawakijosaswenomaruclojeueclikaspedrubewidebrisubrohutrurifruuagothunugekedrumucisiuobrobrecrupeslapuswosluprothethibakaslechurathikucli
Beginner
Contributions: 0
Commentaires: 2
jeu 02/12/2010 - 20:36
- Se connecter pour poster des commentaires
