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

List:       kde-devel
Subject:    Re: lt_dl stuff does not work
From:       Stephan Kulow <coolo () itm ! mu-luebeck ! de>
Date:       1999-06-23 19:35:48
[Download RAW message or body]

Mario Weilguni wrote:
> 
> When playing around with the animated menu stuff (which is now pluggable as
> shared library), I noticed that the lt_dl interface does not work correctly.
> The installed libtool files (libkdemenuslide.la) had
> dlname=''
> in it, and so lt_dlopen did not work. I replaced it with
> dlname='libmenukdeslide.so'
> and it worked fine.
> 
> So, am I using a wrong autoconf/automake/libtool version, or does my
> Makefile.am miss an important entry for libraries, or is this simply a bug?
> 
> Here's the relevant part of the Makefile:
> APPSDIR = $(kde_appsdir)/Utilities
> INCLUDES= $(all_includes)
> 
> # SUBDIRS =
> 
> lib_LTLIBRARIES = libkdemenuscale.la \
>                   libkdemenuslide.la \
>                   libkdemenualpha.la
> 
> libkdemenuscale_la_SOURCES = effect_scaling.cpp
> libkdemenuslide_la_SOURCES = effect_sliding.cpp
> libkdemenualpha_la_SOURCES = effect_alpha.cpp
You don't create a module here, you create a library. Look at
kimgio/Makefile.am, you'll find -module -avoid-version

> 
> bin_PROGRAMS = kanimatedmenus
> 
> kanimatedmenus_SOURCES = main.cpp toplevel.cpp kanimatedmenu.cpp
> 
> kanimatedmenus_METASOURCES = USE_AUTOMOC
> kanimatedmenus_LDFLAGS = $(all_libraries) $(KDE_RPATH)
> 
> kanimatedmenus_LDADD   = -lkdeui -lkdecore -lqt -lXext -lX11 $(LIBSOCKET)
> 
> DISTCLEANFILES = $()
> 
Remove this :)

Greetings, Stephan

-- 
KDEDIR is dead, long lives KDEDIRS - the winner takes it all

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

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