<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed May 22, 2013 6:34 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed May 22, 2013 6:34 pm</pubDate>
  <lastBuildDate>Wed May 22, 2013 6:34 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: 'make' never seems to work!</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=10131#10131</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=121'&gt;comcamel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Oct 15, 2005 10:12 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      i get the same problem than that, but after having a look on line, i thought that the problem was that i was using the gcc 4.0 compiler modules, things such as gimp wouldn't compile at all, however thanks for the idea of the kernel sources.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=10131#10131</comments>
                                        <author>comcamel</author>
                                        <pubDate>Sat Oct 15, 2005 10:12 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=10131#10131</guid>
                                      </item>
                                      <item>
                                        <title>Re: 'make' never seems to work!</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6366#6366</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=127'&gt;alloydog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Aug 11, 2005 12:22 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks folks, that was wut I wuz needing.&lt;br /&gt;
&lt;br /&gt;
Now to find the kernel source code...</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6366#6366</comments>
                                        <author>alloydog</author>
                                        <pubDate>Thu Aug 11, 2005 12:22 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6366#6366</guid>
                                      </item>
                                      <item>
                                        <title>Re: 'make' never seems to work!</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6339#6339</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=97'&gt;Erin&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 10, 2005 10:33 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      One finger and a rogue cat here!</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6339#6339</comments>
                                        <author>Erin</author>
                                        <pubDate>Wed Aug 10, 2005 10:33 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6339#6339</guid>
                                      </item>
                                      <item>
                                        <title>Re: 'make' never seems to work!</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6337#6337</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 10, 2005 10:23 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Two finger tipping wins again!</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6337#6337</comments>
                                        <author>nelz</author>
                                        <pubDate>Wed Aug 10, 2005 10:23 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6337#6337</guid>
                                      </item>
                                      <item>
                                        <title>Re: 'make' never seems to work!</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6331#6331</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 10, 2005 9:34 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hey ! the other two replies sneaked in before mine while i was doing my one finger typing.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6331#6331</comments>
                                        <author>wiz</author>
                                        <pubDate>Wed Aug 10, 2005 9:34 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6331#6331</guid>
                                      </item>
                                      <item>
                                        <title>Re: 'make' never seems to work!</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6330#6330</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 10, 2005 9:32 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      From the diff file it looks like this is going to be a kernel module so you will probably need to have the kernel source code installed in /usr/src/linux.&lt;br /&gt;
&lt;br /&gt;
When you have done this once it is easy but can be a bit hairy trying to figure it out for the first time. Check which kernel you are using and then install the source code for it and try again</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6330#6330</comments>
                                        <author>wiz</author>
                                        <pubDate>Wed Aug 10, 2005 9:32 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6330#6330</guid>
                                      </item>
                                      <item>
                                        <title>RE:</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6329#6329</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=97'&gt;Erin&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 10, 2005 9:32 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      It seems the second make attempt cannot find the kernel header files. You need to install these from your local install CD or repository. Have the ones for the kernel you are running (check this on the command line by typing 'uname -r' sans quotes. The clue was in &quot;Makefile:4: /usr/src/linux/.config: No such file or directory&quot;.&lt;br /&gt;
&lt;br /&gt;
However, you do need to read the README files first. If that doesn't make sense or you need more help, reply.&lt;br /&gt;
&lt;br /&gt;
Erin</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6329#6329</comments>
                                        <author>Erin</author>
                                        <pubDate>Wed Aug 10, 2005 9:32 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6329#6329</guid>
                                      </item>
                                      <item>
                                        <title>RE:</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6327#6327</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 10, 2005 9:27 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Both of these error indicate you don't have the kernel sources installed. When compiling a driver as a module, the code needs access to the source code for the current kernel. Look for a kernel-source or similarly named package in your distro's package manager.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6327#6327</comments>
                                        <author>nelz</author>
                                        <pubDate>Wed Aug 10, 2005 9:27 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6327#6327</guid>
                                      </item>
                                      <item>
                                        <title>RE:</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6326#6326</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=115'&gt;Gordon&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 10, 2005 9:21 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I presume you mean building a file from source code? These days you don't just &quot;make&quot; a file.&lt;br /&gt;
