Bug 282682

Summary: KmlParser fails to link after recent change in master
Product: [Applications] marble Reporter: Christoph Feck <cfeck>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal CC: tgridel
Priority: NOR    
Version: unspecified   
Target Milestone: 1.3 (KDE 4.8)   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christoph Feck 2011-09-24 13:16:24 UTC
Here is the error message:

CMakeFiles/KmlPlugin.dir/KmlParser.o: In function `Marble::KmlParser::isValidRootElement()':                                                                                                            
/local/git/KDE/edu/marble/src/plugins/runner/kml/KmlParser.cpp:27: undefined reference to `Marble::kml::kmlTag_kml'
CMakeFiles/KmlPlugin.dir/KmlParser.o: In function `Marble::KmlParser::isValidElement(QString const&) const':
/local/git/KDE/edu/marble/src/plugins/runner/kml/KmlParser.cpp:35: undefined reference to `Marble::kml::kmlTag_nameSpace20'
/local/git/KDE/edu/marble/src/plugins/runner/kml/KmlParser.cpp:36: undefined reference to `Marble::kml::kmlTag_nameSpace21'
/local/git/KDE/edu/marble/src/plugins/runner/kml/KmlParser.cpp:37: undefined reference to `Marble::kml::kmlTag_nameSpace22'
/local/git/KDE/edu/marble/src/plugins/runner/kml/KmlParser.cpp:38: undefined reference to `Marble::kml::kmlTag_nameSpaceOgc22'
collect2: ld returned 1 exit status
make[2]: *** [lib/KmlPlugin.so] Error 1
make[2]: Target `src/plugins/runner/kml/CMakeFiles/KmlPlugin.dir/build' not remade because of errors.
make[1]: *** [src/plugins/runner/kml/CMakeFiles/KmlPlugin.dir/all] Error 2
Comment 1 Christoph Feck 2011-09-24 14:07:01 UTC
Got fixed with commit 3184e01, thanks.