Bug 152034 - link error in dcop/dcopidl and dcop/dcopidl2cpp due to missing library path in Makefile
Summary: link error in dcop/dcopidl and dcop/dcopidl2cpp due to missing library path i...
Status: RESOLVED DUPLICATE of bug 151095
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-09 00:40 UTC by ndeb
Modified: 2007-11-09 01:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ndeb 2007-11-09 00:40:45 UTC
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.
Comment 1 Pino Toscano 2007-11-09 01:05:51 UTC

*** This bug has been marked as a duplicate of 151095 ***