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

List:       kde-devel
Subject:    Re: KDE 3 cvs version: I despair slowly !
From:       Kai Heitkamp <kai () kde ! org>
Date:       2001-10-30 16:53:36
[Download RAW message or body]

On Dienstag, 30. Oktober 2001 16:47, Dirk Mueller wrote:
> > libqt-mt.so.3 => /usr/lib/qt3/lib/libqt-mt.so.3 (0x401fd000)
>
> is this the qt 3.0 release you compiled on your own? As far as I know there
> is no Qt 3.0 RPM for SuSE 7.2.
Yes, it's qt-copy from cvs !

> Anyway, what dlopen mode does configure choose on your system? can you
> inspect config.log (there are two or three libtool checks about dlopen)?
I find more than 3 checks about dlopen in config.log:

---begin---
ltconfig:1583: checking for dlopen in -ldl
ltconfig:1603: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow 
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -g -O2   -fno-builtin   conftest.c -ldl   1>&5

(...)

ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1957: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow 
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -g -O2   -fno-builtin   -Wl,--export-dynamic conftest.c -ldl  
1>&5
conftest.c:41: warning: no previous prototype for `fnord'
conftest.c: In function `fnord':
conftest.c:41: warning: unused variable `i'
conftest.c: In function `main':
conftest.c:43: warning: implicit declaration of function `dlopen'
conftest.c:43: warning: assignment makes pointer from integer without a cast
conftest.c:44: warning: implicit declaration of function `dlsym'
conftest.c:44: warning: assignment makes pointer from integer without a cast
conftest.c:44: warning: assignment makes pointer from integer without a cast
conftest.c:45: warning: implicit declaration of function `dlclose'
conftest.c:45: warning: implicit declaration of function `exit'
ltconfig: failed program was:
/*#line 1910 "ltconfig"*/

#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif

#include <stdio.h>

#ifdef RTLD_GLOBAL
# define LTDL_GLOBAL	RTLD_GLOBAL
#else
# ifdef DL_GLOBAL
#  define LTDL_GLOBAL	DL_GLOBAL
# else
#  define LTDL_GLOBAL	0
# endif
#endif

/* We may have to define LTDL_LAZY_OR_NOW in the command line if we
   find out it does not work in some platform. */
#ifndef LTDL_LAZY_OR_NOW
# ifdef RTLD_LAZY
#  define LTDL_LAZY_OR_NOW	RTLD_LAZY
# else
#  ifdef DL_LAZY
#   define LTDL_LAZY_OR_NOW	DL_LAZY
#  else
#   ifdef RTLD_NOW
#    define LTDL_LAZY_OR_NOW	RTLD_NOW
#   else
#    ifdef DL_NOW
#     define LTDL_LAZY_OR_NOW	DL_NOW
#    else
#     define LTDL_LAZY_OR_NOW	0
#    endif
#   endif
#  endif
# endif
#endif

void fnord() { int i=42; }
int main() {
    void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
    if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
               if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); return 
1;}

c++ -E conftest.cc

(...)

ltconfig:1902: checking whether a program can dlopen itself

(...)

configure:6081: checking for dlopen in -ldl
---end----

> you can also try starting kdeinit manually.
How ?


Kai
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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