[ruby-talk:00175] Re: some more information

From: matz@... (Yukihiro Matsumoto)
Date: 1999-01-06 04:06:57 UTC
List: ruby-talk #175
Hi.

In message "[ruby-talk:00174] some more information"
    on 99/01/05, Julian Fondren <julian@imaji.net> writes:

|Grasping at straws perhaps, but the following warnings occur during the
|compilation of ruby in the tcltklib part - these aside from the final
|``ld: symbol __GLOBAL_OFFSET_TABLE_ remains undefined'' which only occurs
|when tcltklib is included as an extention and a few on deprecation are the
|only noteworthy lines during the compile. Also, the compiles that included
|the `ld: symbol' bit were made with the --with-static-linked-ext configure
|flag -- without which the only difference is that I wouldn't have a
|coredump until trying to require one of the extensions. Do these ring a
|bell for anyone as to what the problem might be?
|
|
|
|/usr/local/include/tcl8.0/tcl.h:218: warning: `EXTERN' redefined
|/usr/local/tmp/ruby-1.3/defines.h:38: warning: this is the location of the previous definition

This warning appears on all platforms with tcl 8.0 or later.  I don't
think it's the cause. Hmm.

|When I run gdb (the GNU debugger) on ruby I get the following output from
|the `run' command:
|
|Program recieved signal SIGSEGV, Segmentation fault.
|0xa8518 in Tcl_FindExecutable ()

I still do not have any information about __GLOBAL_OFFSET_TABLE_, but
this one was familiar.  This is caused by mismatch between your tcl.h
and linked tcl library.  I guess the problems are caused because
extconf.rb failed to find proper library and include file.

Could you show me pathes of your include files and libraries. And
CFLAGS and DLDFLAGS lines from generated Makefile, please.

                                                matz.

In This Thread