Skip to content

Instantly share code, notes, and snippets.

Errors:
/Developer/MonoTouch/Source/monotouch/mtvs.sln (default targets) ->
(Build target) ->
/Developer/MonoTouch/Source/monotouch/tools/Mono.IOS/Mono.IOS.csproj (default targets) ->
/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->
Mono.IOS.Debugging/CommandConnection.cs(36,7): error CS0246: The type or namespace name `MonoMac' could not be found. Are you missing a using directive or an assembly reference?
Mono.IOS/DeviceManager.cs(35,7): error CS0246: The type or namespace name `MonoMac' could not be found. Are you missing a using directive or an assembly reference?
Mono.IOS/DeviceManager.cs(46,17): error CS0246: The type or namespace name `CFRunLoop' could not be found. Are you missing a using directive or an assembly reference?
Mono.IOS.Debugging/CommandConnection.cs(36,7): error CS0246: The type or namespace name `MonoMac' could not be found. Are you missing a using directive or an assembly reference?
Mono.IOS/DeviceManager.cs(35,7): error CS0246: The type or namespace name `MonoMac' could not be found. Are you missing a using directive or an assembly reference?
Mono.IOS/DeviceManager.cs(46,17): error CS0246: The type or namespace name `CFRunLoop' could not be found. Are you missing a using directive or an assembly reference?
Mono.IOS/Device.cs(7,7): error CS0246: The type or namespace name `MonoMac' could not be found. Are you missing a using directive or an assembly reference?
Mono.IOS/Device.cs(133,76): error CS0246: The type or namespace name `CFRange' could not be found. Are you missing a using directive or an assembly reference?
#!/usr/bin/env ruby
filename = ARGV[0]
content=File.read(filename)
File.open(filename +".tmp", "w") do |f|
f.write(
content.gsub(/\[DllImport\((\".+\.dll\")\)\]/) do |match|
"[DllImport(" + $1 + "), CallingConvention=CallingConvention.Cdecl]"
end
)
duncan@dynamic-022:lib$ pwd
/Library/Frameworks/Mono.framework/Versions/2.10.10/lib
duncan@dynamic-022:lib$ ls -d *.dSYM
libBugpointPasses.dylib.dSYM libgdiplus.dylib.dSYM libgtk-quartz-2.0.0.dylib.dSYM libmonosgen-2.0.0.0.0.dylib.dSYM
libEnhancedDisassembly.dylib.dSYM libgdk-quartz-2.0.0.dylib.dSYM libgtk-quartz-2.0.dylib.dSYM libmonosgen-2.0.0.dylib.dSYM
libLLVMHello.dylib.dSYM libgdk-quartz-2.0.dylib.dSYM libgtksharpglue-2.so.dSYM libmonosgen-2.0.dylib.dSYM
libLTO.dylib.dSYM libgdk_pixbuf-2.0.0.dylib.dSYM libigemacintegration.0.dylib.dSYM libpango-1.0.0.dylib.dSYM
libMonoPosixHelper.dylib.dSYM libgdk_pixbuf-2.0.dylib.dSYM libigemacintegration.dylib.dSYM libpango-1.0.dylib.dSYM
libMonoSupportW.dylib.dSYM libgdksharpglue-2.so.dSYM libikvm-native.dylib.dSYM libpangocairo-1.0.0.dylib.dSYM
libatk-1.0.0.dylib.dSYM libgettextlib-0.18.1.dylib.dSYM libintl.8.dylib.dSYM libpangocairo-1.0.dylib.dSYM
========== run_mkbundle ==========
c:\cygwin\tmp\source\release-scripts\wrench\monodroid\windows/run-mkbundle.sh: line 4: export: `/cygdrive/c/progra~1/Mono-2.10.8/lib/pkgconfig': not a valid identifier
MONO_PATH=out/lib/mandroid mkbundle --machine-config tools/scripts/machine.config --keeptemp --static --deps -z out/lib/mandroid/mandroid-win.exe -o out/lib/mandroid/mandroid-win-bundled.exe
OS is: Windows
WARNING:
Check that the machine.config file you are bundling
doesn't contain sensitive information specific to this machine.
The option `--static' is not supported on this platform.
makefile.win32:2: recipe for target `mandroid.bundle' failed
make: [mandroid.bundle] Error 1 (ignored)
llvm[2]: Linking Release+Asserts executable FileCheck (without symbols)
Undefined symbols for architecture i386:
"llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::Twine const&, char const*, bool) const", referenced from:
Pattern::ParsePattern(llvm::StringRef, llvm::SourceMgr&) in FileCheck.o
Pattern::PrintFailureInfo(llvm::SourceMgr const&, llvm::StringRef, llvm::StringMap<llvm::StringRef, llvm::MallocAllocator> const&) constin FileCheck.o
Pattern::AddRegExToRegEx(llvm::StringRef, unsigned int&, llvm::SourceMgr&)in FileCheck.o
_main in FileCheck.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[2]: *** [/Users/duncan/git/xamarin/bockbuild/profiles/mono-2-10/build-root/llvm-2.10/_build/mono-llvm-943edbc/Release+Asserts/bin/FileCheck] Error 1
From 2ee9c4f135d7e8b85cdcb67b7e99fe1aa1ad56dd Mon Sep 17 00:00:00 2001
From: Duncan Mak <duncan.mak@xamarin.com>
Date: Mon, 27 Aug 2012 18:21:56 -0400
Subject: [PATCH] Also check glibtool if libtool is not available. This is
needed on stock OS X.
---
autogen.sh | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
commit 4772115a894746ae46a42cc28216beda9a36d9e1 (HEAD, refs/heads/master)
Author: Duncan Mak <duncan.mak@xamarin.com>
Date: Wed Aug 22 17:21:41 2012 -0400
Add 'user-driver' to ensure that 'driver' is executed by $USER, and not root.
Modified client/Makefile
diff --git a/client/Makefile b/client/Makefile
index 3dd2f98..8f1ee62 100644
--- a/client/Makefile
diff --git a/release/Makefile b/release/Makefile
index f8fcb22..c2f8704 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -61,7 +61,8 @@ $(FULL_PACKAGE_FILENAME):
$(Q) echo $(PACKAGE_VERSION) > work/payload/Version
$(Q) sed "s/@VERSION@/$(PACKAGE_VERSION)/g" $(TOP)/tools/scripts/License.rtf.in > work/payload/License.rtf
$(Q) mkdir -p work/commercial
- $(Q) cp $(TOP)/tools/scripts/commercial/InstallationCheck work/commercial/preinstall
+ $(Q) cp $(TOP)/tools/scripts/commercial/InstallationCheck work/commercial/InstallationCheck
#!/bin/bash -ex
mkdir -p package
rm -rf /Library/Frameworks/Mono.framework/Versions/2.11
#TARBALL_PATH=$BUILD_DATA_LANE/$(echo $BUILD_REVISION | head -c 8)/dependencies/mono-dist-master
#TARBALL=$(find $TARBALL_PATH -name 'mono-*.tar.*')
BOCKBUILD=$(pwd)/bockbuild/profiles/mono-mac-release