[Mono-list] Problem while building Mono Runtime

Richard Torkar richard.torkar@htu.se
Sat, 23 Mar 2002 09:00:13 +0100 (CET)


On Fri, 22 Mar 2002, Madhuri Kottamasu wrote:

> I am trying to Mono Runtime on Windows. I get the
> following error. Where can I get elf.h ? 
> 
> Can some one please help here ?
> -Thanks
> 
> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -
> Ic:/temp/mono/install/include/g
> lib-2.0 -Ic:/temp/mono/install/lib/glib-2.0/include  
> -Ic:/temp/mono/install/inc
> lude/glib-2.0
> -Ic:/temp/mono/install/lib/glib-2.0/include   -I../.. 
>    -I../../
> mono -DMONO_ASSEMBLIES=\""c:/temp/mono/install/lib"\" 
>            -I/cygdrive/c/
> temp/mono/install/include  -g -Wall -Wunused
> -Wmissing-prototypes -Wmissing-decl
> arations -mno-cygwin -c `test -f debug-symfile.c ||
> echo './'`debug-symfile.c
> debug-symfile.c:7: elf.h: No such file or directory
		    ^^^^^^^^

You're missing elf.h for some reason.
In a true Linux system it belongs to glibc-devel or comes with the linux 
kernel.

In cygwin I'm not sure.		

> make[3]: *** [debug-symfile.o] Error 1
> make[3]: Leaving directory
> `/cygdrive/c/temp/mono/mono/mono/metadata'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/cygdrive/c/temp/mono/mono/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/cygdrive/c/temp/mono/mono'
> make: *** [all] Error 2







/Richard

--
Ph.D. student
University of Trollhättan/Uddevalla
Dept. of Informatics and Mathematics
Phone(work):  +46 520 475324
Phone(mobile):+46 706 840845
Fax:          +46 520 475399