[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Problem compiling kdelibs
From: fenix <fenix () club-internet ! fr>
Date: 2002-05-13 20:00:16
[Download RAW message or body]
Le dim 12/05/2002 à 13:30, Asaf a écrit :
> Hi,
> I had problems compiling kdelibs - dcopidl used to segfault, now somehow
> (I really don't know how),
> the problem has changed - now ld complains: "/usr/bin/ld: cannot find
> -lqt-mt" I am not an expert in gcc, but as far as I can see gcc has the
> path for "libqt-mt.so" and "libqt-mt.so" is a symbolic link to the
> actual file.
> Here is the output of make (note, this is not the first make, therefore
> the output is shorter):
> [asaf@asaf kdelibs]$ make
> make all-recursive
> make[1]: Entering directory `/home/asaf/develop/KDE/kdelibs'
> Making all in dcop
> make[2]: Entering directory `/home/asaf/develop/KDE/kdelibs/dcop'
> Making all in KDE-ICE
> make[3]: Entering directory `/home/asaf/develop/KDE/kdelibs/dcop/KDE-ICE'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/asaf/develop/KDE/kdelibs/dcop/KDE-ICE'
> Making all in .
> make[3]: Entering directory `/home/asaf/develop/KDE/kdelibs/dcop'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/asaf/develop/KDE/kdelibs/dcop'
> Making all in dcopidl
> make[3]: Entering directory `/home/asaf/develop/KDE/kdelibs/dcop/dcopidl'
> /bin/sh ../../libtool --mode=link --tag=CXX g++ -Wnon-virtual-dtor
> -Wno-long-lo
> ng -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prot
> otypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wco
> nversion -fno-builtin -g3 -fno-exceptions -fno-check-new
> -DQT_NO_TRANSLATION -D
> QT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -o dcopidl -R
> /usr/local/
> kde/lib -R /usr/local/qt/lib -R /usr/X11R6/lib main.o yacc.o scanner.o
> -lqt-mt
> -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread
> g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall
> -pedanti
> c -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
> -D_XOPEN_SOURCE=
> 500 -D_BSD_SOURCE -Wcast-align -Wconversion -fno-builtin -g3
> -fno-exceptions -fn
> o-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_
> COMPAT -o dcopidl main.o yacc.o scanner.o -lqt-mt -lpng -lz -lm -lXext
> -lX11 -l
> resolv -lSM -lICE -lpthread -Wl,--rpath -Wl,/usr/local/kde/lib
> -Wl,--rpath -Wl,/
> usr/local/qt/lib -Wl,--rpath -Wl,/usr/X11R6/lib
> /usr/bin/ld: cannot find -lqt-mt
> collect2: ld returned 1 exit status
> make[3]: *** [dcopidl] Error 1
> make[3]: Leaving directory `/home/asaf/develop/KDE/kdelibs/dcop/dcopidl'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/asaf/develop/KDE/kdelibs/dcop'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/asaf/develop/KDE/kdelibs'
> make: *** [all-recursive-am] Error 2
> [asaf@asaf kdelibs]$
> I use gcc 2.95.3 (compiled on my own)
> and glibc-2.2.4-24 (from RedHat7.2 rpm)
> I use the latest qt-copy from cvs.
> Any idea?
> I feel lost... :-(
>
> TIA,
> Asaf Gery
Hi,
try this patch, it works for me
FeniX
PS: why developers don't test HEAD compil with kde2 installed ;(
it's my 6-th patch for same problems
Index: dcop/dcopidl/Makefile.am
===================================================================
RCS file: /home/kde/kdelibs/dcop/dcopidl/Makefile.am,v
retrieving revision 1.13
diff -u -r1.13 Makefile.am
--- dcop/dcopidl/Makefile.am 11 May 2002 12:23:47 -0000 1.13
+++ dcop/dcopidl/Makefile.am 13 May 2002 19:48:08 -0000
@@ -11,7 +11,7 @@
noinst_HEADERS = yacc.cc.h
dcopidl_LDADD = $(LIB_QT)
-dcopidl_LDFLAGS = $(KDE_RPATH)
+dcopidl_LDFLAGS = $(all_libraries) $(KDE_RPATH)
####### Build rules
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
>> 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