[Mono-list] compile error in cvs (undefined reference to `mono_config_parse')

Stewart Allen mono@neuron.com
Wed, 12 Jun 2002 05:35:15 -0400


This is a multi-part message in MIME format.
--------------030002040306070709080209
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

ok, fixed this with the attached patch. now mono compiles. however, all 
the dll's produced are 0 sized. looking at the scripts, it looks like 
this might be due to the absence of a 'dlltool' in the standard 
distribution of binutils on linux.

so the question now is... am I doing something wrong when building under 
linux or do I need to (is it possible to) compile my own binutils for 
linux that contains dlltool.

thanks

--------------030002040306070709080209
Content-Type: text/plain;
 name="patch2.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch2.txt"

Index: mono/metadata/Makefile.am
===================================================================
RCS file: /mono/mono/mono/metadata/Makefile.am,v
retrieving revision 1.51
retrieving revision 1.53
diff -c -r1.51 -r1.53
*** mono/metadata/Makefile.am	23 May 2002 07:44:00 -0000	1.51
--- mono/metadata/Makefile.am	4 Jun 2002 11:42:50 -0000	1.53
***************
*** 8,14 ****
  assembliesdir = $(libdir)
  
  INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)	-I$(top_srcdir)/mono \
! 	-DMONO_ASSEMBLIES=\""$(assembliesdir)"\"		
  
  libmonoruntime_a_SOURCES = \
  	reflection.c	\
--- 8,14 ----
  assembliesdir = $(libdir)
  
  INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)	-I$(top_srcdir)/mono \
! 	-DMONO_ASSEMBLIES=\""$(assembliesdir)"\" -DMONO_CFG_DIR=\""$(sysconfdir)"\"
  
  libmonoruntime_a_SOURCES = \
  	reflection.c	\
***************
*** 56,61 ****
--- 56,63 ----
  	metadata.c	\
  	verify.c	\
  	mono-endian.c	\
+ 	mono-config.c	\
+ 	mono-config.h	\
  	private.h	\
  	rawbuffer.c	\
  	loader.c	\

--------------030002040306070709080209--