From owner-freebsd-current Sat Apr 3 13:48:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from picalon.gun.de (picalon.gun.de [194.77.0.18]) by hub.freebsd.org (Postfix) with ESMTP id D3A2B14E58 for ; Sat, 3 Apr 1999 13:48:32 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: from klemm.gtn.com (pppak04.gtn.com [194.231.123.169]) by picalon.gun.de (8.8.6/8.8.6) with ESMTP id XAA03702; Sat, 3 Apr 1999 23:46:33 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.9.2/8.9.2) id XAA29101; Sat, 3 Apr 1999 23:46:15 +0200 (CEST) (envelope-from andreas) Date: Sat, 3 Apr 1999 23:46:14 +0200 From: Andreas Klemm To: "David O'Brien" Cc: current@FreeBSD.ORG Subject: Re: X problems using egcs as compiler Message-ID: <19990403234614.A28774@titan.klemm.gtn.com> References: <19990403193632.A55975@titan.klemm.gtn.com> <19990403115154.A72956@nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990403115154.A72956@nuxi.com>; from David O'Brien on Sat, Apr 03, 1999 at 11:51:54AM -0800 X-Operating-System: FreeBSD 3.1-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 03, 1999 at 11:51:54AM -0800, David O'Brien wrote: > > andreas@titan{1001} $ xterm > > /usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libXaw.so.6: Undefined symbol "__deregister_frame_info" > > Exit 1 > > > > Is this a problem with egcs ? Or did I overlook something ? > > Please recompile everything you did with the "-v" option, and send the > output. You may easily be linking with the wrong crt*.o or *.a files. Some output from building something in xterm subdir of XFree86 making all in programs/xterm... /usr/local/bin/egcc -v -pipe -mpentiumpro -O2 -ansi -pedantic -Dasm=__asm -I. ./.. -I../../exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -DSCROLLBAR_RIGHT -c resize.c Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/s pecs gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release) /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/cpp -lang-c89 -v -I ../.. -I../../exports/include -I. -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -trigr aphs -D__STRICT_ANSI__ -D__i386__ -D__ELF__ -D__unix__ -D__FreeBSD__=3 -D__i386 -D__unix -Acpu(i386) -Amachine(i386) -Asystem(unix) -Asystem(FreeBSD) -D__OPTIMI ZE__ -pedantic -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386 -D__i386__ -D __i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -Dasm=__asm -DCSRG_BASED -DFUN CPROTO=15 -DNARROWPROTO -DSCROLLBAR_RIGHT resize.c | /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/cc1 -quiet -dumpbas e resize.c -mpentiumpro -ansi -O2 -pedantic -ansi -version -o - | as -V -Qy -o resize.o - GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (i386 FreeBSD/ELF) #include "..." search starts here: GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release)#include <...> search st arts here: (i386-portbld-freebsd3.1)GNU assembler version 2.9.1 (i386-unknown-freebsdelf) ../.. compiled by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release). ../../exports/include . /usr/local/include /usr/local/i386-portbld-freebsd3.1/include /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/include /usr/include End of search list. , using BFD version 2.9.1 rm -f resize /usr/local/bin/egcc -o resize -v -pipe -mpentiumpro -O2 -ansi -pedantic -Dasm=__ asm -L../../exports/lib resize.o -L/usr/X11R6/lib -lxpg4 -lrpcsvc -lkrb -ldes -lcrypt -ltermcap -Wl,-rpath,/usr/X11R6/lib Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/s pecs gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release) /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/collect2 -m elf_i38 6 -dynamic-linker /usr/libexec/ld-elf.so.1 -o resize /usr/lib/crt1.o /usr/lib/cr ti.o /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/crtbegin.o -L.. /../exports/lib -L/usr/X11R6/lib -L/usr/local/lib/gcc-lib/i386-portbld-freebsd3. 1/egcs-2.91.66 -L/usr/local/i386-portbld-freebsd3.1/lib -L/usr/local/lib resize. o -lxpg4 -lrpcsvc -lkrb -ldes -lcrypt -ltermcap -rpath /usr/X11R6/lib -lgcc -lc -lgcc /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/crtend.o /usr/ lib/crtn.o -- Andreas Klemm http://www.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html powered by Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message