public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* undefined symbol: __register_frame.  Why?
@ 1997-12-09 19:32 Andrew V. Shuvalov
  1997-12-10 10:46 ` H.J. Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew V. Shuvalov @ 1997-12-09 19:32 UTC (permalink / raw)
  To: egcs

Hello All!
   Can you help me? Take a look:

[andrew@apple node]$ make
egcs++ -v -Wall -DDEBUG -g  -o sunder_node  node.o
errors.o protocol.o requests.o sundercontext.o
renderdecode.o glxcommon.o  -lg++  -lMesaGL
-lMesaGLU -lX11 -lXext -lm -L/usr/X11R6/lib
Reading specs from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/specs

gcc version egcs-2.90.21 971202 (egcs-1.00
release)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/ld
-m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o
sunder_node /usr/lib/crt1.o /usr/lib/crti.o
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/crtbegin.o
-L/usr/X11R6/lib
-L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21
-L/usr/local/i686-pc-linux-gnu/lib
-L/usr/local/lib node.o errors.o protocol.o
requests.o sundercontext.o renderdecode.o
glxcommon.o -lg++ -lMesaGL -lMesaGLU -lX11 -lXext
-lstdc++ -lm
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/libgcc.a
-lc
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/libgcc.a
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/crtend.o
/usr/lib/crtn.o

[andrew@apple node]$ ./sunder_node
./sunder_node: error in loading shared libraries
: undefined symbol: __register_frame


How this can happens? register_frame comes from
libgcc.a, isn't it?

Andrew



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: undefined symbol: __register_frame.  Why?
  1997-12-09 19:32 undefined symbol: __register_frame. Why? Andrew V. Shuvalov
@ 1997-12-10 10:46 ` H.J. Lu
  0 siblings, 0 replies; 4+ messages in thread
From: H.J. Lu @ 1997-12-10 10:46 UTC (permalink / raw)
  To: egcs

> 
> Hello All!
>    Can you help me? Take a look:
> 
> [andrew@apple node]$ make
> egcs++ -v -Wall -DDEBUG -g  -o sunder_node  node.o
> errors.o protocol.o requests.o sundercontext.o
> renderdecode.o glxcommon.o  -lg++  -lMesaGL
> -lMesaGLU -lX11 -lXext -lm -L/usr/X11R6/lib
> Reading specs from
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/specs
> 
> gcc version egcs-2.90.21 971202 (egcs-1.00
> release)
>  /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/ld
> -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o
> sunder_node /usr/lib/crt1.o /usr/lib/crti.o
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/crtbegin.o
> -L/usr/X11R6/lib
> -L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21
> -L/usr/local/i686-pc-linux-gnu/lib
> -L/usr/local/lib node.o errors.o protocol.o
> requests.o sundercontext.o renderdecode.o
> glxcommon.o -lg++ -lMesaGL -lMesaGLU -lX11 -lXext
> -lstdc++ -lm
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/libgcc.a
> -lc
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/libgcc.a
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.21/crtend.o
> /usr/lib/crtn.o
> 
> [andrew@apple node]$ ./sunder_node
> ./sunder_node: error in loading shared libraries
> : undefined symbol: __register_frame
> 
> 
> How this can happens? register_frame comes from
> libgcc.a, isn't it?
> 

You may be using different libc.so to link and run.

# nm /lib/libc.so.6 | grep __register_frame
000c1534 T __register_frame
000c1588 T __register_frame_table


-- 
H.J. Lu (hjl@gnu.org)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: undefined symbol: __register_frame. Why?
  1997-12-14 16:30 Andrew V. Shuvalov
@ 1997-12-14 18:07 ` H.J. Lu
  0 siblings, 0 replies; 4+ messages in thread
From: H.J. Lu @ 1997-12-14 18:07 UTC (permalink / raw)
  To: egcs

> 
> Hello!
> 
> H.J. Lu (hjl@lucon.org):
> 
> >>
> >> [andrew@apple node]$ ./sunder_node
> >> ./sunder_node: error in loading shared
> libraries
> >> : undefined symbol: __register_frame
> >>
> >>
> >> How this can happens? register_frame comes from
> 
> >> libgcc.a, isn't it?
> >>
> 
> >You may be using different libc.so to link and
> run.

Where did you get sunder_node? If you compiled it youself,
please add -Wl,-verbose -Wl,-Map,map to the final link and
send me the output and map.

H.J.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: undefined symbol: __register_frame. Why?
@ 1997-12-14 16:30 Andrew V. Shuvalov
  1997-12-14 18:07 ` H.J. Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew V. Shuvalov @ 1997-12-14 16:30 UTC (permalink / raw)
  To: egcs

Hello!

H.J. Lu (hjl@lucon.org):

>>
>> [andrew@apple node]$ ./sunder_node
>> ./sunder_node: error in loading shared
libraries
>> : undefined symbol: __register_frame
>>
>>
>> How this can happens? register_frame comes from

>> libgcc.a, isn't it?
>>

>You may be using different libc.so to link and
run.

># nm /lib/libc.so.6 | grep __register_frame
>000c1534 T __register_frame
>000c1588 T __register_frame_table

Thank You for help, but this still don't help...
:(
I type:
# nm /lib/libc.so.6 | grep __register_frame
#
And got nothing.

# rpm -q -a | grep libc
libcrypt1-1.0-5
libc-5.3.12-18
rpm-devel-2.4.10-1glibc
glibc-2.0.5c-10
glibc-devel-2.0.5c-10
rpm-2.4.10-1glibc
libc-5.3.12-24

# uname -a
Linux apple.ecsl.cs.sunysb.edu 2.0.31 #4 Sat Nov
22 17:15:46 EST 1997 i686 unknown

# grep -l __register_frame /lib/lib*
# grep -l __register_frame /usr/lib/lib*
#


--
H.J. Lu (hjl@gnu.org)

__
Andrew



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-12-14 18:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-09 19:32 undefined symbol: __register_frame. Why? Andrew V. Shuvalov
1997-12-10 10:46 ` H.J. Lu
1997-12-14 16:30 Andrew V. Shuvalov
1997-12-14 18:07 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).