Bug 56452 - g++ 3.2 does not link with a project due to missing libraries from subdirectories
Summary: g++ 3.2 does not link with a project due to missing libraries from subdirecto...
Status: RESOLVED DUPLICATE of bug 56450
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 21:17 UTC by Alex Harford
Modified: 2003-03-26 22:11 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 Alex Harford 2003-03-26 21:19:32 UTC
Version:           2.1.4 (using KDE KDE 3.1)
Installed from:    Slackware Packages
Compiler:          g++ 3.2 
OS:          Linux

I have sent a KDevelop program to a friend who is trying to compile on his RedHat 8.0 system with g++ 3.2

I am using g++ 2.95.

Everything links fine on my computer but the libraries created in subdirectories do not link because it is not enough to include just the libBlah.a file for g++ 3.2.  It also needs to have the '-lBlah -LBlahdirectory' options added.

The workaround I have used it to take the line from the Makefile.am and add it manually:

buffy_LDFLAGS = $(all_libraries) -lCollision -LCollision -lCharacter -LCharacter

This workaround still works on my g++ 2.95 system.
Comment 1 Caleb Tennis 2003-03-26 22:11:52 UTC

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