[Bug 152034] New: link error in dcop/dcopidl and dcop/dcopidl2cpp due to missing library path in Makefile
ndeb at ece.cmu.edu
ndeb at ece.cmu.edu
Fri Nov 9 00:40:46 CET 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=152034
Summary: link error in dcop/dcopidl and dcop/dcopidl2cpp due to
missing library path in Makefile
Product: kdelibs
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdelibs-bugs kde org
ReportedBy: ndeb ece cmu edu
Version: (using KDE KDE 3.5.8)
Installed from: Compiled From Sources
Compiler: gcc version 3.2.3
OS: Linux
I am trying to compile kde-3.5.8 from source on RHEL3.
During linking the linker fails to find a matching library for "-lqt-mt" because the qt path (-L flag) is missing in the linker command-line. The problem is in the Makefile in this line:
dcopidl_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) \
$(dcopidl_LDFLAGS) $(LDFLAGS) -o $@
If $(AM_LDFLAGS) is added after $(KDE_CXXFLAGS), the linking works fine.
More information about the Kdelibs-bugs
mailing list