Re: [Mono-dev] Problem building mono from source

2013-09-16 Thread Luciano _
Hi Rodrigo, it works with:
CFLAGS="-m32" ./configure --host=i386-linux-gnu





Date: Tue, 10 Sep 2013 11:38:24 -0400
Subject: Re: [Mono-dev] Problem building mono from source
From: kump...@gmail.com
To: ln...@hotmail.com
CC: mono-devel-list@lists.ximian.com

It looks like you're either missing some headers or you misconfigured mono.

On Mon, Sep 9, 2013 at 5:21 PM, Luciano _  wrote:




Linux, Debian wheezy x86-64
 



Date: Sun, 8 Sep 2013 21:45:52 -0400
From: kump...@gmail.com
To: ln...@hotmail.com
CC: mono-devel-list@lists.ximian.com

Subject: Re: [Mono-dev] Problem building mono from source


What target are you trying to compile mono for?



On Sun, Sep 8, 2013 at 7:59 PM, Luciano _  wrote:





 
Hi, i’m having problems building mono from source. Could someone point me to 
the solution? Thanks.
 
 

 
Making all in utils
make[3]: se ingresa al directorio `/root/mono32/mono-3.2.0/mono/utils'
make  all-am
make[4]: se ingresa al directorio `/root/mono32/mono-3.2.0/mono/utils'
  CC   mono-md5.lo

  CC   mono-sha1.lo
  CC   mono-logger.lo
  CC   mono-codeman.lo
  CC   dlmalloc.lo
dlmalloc.c:2515:12: warning: ‘change_mparam’ defined but not used 
[-Wunused-function]
dlmalloc.c:2847:13: warning: ‘internal_malloc_stats’ defined but not used 
[-Wunused-function]

  CC   mono-counters.lo
  CC   mono-dl.lo
  CC   mono-internal-hash.lo
  CC   mono-io-portability.lo
  CC   monobitset.lo
  CC   mono-filemap.lo
  CC   mono-math.lo
  CC   mono-mmap.lo

  CC   mono-mutex.lo
  CC   mono-networkinterfaces.lo
  CC   mono-proclib.lo
  CC   mono-publib.lo
  CC   mono-time.lo
  CC   strtod.lo
strtod.c:2448:1: warning: ‘quorem’ defined but not used [-Wunused-function]

strtod.c:2596:1: warning: ‘nrv_alloc’ defined but not used [-Wunused-function]
strtod.c:2620:1: warning: ‘__freedtoa’ defined but not used [-Wunused-function]
  CC   strenc.lo
  CC   mono-uri.lo
  CC   mono-poll.lo

  CC   mono-path.lo
  CC   mono-semaphore.lo
  CC   mono-stdlib.lo
  CC   mono-property-hash.lo
  CC   mono-value-hash.lo
  CC   mono-error.lo
  CC   mach-support.lo
  CC   mono-context.lo

mono-context.c: In function ‘mono_sigctx_to_monoctx’:
mono-context.c:47:2: error: implicit declaration of function ‘UCONTEXT_REG_EAX’ 
[-Werror=implicit-function-declaration]
mono-context.c:47:2: warning: nested extern declaration of ‘UCONTEXT_REG_EAX’ 
[-Wnested-externs]

mono-context.c:48:2: error: implicit declaration of function ‘UCONTEXT_REG_EBX’ 
[-Werror=implicit-function-declaration]
mono-context.c:48:2: warning: nested extern declaration of ‘UCONTEXT_REG_EBX’ 
[-Wnested-externs]

mono-context.c:49:2: error: implicit declaration of function ‘UCONTEXT_REG_ECX’ 
[-Werror=implicit-function-declaration]
mono-context.c:49:2: warning: nested extern declaration of ‘UCONTEXT_REG_ECX’ 
[-Wnested-externs]

mono-context.c:50:2: error: implicit declaration of function ‘UCONTEXT_REG_EDX’ 
[-Werror=implicit-function-declaration]
mono-context.c:50:2: warning: nested extern declaration of ‘UCONTEXT_REG_EDX’ 
[-Wnested-externs]

