undefined reference to `__deregister_frame_info'

Lawrence Gold gold@aros.net
Sun Sep 6 12:11:00 GMT 1998


I'm having trouble building egcs 1.1b.  I get the following error message:

make[1]: Entering directory `/home/gold/objdir/gcc'
gcc  -DIN_GCC    -g -O2  -DHAVE_CONFIG_H   -o g++ g++.o g++spec.o 
prefix.o \
  version.o choose-temp.o pexecute.o mkstemp.o  obstack.o     
./crtbegin.o: In function `__do_global_dtors_aux':
./crtbegin.o(.text+0x2d): undefined reference to `__deregister_frame_info'
./crtbegin.o: In function `frame_dummy':
./crtbegin.o(.text+0x56): undefined reference to `__register_frame_info'
make[1]: *** [g++] Error 1
make[1]: Leaving directory `/home/gold/objdir/gcc'
make: *** [all-gcc] Error 2


I configured with --prefix=/usr/local/egcs --enable-shared.  The problem 
also occurs without --enable-shared.

I'm running x86 Linux 2.0.35 with glibc 2.0.6 and gcc 2.7.2.3.  I'm 
uncertain about the version of my binutils, but they're fairly recent 
(no more than a few months old).

I notice that the two undefined references appear in gcc/frame.c, but I 
don't see this file getting compiled.

Any suggestions?  Thanks in advance!




More information about the Gcc-bugs mailing list