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

List:       koffice
Subject:    Re: Pb compile
From:       Werner Trobin <wtrobin () carinthia ! com>
Date:       1999-10-10 19:12:24
[Download RAW message or body]

Laurent montel wrote:
> 
> Hello my name is laurent
> I work on kspread so now I want to install kdelibs
> but there is this problem:
> make[1]: Leaving directory /home/kdelibs/corba/cuteidl/sti'
> make[1]: Entering directory /home/kdelibs/corba/cuteidl/sti'
> make[1]: Nothing to be done for ll'.
> make[1]: Leaving directory /home/kdelibs/corba/cuteidl/sti'
> Making all in .
> make[1]: Entering directory /home/kdelibs/corba/cuteidl'
> /bin/sh ../../libtool --silent --mode=link g++ -DCPP=\"mico-cpp\"
> -ftemplate-depth-42  -fno-repo -L/usr/lib
> -L/home/source/toto/qt-public-cvs/lib  -L/usr/X11R6/lib -L/home/mico/lib
> -o
> cuteidl -rpath /usr/lib -rpath /home/source/toto/qt-public-cvs/lib
> -rpath
> /usr/X11R6/lib params.o parser.o yacc.o scanner.o parsenode.o
> idlparser.o codegen.o codegen-qt-util.o codegen-qt-common.o
> codegen-qt-stub.o codegen-qt-skel.o codegen-qt-impl.o codegen-qt.o dep.o
> 
> error.o const.o db.o prepro.o alloca.o main.o -lmico2.3.0 -lcrypt
> /home/mico/lib/libmico2.3.0.so: undefined reference to dlerror'
> /home/mico/lib/libmico2.3.0.so: undefined reference to dlclose'
> /home/mico/lib/libmico2.3.0.so: undefined reference to dlopen'
> /home/mico/lib/libmico2.3.0.so: undefined reference to dlsym'
> collect2: ld returned 1 exit status
> make[1]: *** [cuteidl] Error 1
> make[1]: Leaving directory /home/kdelibs/corba/cuteidl'
> make: *** [all-recursive] Error 1
> 
> So can you help me ?
> 
> I use QT-10-10-99
>  -egcs-2.91.66
>  -Redhat 6.0
>  -Kdelibs-10-10-99
>  -mico2.3.0
> I compile mico with :
>  ./configure --disable-static --enable-shared --disable-mini-stl
>                         --disable-coss
> So can you help me please ?

You have to add -ldl to the linked libs (e.g. at 'all_libraries' in the
Makefile). I don't know if that is 100% correct - at least it works >:)

Werner

> 
> thanks

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

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