mono-context.c:51:2: error: implicit declaration of function ‘UCONTEXT_REG_EBP’ 
[-Werror=implicit-function-declaration]
mono-context.c:51:2: warning: nested extern declaration of ‘UCONTEXT_REG_EBP’ 
[-Wnested-externs]

mono-context.c:52:2: error: implicit declaration of function ‘UCONTEXT_REG_ESP’ 
[-Werror=implicit-function-declaration]
mono-context.c:52:2: warning: nested extern declaration of ‘UCONTEXT_REG_ESP’ 
[-Wnested-externs]

mono-context.c:53:2: error: implicit declaration of function ‘UCONTEXT_REG_ESI’ 
[-Werror=implicit-function-declaration]
mono-context.c:53:2: warning: nested extern declaration of ‘UCONTEXT_REG_ESI’ 
[-Wnested-externs]

mono-context.c:54:2: error: implicit declaration of function ‘UCONTEXT_REG_EDI’ 
[-Werror=implicit-function-declaration]
mono-context.c:54:2: warning: nested extern declaration of ‘UCONTEXT_REG_EDI’ 
[-Wnested-externs]

mono-context.c:55:2: error: implicit declaration of function ‘UCONTEXT_REG_EIP’ 
[-Werror=implicit-function-declaration]
mono-context.c:55:2: warning: nested extern declaration of ‘UCONTEXT_REG_EIP’ 
[-Wnested-externs]

mono-context.c: In function ‘mono_monoctx_to_sigctx’:
mono-context.c:79:25: error: lvalue required as left operand of assignment
mono-context.c:80:25: error: lvalue required as left operand of assignment
mono-context.c:81:25: error: lvalue required as left operand of assignment

mono-context.c:82:25: error: lvalue required as left operand of assignment
mono-context.c:83:25: error: lvalue required as left operand of assignment
mono-context.c:84:25: error: lvalue required as left operand of assignment

mono-context.c:85:25: error: lvalue required as left operand of assignment
mono-context.c:86:25: error: lvalue required as left operand of assignment
mono-context.c:87:25: error: lvalue required as left operand of assignment

cc1: some warnings being t

[Mono-dev] GAC on Mac

2013-09-16 Thread Vassil Vassilev

Hi,
  Sorry if this is the wrong mailing list.
  I am trying to compile a simple cs file with using gtk-sharp library. 
It looks like that the compiler doesn't look at the 'right' place. Any 
ideas are very welcome, because I am stuck with that for quite a while...

  I have this problem:
cat /tmp/t.cs
using Gtk;

namespace Test {
  class Program {
void f() {
  Gtk.Label l = new Gtk.Label("aa");
}
  }
}

/usr/bin/dmcs /t:library /out:SolidV.dll /platform:anycpu /debug:full 
/debug+ /optimize- /sdk:4  /tmp/t.cs /reference:System.dll 
/reference:gtk-sharp.dll

error CS0006: Metadata file `gtk-sharp.dll' could not be found
Compilation failed: 1 error(s), 0 warnings

find /Library/Frameworks/Mono.framework/ -name gtk-sharp.dll
/Library/Frameworks/Mono.framework//Versions/2.10.12/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
/Library/Frameworks/Mono.framework//Versions/2.10.12/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
/Library/Frameworks/Mono.framework//Versions/2.10.9/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
/Library/Frameworks/Mono.framework//Versions/2.10.9/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
/Library/Frameworks/Mono.framework//Versions/3.2.0/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
/Library/Frameworks/Mono.framework//Versions/3.2.0/lib/mono/gtk-sharp-2.0/gtk-sharp.dll

gacutil -l gtk-sharp
The following assemblies are installed into the GAC:
gtk-sharp, Version=2.12.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f

Number of items = 1

uname -a
Darwin vvBook.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 
16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64


/usr/bin/dmcs /t:library /out:SolidV.dll /platform:anycpu /debug:full 
/debug+ /optimize- /sdk:4  /tmp/t.cs /reference:System.dll 
/reference:gtk-sharp.dll --mcs-debug 10
Probing assembly location 
`/Users/vvassilev/workspace/my/solid/Tools/DataMorphose/build/mscorlib.dll'
Probing assembly location 
`/Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/4.0/mscorlib.dll'

Loading assembly `mscorlib.dll'
Probing assembly location 
`/Users/vvassilev/workspace/my/solid/Tools/DataMorphose/build/System.dll'
Probing assembly location 
`/Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/4.0/System.dll'

