This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem when compiling



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]