From xemacs-m  Sat Dec 14 12:15:16 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19]) by xemacs.cs.uiuc.edu (8.8.3/8.8.3) with ESMTP id MAA12667 for <xemacs-beta@xemacs.org>; Sat, 14 Dec 1996 12:15:15 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id KAA10858; Sat, 14 Dec 1996 10:25:20 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: Failed linking 20b31 on sparc-sun-solaris2.4
References: <9612141556.AA14243@lspsun16.epfl.ch>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Oscar Figueiredo's message of Sat, 14 Dec 1996 16:56:31 +0100
Mime-Version: 1.0 (generated by tm-edit 7.95)
Content-Type: text/plain; charset=US-ASCII
Date: 14 Dec 1996 10:25:19 -0800
Message-ID: <m291716l0w.fsf@altair.xemacs.org>
Lines: 24
X-Mailer: Red Gnus v0.72/XEmacs 19.15

Thanks for the report Oscar.

>>>>> "Oscar" == Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> writes:

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

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


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

I also recall some problems with Gcc and Gnu ld on Solaris.  Also try
adding '-fno-gnu-linker' to --cflags='-O4'.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

