[Buildroot] Error because of mix of two different revisions of kernel?

Andreas Aronsson anar at Syntronic.se
Fri Nov 16 10:18:05 UTC 2007


That's the solution I'm using. "make distclean" that is. 
I'd be grateful for a different solution, too. 

On Thu, 2007-11-15 at 17:26 -0500, Jean-Claude Gervais wrote:

> Hello,
> 
> 	I'm getting an error building a system:
> 
> 	After configuring and running make, the kernel gets compiled
> successfully but the procedure terminates with an error.
> 
> 	What I don't understand is this - I selected a specific kernel revision
> - 2.6.23.1, but the error mentions the folder
> 
> project_build_arm/uclibc/root/lib/modules/2.6.22.10
> 
> 	I may have selected that revision previously but changed to 2.6.23.1 so
> some old data might be persisting and causing the problem, is the
> solution to do a complete clean? That takes quite a while.
> 
> Thanks for the help.
> 
> Here is the output of the make:
> 
> 
> [...]
>   INSTALL net/unix/unix.ko
> if [ -r System.map -a
> -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
> make[1]: Leaving directory
> `/home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/linux-2.6.23.1'
> rm
> -f /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.23.1/build
> rm
> -f /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.23.1/source
> /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
> WARNING: Couldn't open
> directory /home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.22.10: No such file or directory
> FATAL: Could not
> 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
> make: ***
> [/home/jgervais/Desktop/sandboxes/buildroot/project_build_arm/uclibc/root/lib/modules/2.6.23.1/modules.dep] Error 1
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

--
Andreas Aronsson

Konsult

SYNTRONIC AB

Ågatan 32

431 35 Mölndal, Sweden

Phone: +46(0)31-746 81 09

Fax: +46(0)31-746 81 07

Email: anar at syntronic.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20071116/7f6888d5/attachment-0002.htm 


More information about the buildroot mailing list