[Bug 56452] New: g++ 3.2 does not link with a project due to missing libraries from subdirectories

Alex Harford alex at alexharford.com
Wed Mar 26 21:20:08 UTC 2003


------- 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=56452     
           Summary: g++ 3.2 does not link with a project due to missing
                    libraries from subdirectories
           Product: kdevelop
           Version: unspecified
          Platform: Slackware Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: alex at alexharford.com


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.




More information about the KDevelop-devel mailing list