View previous topic :: View next topic |
Author |
Message |
Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Sun Apr 11, 2010 8:22 pm Post subject: unable to compile the latest e1000e driver |
|
|
Code: | 13:21:40^root@bigboy:~/Files/e1000e-1.1.2/src > make
Makefile:117: *** Linux kernel source not configured - missing autoconf.h. Stop.
real 0m0.017s
user 0m0.000s
sys 0m0.000s |
Any ideas why this fails? _________________ cya |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Sun Apr 11, 2010 8:41 pm Post subject: |
|
|
Perhaps because you have not configured the Linux kernel sources that it wants to use? Why are you using an out of tree e1000e? There has been mainline support for it for quite a while. |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Sun Apr 11, 2010 8:42 pm Post subject: |
|
|
Go to your /usr/src/linux and start make (does not have to compile the whole kernel, a few seconds will suffice), so that autoconf.h is generated. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Mon Apr 12, 2010 3:53 am Post subject: |
|
|
Voltago wrote: | Go to your /usr/src/linux and start make (does not have to compile the whole kernel, a few seconds will suffice), so that autoconf.h is generated. | already did that... that's why I don't get it. _________________ cya |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Mon Apr 12, 2010 11:53 am Post subject: |
|
|
Wasn't there something like
Code: | make KSRC=/usr/src/your-kernel |
to build out-of tree modules? Cr0t, can you post the Makefile you're trying to execute? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54232 Location: 56N 3W
|
Posted: Mon Apr 12, 2010 12:28 pm Post subject: |
|
|
Cr0t,
In 2.6.33 autoconf.h no longer exists. Borrowing from the nvidia-drivers patch Code: | - FILE="linux/autoconf.h"
+ FILE="generated/autoconf.h"
| its moved.
Adding a symlink to your kernel tree will probably help but thats a dirty hack.
Whats wrong with the e1000e driver in the kernel ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Mon Apr 12, 2010 2:57 pm Post subject: |
|
|
NeddySeagoon wrote: | Cr0t,
In 2.6.33 autoconf.h no longer exists. Borrowing from the nvidia-drivers patch Code: | - FILE="linux/autoconf.h"
+ FILE="generated/autoconf.h"
| its moved.
Adding a symlink to your kernel tree will probably help but thats a dirty hack.
Whats wrong with the e1000e driver in the kernel ? | I created a symlink, but during the compile other folders/files can not be found anymore. _________________ cya |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Mon Apr 12, 2010 11:34 pm Post subject: |
|
|
Cr0t wrote: | I created a symlink, but during the compile other folders/files can not be found anymore. | The number of problems you are seeing suggests the driver you are trying to build has experienced bitrot. You have now been asked twice why you are using the out of tree driver on an apparently very new kernel. If you answer that question, we may be able to suggest a simpler path than trying to force the out-of-tree e1000e driver to fit. |
|
Back to top |
|
|
Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Tue Apr 13, 2010 4:38 pm Post subject: |
|
|
Hu wrote: | Cr0t wrote: | I created a symlink, but during the compile other folders/files can not be found anymore. | The number of problems you are seeing suggests the driver you are trying to build has experienced bitrot. You have now been asked twice why you are using the out of tree driver on an apparently very new kernel. If you answer that question, we may be able to suggest a simpler path than trying to force the out-of-tree e1000e driver to fit. | I have been having issues with jumbo packages and driver from sf.net seems to be running a lot better. _________________ cya |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54232 Location: 56N 3W
|
Posted: Tue Apr 13, 2010 6:02 pm Post subject: |
|
|
Cr0t,
The sf driver is four months old, thats a long time as drivers go and its clearly overdue an update to build with 2.6.33 and later kernels.
The kernel driver will have been developed over that time so please try the 2.6.33 kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|