[Mono-devel-list] errors while compiling metadata

Alexandre Rocha Lima e Marcondes alexandremarcondes at psl-pr.softwarelivre.org
Fri Oct 22 22:01:14 EDT 2004


On Fri, 22 Oct 2004 17:13:46 -0600
"James Bell" <jbell at novell.com> wrote:

Have you installed ICU support? (unicode support) it is advised to do so ... if you run mono/autogen.sh you will see if there is support for it installed on your machine ...


> Hi, 
> I am using the mono-build.sh script from the Compiling Mono page and I
> get these warnings and errors when it gets to metadata code: 
>  
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono
> -I../../libgc/include -pthread -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include
> -DMONO_ASSEMBLIES=\/home/james/mono/scriptbuild/mono/install/lib\
> -DMONO_CFG_DIR=\/home/james/mono/scriptbuild/mono/install/etc\
> -I/home/james/mono/scriptbuild/mono/install/include -DGC_LINUX_THREADS
> -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -g
> -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
> -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
> -Wwrite-strings -MT locales.lo -MD -MP -MF .deps/locales.Tpo -c
> locales.c  -fPIC -DPIC -o .libs/locales.o 
> locales.c:504:28: unicode/utypes.h: No such file or directory 
> locales.c:505:29: unicode/ustring.h: No such file or directory 
> locales.c:506:26: unicode/ures.h: No such file or directory 
> locales.c:507:26: unicode/ucol.h: No such file or directory 
> locales.c:508:29: unicode/usearch.h: No such file or directory 
> locales.c:510: warning: type defaults to `int' in declaration of
> `UResourceBundle' 
> locales.c:510: error: parse error before '*' token 
> locales.c:511: warning: function declaration isn't a prototype 
> locales.c: In function `monostring_from_resource_index': 
> locales.c:514: error: `UErrorCode' undeclared (first use in this
> function) 
> locales.c:514: error: (Each undeclared identifier is reported only once 
> locales.c:514: error: for each function it appears in.) 
> locales.c:514: error: parse error before ec 
> locales.c:516: error: `ec' undeclared (first use in this function) 
> locales.c:516: error: `U_ZERO_ERROR' undeclared (first use in this
> function) 
> locales.c:517: warning: implicit declaration of function
> `ures_getStringByIndex' 
> locales.c:517: error: `bundle' undeclared (first use in this function) 
> locales.c:517: error: `idx' undeclared (first use in this function) 
> locales.c:519: warning: implicit declaration of function `U_FAILURE' 
> locales.c: At top level: 
> locales.c:526: error: parse error before '*' token 
> ... 
> locales.c:1691: error: `udest' undeclared (first use in this function) 
> gmake[3]: *** [locales.lo] Error 1 
> gmake[3]: Leaving directory
> `/home/james/mono/scriptbuild/mono/mono/mono/metadata' 
> gmake[2]: *** [all-recursive] Error 1 
> gmake[2]: Leaving directory
> `/home/james/mono/scriptbuild/mono/mono/mono' 
> gmake[1]: *** [all-recursive] Error 1 
> gmake[1]: Leaving directory `/home/james/mono/scriptbuild/mono/mono' 
> gmake: *** [all] Error 2 
>  
>  
> Any help would be appreciated. 
>  
> Thanks, 
> James 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041023/3beac7b3/attachment.bin 


More information about the Mono-devel-list mailing list