[Mono-list] problems with static build

Varga Zoltan vargaz@freemail.hu
Thu, 8 Aug 2002 14:15:24 +0200 (CEST)


                  Hi,

  I'm trying to make a static build of mono on an unstable
Debian distribution with libtool 1.4.2a using
  ./configure --enable-shared=no

 I'm getting 
linker errors for symbols like 'mono_thread_cleanup' etc. The
problem seems to be that both libwapi and libmonoruntime
contains an object file called 'threads.o'. When the
libmonoruntime.a file is created by 'ar', both of these files
are specified on the command line, but since 'ar' ignores
paths, only one of them is placed into the archive, the other
is lost. Any ideas of how this can be fixed?

                                   bye

                                        Zoltan