&lt;br /&gt;
First of all start again. If your source code package is a .tar.gz file (which it seems to be from your code) then unpack it using the command&lt;br /&gt;
&lt;br /&gt;
tar xvzf xxx.tar.gz&lt;br /&gt;
&lt;br /&gt;
where xxx refers to the rest of the filename before the .tar.gz extension. The source code should unpack into its own directory. Use the cd command to change into this new diretory.&lt;br /&gt;
&lt;br /&gt;
Now just list the files in this new directory with the ls command. If you see a README file of any kind then read this first with the command&lt;br /&gt;
&lt;br /&gt;
less README&lt;br /&gt;
&lt;br /&gt;
Do the same thing for any INSTALL files you see in this directory. If there are any special build procedures for the source code then these files should point them out. &lt;br /&gt;
&lt;br /&gt;
If there is a file in this directory you're in called .configure then in due course you will need to run this file, BUT first try the following; run the command,&lt;br /&gt;
&lt;br /&gt;
./configure --help | less&lt;br /&gt;
&lt;br /&gt;
This will output the configuration options for the code to the screen. If you're happy so far then you need to run the following commands from inside the directory containing the source code;&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/usr&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
and now as root type&lt;br /&gt;
&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
All should now be well. There are some older packages of source code out there which use different methods but these days we rarely come across them.&lt;br /&gt;
&lt;br /&gt;
Hope this helps.&lt;br /&gt;
 Gordon</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6326#6326</comments>
                                        <author>Gordon</author>
                                        <pubDate>Wed Aug 10, 2005 9:21 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6326#6326</guid>
                                      </item>
                                      <item>
                                        <title>'make' never seems to work!</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=6311#6311</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=127'&gt;alloydog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 10, 2005 7:40 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I have tried on numerous occassions to 'make' a file, but I always get errors.&lt;br /&gt;
&lt;br /&gt;
Here are two examples:&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;#&amp;#58;/home/voyager/programmes/pc-cam_880_driver # ls&lt;br /&gt;
CHANGELOG&amp;nbsp; Makefile&amp;nbsp; decode-jpg.c&amp;nbsp; memory.c&amp;nbsp; zr364xx-0.60&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;zr364xx.c&lt;br /&gt;
COPYING&amp;nbsp; &amp;nbsp; README&amp;nbsp; &amp;nbsp; decode-jpg.h&amp;nbsp; osd.c&amp;nbsp; &amp;nbsp; &amp;nbsp;zr364xx-0.60.tar.gz&lt;br /&gt;
#&amp;#58;/home/voyager/programmes/pc-cam_880_driver # make&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Building zr364xx driver for 2.5/2.6 kernel.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;PLEASE IGNORE THE &amp;quot;Overriding SUBDIRS&amp;quot; WARNING&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Remember&amp;#58; you must have read/write access to your kernel source tree.&lt;br /&gt;
make -C /lib/modules/`uname -r`/build/ SUBDIRS=`pwd` modules&lt;br /&gt;
make&amp;#58; *** /lib/modules/2.6.7/build/&amp;#58; No such file or directory.&amp;nbsp; Stop.&lt;br /&gt;
make&amp;#58; *** &amp;#91;default&amp;#93; Error 2&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;/home/voyager/programmes/pc-cam_880-0.2 # ls&lt;br /&gt;
COPYING&amp;nbsp; Makefile&amp;nbsp; README&amp;nbsp; app&amp;nbsp; driver&amp;nbsp; driver-2.6.diff&amp;nbsp; pccam880-0.2.tar.gz&lt;br /&gt;
#&amp;#58;/home/voyager/programmes/pc-cam_880-0.2 # make&lt;br /&gt;
make -C driver&lt;br /&gt;
make&amp;#91;1&amp;#93;&amp;#58; Entering directory `/home/voyager/programmes/pc-cam_880-0.2/driver'&lt;br /&gt;
Makefile&amp;#58;4&amp;#58; /usr/src/linux/.config&amp;#58; No such file or directory&lt;br /&gt;
make&amp;#91;1&amp;#93;&amp;#58; *** No rule to make target `/usr/src/linux/.config'.&amp;nbsp; Stop.&lt;br /&gt;
make&amp;#91;1&amp;#93;&amp;#58; Leaving directory `/home/voyager/programmes/pc-cam_880-0.2/driver'&lt;br /&gt;
make&amp;#58; *** &amp;#91;all&amp;#93; Error 2&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
what am I doing wrong?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=6311#6311</comments>
                                        <author>alloydog</author>
                                        <pubDate>Wed Aug 10, 2005 7:40 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=6311#6311</guid>
                                      </item></channel></rss>