From xemacs-m  Sat Dec 14 19:30:33 1996
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5]) by xemacs.cs.uiuc.edu (8.8.3/8.8.3) with SMTP id TAA14131 for <xemacs-beta@xemacs.org>; Sat, 14 Dec 1996 19:30:32 -0600 (CST)
Received: from Eng.Sun.COM ([129.146.1.25]) by venus.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id RAA10158; Sat, 14 Dec 1996 17:30:05 -0800
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id RAA02551; Sat, 14 Dec 1996 17:30:02 -0800
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id RAA01817; Sat, 14 Dec 1996 17:29:59 -0800
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id RAA05482; Sat, 14 Dec 1996 17:30:02 -0800
Date: Sat, 14 Dec 1996 17:30:02 -0800
Message-Id: <199612150130.RAA05482@xemacs.eng.sun.com>
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Steven L Baur <steve@miranova.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: Failed linking 20b31 on sparc-sun-solaris2.4
In-Reply-To: <m291716l0w.fsf@altair.xemacs.org>
References: <9612141556.AA14243@lspsun16.epfl.ch>
	<m291716l0w.fsf@altair.xemacs.org>
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>
Mime-Version: 1.0 (generated by tm-edit 7.94)
Content-Type: text/plain; charset=US-ASCII

>>>>> "Steven" == Steven L Baur <steve@miranova.com> writes:

Steven> Thanks for the report Oscar.
>>>>> "Oscar" == Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> writes:

Oscar> ./configure sparc-sun-solaris2.4 ... --with-gcc --dynamic
Steven>                                             ^^^^^^^^^^ ^^^^^^^^^^
Oscar> Resulted in :

Oscar> Undefined			first referenced
Oscar> symbol  			    in file
Oscar> lwlib_menubars_lucid                gui-x.o

Steven> The people who have successfully built on Solaris have not used the
Steven> --dynamic flag.  Try removing that.

Steven> I also recall some problems with Gcc and Gnu ld on Solaris.  Also try
Steven> adding '-fno-gnu-linker' to --cflags='-O4'.

-fno-gnu-linker is a good idea, but will likely not fix this
particular link problem.

The only other thing I can think of is that explicitly specifying the
target configuration instead of auto-detecting is not tested much.

If these flags (which should have no effect) do end up being
responsible for the  problems, we want to fix them.

Martin

