<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
That's the solution I'm using. "make distclean" that is. <BR>
I'd be grateful for a different solution, too. <BR>
<BR>
On Thu, 2007-11-15 at 17:26 -0500, Jean-Claude Gervais wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hello,</FONT>

<FONT COLOR="#000000">  I'm getting an error building a system:</FONT>

<FONT COLOR="#000000">  After configuring and running make, the kernel gets compiled</FONT>
<FONT COLOR="#000000">successfully but the procedure terminates with an error.</FONT>

<FONT COLOR="#000000">  What I don't understand is this - I selected a specific kernel revision</FONT>
<FONT COLOR="#000000">- 2.6.23.1, but the error mentions the folder</FONT>

<FONT COLOR="#000000">project_build_arm/uclibc/root/lib/modules/2.6.22.10</FONT>

<FONT COLOR="#000000">  I may have selected that revision previously but changed to 2.6.23.1 so</FONT>
<FONT COLOR="#000000">some old data might be persisting and causing the problem, is the</FONT>
<FONT COLOR="#000000">solution to do a complete clean? That takes quite a while.</FONT>

<FONT COLOR="#000000">Thanks for the help.</FONT>

<FONT COLOR="#000000">Here is the output of the make:</FONT>


<FONT COLOR="#000000">[...]</FONT>
<FONT COLOR="#000000">  INSTALL net/unix/unix.ko</FONT>
<FONT COLOR="#000000">if [ -r System.map -a</FONT>
<FONT COLOR="#000000">-x /home/jgervais/Desktop/sandboxes/buildroot/build_arm/staging_dir/bin/arm-linux-depmod26 ]; then /home/jgervais/Desktop/sandboxes/buildroot/build_arm/staging_dir/bin/arm-linux-depmod26 -ae -F System.map -b /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root -r 2.6.23.1; fi</FONT>
<FONT COLOR="#000000">make[1]: Leaving directory</FONT>
<FONT COLOR="#000000">`/home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/linux-2.6.23.1'</FONT>
<FONT COLOR="#000000">rm</FONT>
<FONT COLOR="#000000">-f /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.23.1/build</FONT>
<FONT COLOR="#000000">rm</FONT>
<FONT COLOR="#000000">-f /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.23.1/source</FONT>
<FONT COLOR="#000000">/home/jgervais/Desktop/sandboxes/buildroot/build_arm/staging_dir/bin/arm-linux-depmod26 -b /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root 2.6.22.10</FONT>
<FONT COLOR="#000000">WARNING: Couldn't open</FONT>
<FONT COLOR="#000000">directory /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.22.10: No such file or directory</FONT>
<FONT COLOR="#000000">FATAL: Could not</FONT>
<FONT COLOR="#000000">open /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.22.10/modules.dep.temp for writing: No such file or directory</FONT>
<FONT COLOR="#000000">make: ***</FONT>
<FONT COLOR="#000000">[/home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.23.1/modules.dep] Error 1</FONT>


<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">buildroot mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:buildroot@uclibc.org">buildroot@uclibc.org</A></FONT>
<FONT COLOR="#000000"><A HREF="http://busybox.net/mailman/listinfo/buildroot">http://busybox.net/mailman/listinfo/buildroot</A></FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
--<BR>
<B><I><FONT SIZE="2">Andreas</FONT></I></B><B><I><FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT></I></B><B><I><FONT SIZE="2">Aronsson</FONT></I></B><BR>
<BR>
<B><I><U><FONT SIZE="1"><FONT COLOR="#808080">Konsult</FONT></FONT></U></I></B><BR>
<BR>
<B><FONT SIZE="2"><FONT COLOR="#000000">SYNTRONIC AB</FONT></FONT></B><BR>
<BR>
<B><FONT SIZE="1"><FONT COLOR="#808080">Ågatan 32</FONT></FONT></B><BR>
<BR>
<B><FONT SIZE="1"><FONT COLOR="#808080">431 35 Mölndal, Sweden</FONT></FONT></B><BR>
<BR>
<B><FONT SIZE="1"><FONT COLOR="#808080">Phone: +46(0)31-746 81 09</FONT></FONT></B><BR>
<BR>
<B><FONT SIZE="1"><FONT COLOR="#808080">Fax: +46(0)31-746 81 07</FONT></FONT></B><BR>
<BR>
<B><FONT SIZE="1"><FONT COLOR="#808080">Email: <A HREF="mailto:anar@syntronic.se">anar</A></FONT></FONT></B><B><U><FONT SIZE="1"><FONT COLOR="#0000ff"><A HREF="mailto:anar@syntronic.se">@syntronic.com</A></FONT></FONT></U></B><BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>