[Bug 76263] New: Automake manager put a file in Makefile.am twice

lagitus at mbnet.fi lagitus at mbnet.fi
Fri Feb 27 12:45:08 UTC 2004


------- 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=76263      
           Summary: Automake manager put a file in Makefile.am twice
           Product: kdevelop
           Version: 3.0.1
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: lagitus mbnet fi


Version:           3.0.1 (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
OS:          Linux

I deleted a target of my "test" subproject in the automake manager to add it again with a different type (changed "Program in bin" to "Program in noinst"). Then I added the one existing file that was in the old target to the new one and tried to compile. The compiler gave an error about main() being defined twice. The cause was this line in Makefile.am:
test_otocs_SOURCES = test-otocs.cpp test-otocs.cpp

The rest of Makefile.am looked OK.

I also added two other (new) targets in the same subproject after re-creating the first one if that matters.




More information about the KDevelop-devel mailing list