Loading assembly `System.dll'
Probing assembly location 
`/Users/vvassilev/workspace/my/solid/Tools/DataMorphose/build/gtk-sharp.dll'
Probing assembly location 
`/Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/4.0/gtk-sharp.dll'

error CS0006: Metadata file `gtk-sharp.dll' could not be found
Probing assembly location 
`/Users/vvassilev/workspace/my/solid/Tools/DataMorphose/build/System.dll'
Probing assembly location 
`/Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/4.0/System.dll'
Probing assembly location 
`/Users/vvassilev/workspace/my/solid/Tools/DataMorphose/build/System.Xml.dll'
Probing assembly location 
`/Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/4.0/System.Xml.dll'

Loading assembly `System.Xml.dll'
Probing assembly location 
`/Users/vvassilev/workspace/my/solid/Tools/DataMorphose/build/System.Core.dll'
Probing assembly location 
`/Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/4.0/System.Core.dll'

Loading assembly `System.Core.dll'
Probing assembly location 
`/Users/vvassilev/workspace/my/solid/Tools/DataMorphose/build/Microsoft.CSharp.dll'
Probing assembly location 
`/Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/4.0/Microsoft.CSharp.dll'

Loading assembly `Microsoft.CSharp.dll'
Compilation failed: 1 error(s), 0 warnings

Cheers,
Vassil
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] _wapi_connect errors

2013-09-16 Thread Bassam Tabbara
Who is the appropriate contact for this one? Gonzalo?

On Sep 11, 2013, at 5:19 PM, Bassam Tabbara 
mailto:bas...@symform.com>> wrote:

Hello,

We're seeing these errors frequently as part of our application:


_wapi_connect: error looking up socket handle 0x3fd
_wapi_connect: error looking up socket handle 0x6db
_wapi_connect: error looking up socket handle 0x25f
_wapi_connect: error looking up socket handle 0x413
_wapi_connect: error looking up socket handle 0x314
_wapi_connect: error looking up socket handle 0x2d
_wapi_connect: error looking up socket handle 0x395
_wapi_connect: error looking up socket handle 0x2b3
_wapi_connect: error looking up socket handle 0x1fb
_wapi_connect: error looking up socket handle 0x2fd (error 10038)
_wapi_connect: error looking up socket handle 0x2ab (error 10038)
_wapi_connect: error looking up socket handle 0x27c
_wapi_connect: error looking up socket handle 0x1de (error 10038)
_wapi_connect: error looking up socket handle 0x2c4 (error 10038)
_wapi_connect: error looking up socket handle 0x235 (error 10038)

In code they are marked as warnings. These all look like race conditions where 
one thread closes a socket while another is trying to do some work on it. 
Should I be concerned about these? If not should these logs be silenced?

Thanks!
Bassam
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Compiling for i586 Linux target on an i686 Linux machine

2013-09-16 Thread Chris Tacke
I need to get a 32-bit i586 build of the latest version of Mono to run on an 
embedded target.

For a build machine I'm using Ubuntu 12 on 32-bit i686 VM.

I have successfully pulled the Mono sources and built them using the default 
configuration, and the resulting Mono binaries work just fine ion an i686 
machine.  When I attempt to run on an i586 machine, I get an error that simply 
says "Illegal instruction"

I assume that I need to cross-compile for i586, but I can't find a --target 
setting that works

I've tried a few things:

./configure --target=i586
./configure --target=i586-linux
./configure --target=i586-linux-gcc

And I always get an error along these lines (the target name changes with what 
I send in):

Configure: error: Cross compiling is not supported for target i586-pc-linux-gcc

Is there a known-good -target flag that I can send in to get a cross-compiled 
i586 output?


-Chris

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list