[Mono-devel-list] mcs build fails on cygwin

Jonathan Pryor jonpryor at vt.edu
Mon Jan 3 18:03:17 EST 2005


Could someone sacrifice a chicken over this?  Seriously?

It was originally broken because Solaris doesn't have getfsent(3) (which
Linux and *BSD do; odd), but it has a getvfsent(3C) which can be used to
implement my own getfsent(), so I did that and all was merry.

Except for one last detail.  Please see the log here:

	http://mono.ximian.com:8008/sparc-head-mono/events/238/log

libMonoPosixHelper fails to link because the linker can't find
getdomainname and setdomainname.  "OK," says I, "I'll add a configure
check for it."  Except that doesn't work.

On line 228, we have:

	checking for getdomainname... yes
	checking for setdomainname... yes

Yet on line 4731:

	Undefined			first referenced
	 symbol  			    in file
	getdomainname                       unistd.lo
	setdomainname                       unistd.lo
	ld: fatal: Symbol referencing errors. No output written
		to .libs/libMonoPosixHelper.so.0.1.0

So, the function exists, but I can't link against it?  WTF?

All I can guess is that the configure test program is linking against
some library that libMonoPosixHelper.so isn't linking against.  What the
library is, I don't know, and I don't have a sparc machine I can easily
debug this on.

Is there an exorcist around?  This is the last thing holding back a
clean mono compile on sparc, so it would be nice to figure this out.

Thanks,
 - Jon

On Mon, 2005-01-03 at 00:51 +0100, Zoltan Varga wrote:
>                                Hi,
> 
>   The latest Mono.Posix support code still does not compile on sparc, breaking
> the build there:
> 
> http://mono.ximian.com:8008/sparc-head-mono/events/224/log
> 
> Could somebody fix that as well ?
> 
>                 Zoltan
> 
> On Sat, 01 Jan 2005 13:41:17 -0500, Jonathan Pryor <jonpryor at vt.edu> wrote:
> > On Sat, 2005-01-01 at 11:37 -0500, Ben Maurer wrote:
> > > This is the code:
> > >
> > > >             public static readonly SignalHandler SIG_DFL = _DefaultHandler;
> > > >             public static readonly SignalHandler SIG_ERR = _ErrorHandler;
> > > >             public static readonly SignalHandler SIG_IGN = _IgnoreHandler;
> > >
> > > Whoever added this is using the 2.0 delegate syntax. The old syntax
> > > needs to be used.
> > 
> > Oops.  Sorry about that.  This is fixed in svn HEAD now (r38222).
> > 
> >  - Jon
> > 
> > 
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list