On 01/31/2012 04:08 PM, Denny Schierz wrote:
> hi,
>
> I try to get lxc compiling on a Sunfire V245, but configure fails:
>
> [...]
>
> checking for sys/signalfd.h... yes
> checking whether gcc needs -traditional... no
> checking for Linux in /lib/modules//build... not found
> checking for Linux in /usr/src/linux-... not found
> checking for Linux in /usr/src/linux... yes
> checking for linux SRCARCH... configure: error: architecture
> sparc64-unknown-linux-gnu not supported
>
> # uname -a
> Linux foobar 2.6.32-5-sparc64-smp #1 SMP Mon Jan 16 17:28:56 UTC 2012 sparc64
> GNU/Linux
>
> # cat /proc/cpuinfo
> cpu : TI UltraSparc IIIi (Jalapeno)
> fpu : UltraSparc IIIi integrated FPU
> pmu : ultra3i
> prom : OBP 4.22.33 2007/06/18 12:47
> type : sun4u
> ncpus probed : 2
> ncpus active : 2
> D$ parity tl1 : 0
> I$ parity tl1 : 0
> Cpu0ClkTck : 0000000059a53800
> Cpu1ClkTck : 0000000059a53800
> MMU Type : Cheetah+
> State:
> CPU0: online
> CPU1: online
>
> any suggestions?
Yes, that was not ported to sparc. It is not a big deal.
Adding to config/linux.m4 the following should fix this configure error:
arm*-*) LINUX_SRCARCH=arm;;
+ sparc*-*) LINUX_SRCARCH=sparc;;
*) AC_MSG_ERROR([architecture ${host} not supported]);;
Compile and test if that works. An quick and easy test is "lxc-execute
-n foo /bin/bash"
Also, a modification to the lxc_clone function in src/lxc/namespace.c
may be necessary.
-- Daniel
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users