WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xci-devel

RE: [Xci-devel] Error: Building XCI

To: Vincent Hanquez <Vincent.Hanquez@xxxxxxxxxxxxx>
Subject: RE: [Xci-devel] Error: Building XCI
From: Walter Hofstetter <Walter.Hofstetter@xxxxxxxxxxxxx>
Date: Fri, 12 Feb 2010 07:50:15 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xci-devel@xxxxxxxxxxxxxxxxxxx" <xci-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 11 Feb 2010 23:51:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B744C9A.9070600@xxxxxxxxxxxxx>
List-archive: <http://lists.xensource.com/archives/html/xci-devel>
List-help: <mailto:xci-devel-request@lists.xensource.com?subject=help>
List-id: xci-devel.lists.xensource.com
List-post: <mailto:xci-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=unsubscribe>
References: <B462D1536FED1140871BC97AB218A65941C6B1D678@xxxxxxxxxxxxxxxxxxxxxxxxx> <4B744C9A.9070600@xxxxxxxxxxxxx>
Sender: xci-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqrSDJ0HGx/6AfiTJSc7D/2m1AcuQAbgC2g
Thread-topic: [Xci-devel] Error: Building XCI
Hi Vincent,

Thanks a lot for responding...

Actually the only line in the locale.gen is the one with en_US.UTF-8 UTF-8

Based on the build instructions: 
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
locale-gen

I did attache the whole output from the make if you don't mind to have a look 
:-)

Btw. Using a clean Lenny (ran a dist-upgrade form a clea etch) installed on XS 
5.5.

Thanks, Walter

-----Original Message-----
From: Vincent Hanquez 
Sent: Donnerstag, 11. Februar 2010 19:30
To: Walter Hofstetter
Cc: xci-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xci-devel] Error: Building XCI

Walter Hofstetter wrote:
>
> Hi,
>
>  
>
> Hopefully this is not too stupid to ask in that list....
>
> I wanted to build XCI based on the instruction:
>
>  
>
> http://wiki.xensource.com/xenwiki/XciBuildingInstructions
>
>  
>
> Unfortunately during the make I'll get the following message:
>
>  
>
> HOSTCC extra/locale/gen_wc8bit
>
> extra/locale/gen_wc8bit.c: In function 'main':
>
> extra/locale/gen_wc8bit.c:377: warning: array subscript is above array 
> bounds
>
> extra/locale/gen_wc8bit.c:436: warning: array subscript is above array 
> bounds
>
> extra/locale/gen_wc8bit.c:502: warning: array subscript is above array 
> bounds
>
>   GEN extra/locale/codesets.txt
>
>   GEN extra/locale/c8tables.h
>
> setlocale(LC_CTYPE,"en_US.UTF-8") failed!
>
> make[1]: *** [extra/locale/c8tables.h] Error 1
>
> make[1]: Leaving directory
> `/usr/src/build/toolchain_build_i686/uClibc-0.9.30'
>
> make: ***
> [/usr/src/build/toolchain_build_i686/uClibc-0.9.30/.configured] Error 
> 2
>
>  
>
> In hint what the cause of that could be, very much appreciated!
>
Hi Walter,

The build environment depends on the locale en_US.UTF-8 to be available on the 
system.

On a debian system (and hopefully your system too), the /etc/locale.gen file 
contains all the locales you want.
un-commenting the en_US.UTF-8 line, and then running as root locale-gen will 
make your system able to build properly.

--
Vincent

Attachment: make-output.txt
Description: make-output.txt

_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel
<Prev in Thread] Current Thread [Next in Thread>