Current Trunk Fails to Link

Bug #1007611 reported by Reuben
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I figured this was maybe something to do with code changes in the works, but trunk has not built for several weeks now. Always fails at the very end when trying to link. (This is when building with cmake)

[100%] Building CXX object src/CMakeFiles/inkscape.dir/main.cpp.o
Linking CXX executable ../bin/inkscape
../lib/libnrtype_LIB.a(Layout-TNG-Output.cpp.o): In function `Inkscape::Text::Layout::print(SPPrintContext*, Geom::OptRect const&, Geom::OptRect const&, Geom::OptRect const&, Geom::Affine const&) const':
Layout-TNG-Output.cpp:(.text+0x24ce): undefined reference to `Inkscape::Extension::Print::textToPath()'
../lib/libinkscape_LIB.a(print.cpp.o): In function `sp_print_document_to_file(SPDocument*, char const*)':
print.cpp:(.text+0x2f9): undefined reference to `Inkscape::Extension::Print::begin(SPDocument*)'
print.cpp:(.text+0x312): undefined reference to `Inkscape::Extension::Print::finish()'
../lib/libinkscape_LIB.a(print.cpp.o): In function `sp_print_bind(SPPrintContext*, Geom::Affine const&, float)':
print.cpp:(.text+0x4): undefined reference to `Inkscape::Extension::Print::bind(Geom::Affine const&, float)'
../lib/libinkscape_LIB.a(print.cpp.o): In function `sp_print_release(SPPrintContext*)':
print.cpp:(.text+0x14): undefined reference to `Inkscape::Extension::Print::release()'
../lib/libinkscape_LIB.a(print.cpp.o): In function `sp_print_comment(SPPrintContext*, char const*)':
print.cpp:(.text+0x24): undefined reference to `Inkscape::Extension::Print::comment(char const*)'
../lib/libinkscape_LIB.a(print.cpp.o): In function `sp_print_fill(SPPrintContext*, std::vector<Geom::Path, std::allocator<Geom::Path> > const&, Geom::Affine const&, SPStyle const*, Geom::OptRect const&, Geom::OptRect const&, Geom::OptRect const&)':
print.cpp:(.text+0x34): undefined reference to `Inkscape::Extension::Print::fill(std::vector<Geom::Path, std::allocator<Geom::Path> > const&, Geom::Affine const&, SPStyle const*, Geom::OptRect const&, Geom::OptRect const&, Geom::OptRect const&)'
../lib/libinkscape_LIB.a(print.cpp.o): In function `sp_print_stroke(SPPrintContext*, std::vector<Geom::Path, std::allocator<Geom::Path> > const&, Geom::Affine const&, SPStyle const*, Geom::OptRect const&, Geom::OptRect const&, Geom::OptRect const&)':
print.cpp:(.text+0x44): undefined reference to `Inkscape::Extension::Print::stroke(std::vector<Geom::Path, std::allocator<Geom::Path> > const&, Geom::Affine const&, SPStyle const*, Geom::OptRect const&, Geom::OptRect const&, Geom::OptRect const&)'
../lib/libinkscape_LIB.a(print.cpp.o): In function `sp_print_image_R8G8B8A8_N(SPPrintContext*, unsigned char*, unsigned int, unsigned int, unsigned int, Geom::Affine const&, SPStyle const*)':
print.cpp:(.text+0x54): undefined reference to `Inkscape::Extension::Print::image(unsigned char*, unsigned int, unsigned int, unsigned int, Geom::Affine const&, SPStyle const*)'
../lib/libinkscape_LIB.a(print.cpp.o): In function `sp_print_text(SPPrintContext*, char const*, Geom::Point, SPStyle const*)':
print.cpp:(.text+0x64): undefined reference to `Inkscape::Extension::Print::text(char const*, Geom::Point const&, SPStyle const*)'
../lib/libinkscape_LIB.a(system.cpp.o): In function `Inkscape::Extension::build_from_reprdoc(Inkscape::XML::Document*, Inkscape::Extension::Implementation::Implementation*)':
system.cpp:(.text+0x1c9): undefined reference to `Inkscape::Extension::Print::Print(Inkscape::XML::Node*, Inkscape::Extension::Implementation::Implementation*)'
../lib/libinkscape_LIB.a(system.cpp.o): In function `Inkscape::Extension::get_print(char const*)':
system.cpp:(.text+0xa69): undefined reference to `typeinfo for Inkscape::Extension::Print'
../lib/libinkscape_LIB.a(latex-pstricks-out.cpp.o): In function `Inkscape::Extension::Internal::LatexOutput::save(Inkscape::Extension::Output*, SPDocument*, char const*)':
latex-pstricks-out.cpp:(.text+0xbc): undefined reference to `Inkscape::Extension::Print::begin(SPDocument*)'
latex-pstricks-out.cpp:(.text+0xd5): undefined reference to `Inkscape::Extension::Print::finish()'
collect2: ld returned 1 exit status
make[2]: *** [bin/inkscape] Error 1
make[1]: *** [src/CMakeFiles/inkscape.dir/all] Error 2
make: *** [all] Error 2

Tags: build cmake
su_v (suv-lp)
tags: added: build cmake
Revision history for this message
su_v (suv-lp) wrote :

Based on the pastes Denis had posted on irc before filing the bug [1], this is a duplicate of
Bug #1005624 “File naming may break CMake build”
<https://bugs.launchpad.net/inkscape/+bug/1005624>

Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

[1] <http://www.pasteall.org/32343>
    <http://www.pasteall.org/32345>
    <http://www.pasteall.org/32347/bash>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.