In article <19990403193632.a55...@titan.klemm.gtn.com>,
Andreas Klemm  <andr...@klemm.gtn.com> wrote:
> Got the latest egcs port
> 
> # $Id: Makefile,v 1.53 1999/03/30 02:58:02 obrien Exp $
> 
> Build X11R6 with the following CFLAGS:
> 
>       -pipe -mpentiumpro -O2
> 
> I'm still running X11 and after ,make install' I'm unable
> to launch x applications (xterm, ...)
> 
> andr...@titan{1001} $ xterm
> /usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libXaw.so.6: Undefined symbol 
> "__deregister_frame_info"

There are two things going on here.  First, I believe you must have
built libXaw.so.6 using egcs, but you must have linked xterm using
the normal system compiler.  (Or else you or the Makefile used "ld"
directly, which is always a bad idea.)  If the executable is linked
using egcs, then this error won't happen.

Second, egcs actually contains a hack which attempts to make it work
anyway, even if you linked the program using the old compiler.  But
there is a dynamic linker bug (which I just discovered) that prevents
the hack from working.  I am testing the fix for that now.

John
-- 
  John Polstra                                               j...@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Self-interest is the aphrodisiac of belief."           -- James V. DeLong


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to