[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: lt_preloaded_symbols
From:       Michael Matz <matzmich () cs ! tu-berlin ! de>
Date:       2000-03-07 16:14:18
[Download RAW message or body]

Hi,

On Tue, 7 Mar 2000, Ilmar S. Habibulin wrote:
> # define const
> #endif
> 
> /* The mapping between symbol names and symbols. */
> extern const struct {
>   const char *name;
>   lt_ptr_t address;
> }
> lt_preloaded_symbols[] =
> {\

That's OK.

> Maybe this is freebsd specific problem? Where else should be this symbols 
> defined?

Ahh. FreeBSD. You haven't said that. What compiler (version) are you
using? Which FreeBSD version. What is the output of 
% nm kdelibs/kio/slave/.libs/kioslaveS.o | grep lt_preloaded_sym 
% grep kdelibs/libtool "extern const" 
? 

If there is no extern const in libtool you have to recreate libtool (rm
it, rerun make -f Makefile.cvs ).

If that's not the problem you could try the following:

Edit kdelibs/libtool (temporarily) and uncomment line 3479 (should
begin with '$run $rm "$output_objdir/$dlsyms"' ). Rerun make in
kdelibs/kio/slave, go to kdelibs/kio/slave/.libs, then do a
% g++ -S kioslaveS.c
% grep lt_preloaded kioslaveS.s

There should be a line '.globl lt_preloaded_symbols' in the .s file. If
not try the above with gcc instead g++. If now there is this line you
could patch libtool to use gcc to compile this file (around line 3475
replace $CC with gcc).


Ciao,
Michael.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic