[Mono-dev] cross compiling for arm

Dave Cramer davec at postgresintl.com
Sun Jan 22 19:23:48 EST 2006


I'm getting the following error cross compiling for the arm

#error configure failed to discover size of unix socket path

which comes from

  mono/io-layer/wapi-private.h

/* Catch this here rather than corrupt the shared data at runtime */
#if MONO_SIZEOF_SUNPATH==0
#error configure failed to discover size of unix socket path
#endif

If I look in configure I see


if test "$cross_compiling" = yes; then
   cv_mono_sizeof_sunpath=0
else
   cat >conftest.$ac_ext <<_ACEOF

I am using the following line

./configure --prefix=/usr/local/mono --host=arm-linux --with- 
tls=pthreads

Can someone point me in the right direction ?

I am trying to compile for an embedded arm board, and do not want any  
visual classes at all. So just the basic engine, network, io, etc.

Dave



More information about the Mono-devel-list mailing list