problem when compiling

Jeffrey A Law law@cygnus.com
Sat Sep 5 00:31:00 GMT 1998


  In message < Pine.LNX.3.96.980904192040.8642C-100000@alpha.computers.org >you write:
  > Hello !!!
  > 
  > I've downloaded egcs 1.1a and when I run make I get this:
  > 
  > make[1]: Leaving directory `/root/egcs-1.1a/texinfo'
  > make[1]: Entering directory `/root/egcs-1.1a/etc'
  > make[1]: Nothing to be done for `all'.
  > make[1]: Leaving directory `/root/egcs-1.1a/etc'
  > make[1]: Entering directory `/root/egcs-1.1a/gcc'
  > gcc  -DIN_GCC   -DUSE_GNULIBC_1 -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 `/root/egcs-1.1a/gcc'
  > make: *** [all-gcc] Error 2
  > 
  > What's wrong and how can I fix this?
This is weird.  You should not be linking in ./crtbegin.o when building
the "g++" driver.

You might check for things like LDPATH, GCC_EXEC_PREFIX, LIBRARY_PATH
and similar stuff in your environment.

jeff



More information about the Gcc mailing list