Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 1999 23:46:14 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        "David O'Brien" <obrien@NUXI.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: X problems using egcs as compiler
Message-ID:  <19990403234614.A28774@titan.klemm.gtn.com>
In-Reply-To: <19990403115154.A72956@nuxi.com>; from David O'Brien on Sat, Apr 03, 1999 at 11:51:54AM -0800
References:  <19990403193632.A55975@titan.klemm.gtn.com> <19990403115154.A72956@nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990403234614.A28774>