[Mono-dev] Build broken?

Alan McGovern alan.mcgovern at gmail.com
Fri Mar 30 22:16:52 EDT 2007


I've been trying to compile SVN head on both windows and MacOS and it fails
on both. Is this a problem on just my side, or is compilation actually
broken? I've attached the last 100 or so lines of output when trying to
build on Mac OS X. If anyone has any ideas, let me know.

Thanks,
Alan.



 gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE
-DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess -g -O2 -MT pthread_support.lo -MD
-MP -MF .deps/pthread_support.Tpo -c pthread_support.c -o pthread_support.o
>/dev/null 2>&1
if /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"libgc-mono\"
-DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.6\"
-DPACKAGE_STRING=\"libgc-mono\ 6.6\" -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\"
-DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1
-DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1  -I./.. -I./.. -I./include
-no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX
-DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess   -g -O2
-MT pthread_stop_world.lo -MD -MP -MF ".deps/pthread_stop_world.Tpo" -c -o
pthread_stop_world.lo pthread_stop_world.c; \
then mv -f ".deps/pthread_stop_world.Tpo" ".deps/pthread_stop_world.Plo";
else rm -f ".deps/pthread_stop_world.Tpo"; exit 1; fi
 gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE
-DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess -g -O2 -MT pthread_stop_world.lo
-MD -MP -MF .deps/pthread_stop_world.Tpo -c pthread_stop_world.c
-fno-common -DPIC -o .libs/pthread_stop_world.o
In file included from ./include/private/gc_priv.h:66,
                 from ./include/private/pthread_support.h:4,
                 from pthread_stop_world.c:1:
./include/private/gcconfig.h:316:1: warning: "USE_MMAP" redefined
<command line>:1:1: warning: this is the location of the previous definition
 gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE
-DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess -g -O2 -MT pthread_stop_world.lo
-MD -MP -MF .deps/pthread_stop_world.Tpo -c pthread_stop_world.c -o
pthread_stop_world.o >/dev/null 2>&1
if /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"libgc-mono\"
-DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.6\"
-DPACKAGE_STRING=\"libgc-mono\ 6.6\" -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\"
-DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1
-DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1  -I./.. -I./.. -I./include
-no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX
-DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess   -g -O2
-MT darwin_stop_world.lo -MD -MP -MF ".deps/darwin_stop_world.Tpo" -c -o
darwin_stop_world.lo darwin_stop_world.c; \
then mv -f ".deps/darwin_stop_world.Tpo" ".deps/darwin_stop_world.Plo"; else
rm -f ".deps/darwin_stop_world.Tpo"; exit 1; fi
 gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE
-DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess -g -O2 -MT darwin_stop_world.lo
-MD -MP -MF .deps/darwin_stop_world.Tpo -c darwin_stop_world.c  -fno-common
-DPIC -o .libs/darwin_stop_world.o
In file included from ./include/private/gc_priv.h:66,
                 from ./include/private/pthread_support.h:4,
                 from darwin_stop_world.c:1:
./include/private/gcconfig.h:316:1: warning: "USE_MMAP" redefined
<command line>:1:1: warning: this is the location of the previous definition
darwin_stop_world.c: In function 'GC_push_all_stacks':
darwin_stop_world.c:105: warning: assignment makes pointer from integer
without a cast
 gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE
-DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess -g -O2 -MT darwin_stop_world.lo
-MD -MP -MF .deps/darwin_stop_world.Tpo -c darwin_stop_world.c -o
darwin_stop_world.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link gcc  -g -O2  -o libmonogc.la  -version-info
1:2:0 allchblk.lo alloc.lo blacklst.lo checksums.lo dbg_mlc.lo dyn_load.lo
finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo malloc.lo mallocx.lo
mark.lomark_rts.lo
misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo
real_malloc.lo reclaim.lo solaris_pthreads.lo solaris_threads.lo specific.lo
stubborn.lo typd_mlc.lo backgraph.lo win32_threads.lo pthread_support.lo
pthread_stop_world.lo darwin_stop_world.lo  mach_dep.lo -lpthread
libtool: link: warning: `-version-info/-version-number' is ignored for
convenience libraries
rm -fr  .libs/libmonogc.a .libs/libmonogc.la.lnk
ar cru .libs/libmonogc.a .libs/allchblk.o .libs/alloc.o .libs/blacklst.o
.libs/checksums.o .libs/dbg_mlc.o .libs/dyn_load.o .libs/finalize.o
.libs/gc_dlopen.o .libs/gcj_mlc.o .libs/headers.o .libs/malloc.o
.libs/mallocx.o .libs/mark.o .libs/mark_rts.o .libs/misc.o .libs/new_hblk.o
.libs/obj_map.o .libs/os_dep.o .libs/pcr_interface.o .libs/ptr_chck.o
.libs/real_malloc.o .libs/reclaim.o .libs/solaris_pthreads.o
.libs/solaris_threads.o .libs/specific.o .libs/stubborn.o .libs/typd_mlc.o
.libs/backgraph.o .libs/win32_threads.o .libs/pthread_support.o
.libs/pthread_stop_world.o .libs/darwin_stop_world.o .libs/mach_dep.o
ranlib .libs/libmonogc.a
creating libmonogc.la
(cd .libs && rm -f libmonogc.la && ln -s ../libmonogc.la libmonogc.la)
/bin/sh ./libtool --mode=link gcc  -g -O2  -o libmonogc-static.la  -static
allchblk.lo alloc.lo blacklst.lo checksums.lo dbg_mlc.lo dyn_load.lo
finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo malloc.lo mallocx.lo
mark.lomark_rts.lo
misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo
real_malloc.lo reclaim.lo solaris_pthreads.lo solaris_threads.lo specific.lo
stubborn.lo typd_mlc.lo backgraph.lo win32_threads.lo pthread_support.lo
pthread_stop_world.lo darwin_stop_world.lo  mach_dep.lo -lpthread
rm -fr  .libs/libmonogc-static.a .libs/libmonogc-static.la.lnk
ar cru .libs/libmonogc-static.a  allchblk.o alloc.o blacklst.o
checksums.odbg_mlc.o dyn_load.o
finalize.o gc_dlopen.o gcj_mlc.o headers.o malloc.o mallocx.o mark.omark_rts.o
misc.o new_hblk.o obj_map.o os_dep.o pcr_interface.o ptr_chck.o
real_malloc.o reclaim.o solaris_pthreads.o solaris_threads.o specific.o
stubborn.o typd_mlc.o backgraph.o win32_threads.o pthread_support.o
pthread_stop_world.o darwin_stop_world.o mach_dep.o
ranlib .libs/libmonogc-static.a
creating libmonogc-static.la
(cd .libs && rm -f libmonogc-static.la && ln -s ../libmonogc-static.la
libmonogc-static.la)
Making all in mono
Making all in utils
.deps/mono-codeman.Plo:1: *** multiple target patterns.  Stop.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070331/438a767e/attachment.html 


More information about the Mono-devel-list mailing list