<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting a Debian kernel source tree for driver compilation</title>
	<atom:link href="http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/</link>
	<description>Experiences and notes on Living with Linux every day</description>
	<lastBuildDate>Sat, 10 May 2008 03:48:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: WZab</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-826</link>
		<dc:creator>WZab</dc:creator>
		<pubDate>Tue, 13 Mar 2007 09:45:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-826</guid>
		<description>I had additionally to execute &quot;make scripts&quot; in the kernel source tree, to get the above recipe working.&lt;br /&gt;
Otherwise I got the following errors:&lt;br /&gt;
&lt;br /&gt;
Building modules, stage 2.&lt;br /&gt;
MODPOST&lt;br /&gt;
/bin/sh: scripts/mod/modpost: No such file or directory</description>
		<content:encoded><![CDATA[<p>I had additionally to execute &quot;make scripts&quot; in the kernel source tree, to get the above recipe working.<br />
Otherwise I got the following errors:</p>
<p>Building modules, stage 2.<br />
MODPOST<br />
/bin/sh: scripts/mod/modpost: No such file or directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: River~~</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-815</link>
		<dc:creator>River~~</dc:creator>
		<pubDate>Fri, 19 Jan 2007 07:43:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-815</guid>
		<description>ps&lt;br /&gt;
&lt;br /&gt;
In my above posting, please note the trailing dot on lines like&lt;br /&gt;
&lt;br /&gt;
/kernel.source.2.6.&lt;br /&gt;
&lt;br /&gt;
which is needed to move aptitude on from the virtual package /kernel.source.2.6 (without the dot).&lt;br /&gt;
&lt;br /&gt;
R~~</description>
		<content:encoded><![CDATA[<p>ps</p>
<p>In my above posting, please note the trailing dot on lines like</p>
<p>/kernel.source.2.6.</p>
<p>which is needed to move aptitude on from the virtual package /kernel.source.2.6 (without the dot).</p>
<p>R~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: River~~</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-814</link>
		<dc:creator>River~~</dc:creator>
		<pubDate>Fri, 19 Jan 2007 07:31:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-814</guid>
		<description></description>
		<content:encoded><![CDATA[<p>hi everyone</p>
<p>Many thanks to René and Ashkay, both of you posted vital info, and I have now successfully compiled my very first kernel module  <img src='http://linux.seindal.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>My suggestion for other newbies is to use aptitude rather than apt-get for installing packages &#8211; it will look for the dependent packages for you.</p>
<p>The detailed steps of how to do this are as follows:</p>
<p>At the main screen, type </p>
<p>/kernel.source.2.6.</p>
<p>(or whatever kernel you are on).  It puts you at the top of the list of kernels.  NB you do  *not* want the item kernel.source.2.6, you need to find something like kernel.source.2.6.8.</p>
<p>Hit return to go to the list it is showing you, use the arrow keys to go to the exact one that you want, and hit + to add it to your system.</p>
<p>Then</p>
<p>/kernel.headers.2.6.</p>
<p>and find the right headers, followed by </p>
<p>/kernel.package</p>
<p>Note that &#8216;.&#8217; is a wild card here, so if you are as lazy as me you can use dot to match any punctuation.  (You can also use &#8216;.*&#8217; as a multi character wild card, and other perl-like regexps)</p>
<p>Then hit g to get the packages,  and aptitude shows you a screen with two main headings,  what it thinks you need as well, and what you asked for.  Put the cursor on either of these and hit enter to expand the list, if you want to check.  For me it had correctly spotted that I needed make and gcc.  It did not get the ncurses stuff, but it seemed to work anyway (aptitude lists that as &#8216;recommnded&#8217; not as essential).</p>
<p>Then if you need to change anything, use q to quit the get and go back to selecting packages.  Use + to add them, &#8211; to remove them,  then g to look at the list again. </p>
<p>When the list looks right, press g a second time, and aptitude automatically downloads and installs everything.</p>
<p>When it comes back, q y will exit.  Often (especially on a ssh session) aptitude leaves the screen a mess, so type clear&lt;return&gt; to get bask to clear it for you.</p>
<p>Now resume René&#8217;s instructions from </p>
<p>cd /usr/src<br />
tar -xjvf kernel-source-2.6.8.tar.bz2</p>
<p>Hope this helps someone as much as R &amp; A have helped me here <img src='http://linux.seindal.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
River~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phoenix</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-783</link>
		<dc:creator>Phoenix</dc:creator>
		<pubDate>Sun, 28 May 2006 02:13:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-783</guid>
		<description>Thank you so much. Following your instructions I finaly got both the kernel source and the driver I was trying to compile to install without error messages or configuration edits.</description>
		<content:encoded><![CDATA[<p>Thank you so much. Following your instructions I finaly got both the kernel source and the driver I was trying to compile to install without error messages or configuration edits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calamitynouch</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-778</link>
		<dc:creator>Calamitynouch</dc:creator>
		<pubDate>Sat, 29 Apr 2006 10:27:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-778</guid>
		<description>Hi, I have a pb : I need to link from /lib/modules/ the &quot;includes&quot; directory from kernel and the &quot;.config&quot; file in order to install ndiswrapper (for SMC wifi card driver). Don&#039;t know how to do without crashing everything ;-). Thanx for your help</description>
		<content:encoded><![CDATA[<p>Hi, I have a pb : I need to link from /lib/modules/ the &quot;includes&quot; directory from kernel and the &quot;.config&quot; file in order to install ndiswrapper (for SMC wifi card driver). Don&#8217;t know how to do without crashing everything <img src='http://linux.seindal.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . Thanx for your help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calamitynouch</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-777</link>
		<dc:creator>Calamitynouch</dc:creator>
		<pubDate>Sat, 29 Apr 2006 10:27:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-777</guid>
		<description>Hi, I have a pb : I need to link from /lib/modules/ the &quot;includes&quot; directory from kernel and the &quot;.config&quot; file in order to install ndiswrapper (for SMC wifi card driver). Don&#039;t know how to do without crashing everything ;-). Thanx for your help</description>
		<content:encoded><![CDATA[<p>Hi, I have a pb : I need to link from /lib/modules/ the &quot;includes&quot; directory from kernel and the &quot;.config&quot; file in order to install ndiswrapper (for SMC wifi card driver). Don&#8217;t know how to do without crashing everything <img src='http://linux.seindal.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . Thanx for your help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SNOWman</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-761</link>
		<dc:creator>SNOWman</dc:creator>
		<pubDate>Mon, 20 Mar 2006 14:40:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-761</guid>
		<description>Txt Akshay, I had the same problem and you helped me. Great!</description>
		<content:encoded><![CDATA[<p>Txt Akshay, I had the same problem and you helped me. Great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akshay</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-734</link>
		<dc:creator>Akshay</dc:creator>
		<pubDate>Wed, 18 Jan 2006 08:04:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-734</guid>
		<description>Thanks a million!  To get make-kpkg, you need to install kernel-package and ncurses-dev.  If you&#039;re as clueless how to do this as I was (Linux is surprisingly different from FreeBSD!), type &quot;apt-get install kernel-package ncurses-dev&quot; as root.  Obviously, don&#039;t type the quotes (&quot;).</description>
		<content:encoded><![CDATA[<p>Thanks a million!  To get make-kpkg, you need to install kernel-package and ncurses-dev.  If you&#8217;re as clueless how to do this as I was (Linux is surprisingly different from FreeBSD!), type &quot;apt-get install kernel-package ncurses-dev&quot; as root.  Obviously, don&#8217;t type the quotes (&quot;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-638</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Wed, 03 Aug 2005 20:58:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-638</guid>
		<description>Worked for me, thanks to both of you!</description>
		<content:encoded><![CDATA[<p>Worked for me, thanks to both of you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: puchatek</title>
		<link>http://linux.seindal.dk/2004/08/15/getting-a-debian-kernel-source-tree-for-driver-compilation/comment-page-1/#comment-636</link>
		<dc:creator>puchatek</dc:creator>
		<pubDate>Wed, 27 Jul 2005 12:34:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-636</guid>
		<description>*** 3. kernel-source-2.6.11-7&lt;br /&gt;
# uname -a&lt;br /&gt;
Linux boomcak 2.6.11 #2 SMP Thu May 26 20:53:11 CEST 2005 i686 GNU/Linux</description>
		<content:encoded><![CDATA[<p>*** 3. kernel-source-2.6.11-7<br />
# uname -a<br />
Linux boomcak 2.6.11 #2 SMP Thu May 26 20:53:11 CEST 2005 i686 GNU/Linux</p>
]]></content:encoded>
	</item>
</channel>
</rss>

