| Summary: | link error in dcop/dcopidl and dcop/dcopidl2cpp due to missing library path in Makefile | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | ndeb |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
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.