log:

|...
|[ 99%] Building CXX object test/unit/CMakeFiles/podofo-test.dir/DateTest.cpp.o
|cd /build/libpodofo-0.9.6/obj-x86_64-linux-gnu/test/unit && 
/usr/lib/ccache/c++  -DPODOFO_HAVE_GCC_SYMBOL_VISIBILITY 
-I/build/libpodofo-0.9.6/obj-x86_64-linux-gnu -I/build/libpodofo-0.9.6 
-I/usr/include/x86_64-linux-gnu -I/usr/include/cppunit -I/usr/include/lua5.1 
-I/build/libpodofo-0.9.6/src -I/usr/include/freetype2 -I/src -I/src/os  -g -O2 
-fdebug-prefix-map=/build/libpodofo-0.9.6=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-Woverloaded-virtual -Wswitch-enum -Wcast-qual -Wwrite-strings 
-Wredundant-decls -Wreorder -Wno-deprecated-declarations   -W 
-fvisibility=hidden -g -o CMakeFiles/podofo-test.dir/DateTest.cpp.o -c 
/build/libpodofo-0.9.6/test/unit/DateTest.cpp
|[100%] Linking CXX executable podofo-test
|cd /build/libpodofo-0.9.6/obj-x86_64-linux-gnu/test/unit && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/podofo-test.dir/link.txt --verbose=1
|/usr/lib/ccache/c++  -g -O2 -fdebug-prefix-map=/build/libpodofo-0.9.6=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -Woverloaded-virtual -Wswitch-enum -Wcast-qual 
-Wwrite-strings -Wredundant-decls -Wreorder -Wno-deprecated-declarations  
-Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/podofo-test.dir/main.cpp.o 
CMakeFiles/podofo-test.dir/ColorTest.cpp.o 
CMakeFiles/podofo-test.dir/DeviceTest.cpp.o 
CMakeFiles/podofo-test.dir/ElementTest.cpp.o 
CMakeFiles/podofo-test.dir/EncodingTest.cpp.o 
CMakeFiles/podofo-test.dir/EncryptTest.cpp.o 
CMakeFiles/podofo-test.dir/FilterTest.cpp.o 
CMakeFiles/podofo-test.dir/FontTest.cpp.o 
CMakeFiles/podofo-test.dir/NameTest.cpp.o 
CMakeFiles/podofo-test.dir/PagesTreeTest.cpp.o 
CMakeFiles/podofo-test.dir/PageTest.cpp.o 
CMakeFiles/podofo-test.dir/PainterTest.cpp.o 
CMakeFiles/podofo-test.dir/ParserTest.cpp.o 
CMakeFiles/podofo-test.dir/TokenizerTest.cpp.o 
CMakeFiles/podofo-test.dir/StringTest.cpp.o 
CMakeFiles/podofo-test.dir/VariantTest.cpp.o 
CMakeFiles/podofo-test.dir/BasicTypeTest.cpp.o 
CMakeFiles/podofo-test.dir/TestUtils.cpp.o 
CMakeFiles/podofo-test.dir/DateTest.cpp.o  -o podofo-test  
-L/build/libpodofo-0.9.6/obj-x86_64-linux-gnu/src 
-Wl,-rpath,/build/libpodofo-0.9.6/obj-x86_64-linux-gnu/src -lpodofo 
-lfontconfig -lfreetype -lz -lidn -lcrypto -lcrypto -lssl -ljpeg -lpthread 
-lfreetype -lpng -lz -ltiff -lunistring -lcppunit -lidn -lcrypto -lcrypto -lssl 
-ljpeg -lpthread -lfreetype -lpng -ltiff -lunistring -lcppunit
|/usr/bin/ld: CMakeFiles/podofo-test.dir/ParserTest.cpp.o: in function 
`ParserTest::testReadXRefStreamContents()':
|./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1202: undefined 
reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1206: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1207: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1202: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1260: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1264: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1265: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1260: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1317: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1321: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1322: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1374: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1378: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1379: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1428: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1432: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1433: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1484: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1487: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1488: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1484: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1539: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1542: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1543: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1539: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1594: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1597: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1598: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1594: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1649: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1652: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1653: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1649: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1704: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1707: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1708: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1704: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1759: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1762: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1763: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1814: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::PdfXRefStreamParserObject(PoDoFo::PdfVecObjects*,
 PoDoFo::PdfRefCountedInputDevice const&, PoDoFo::PdfRefCountedBuffer const&, 
std::vector<PoDoFo::PdfParser::TXRefEntry, 
std::allocator<PoDoFo::PdfParser::TXRefEntry> >*)'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1817: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::Parse()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1818: 
undefined reference to `PoDoFo::PdfXRefStreamParserObject::ReadXRefTable()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1814: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1759: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1704: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1649: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: ./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1594: 
undefined reference to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()'
|/usr/bin/ld: 
CMakeFiles/podofo-test.dir/ParserTest.cpp.o:./obj-x86_64-linux-gnu/test/unit/./test/unit/ParserTest.cpp:1539:
 more undefined references to 
`PoDoFo::PdfXRefStreamParserObject::~PdfXRefStreamParserObject()' follow
|collect2: error: ld returned 1 exit status
|make[3]: *** [test/unit/CMakeFiles/podofo-test.dir/build.make:377: 
test/unit/podofo-test] Error 1
|make[3]: Leaving directory '/build/libpodofo-0.9.6/obj-x86_64-linux-gnu'
|make[2]: *** [CMakeFiles/Makefile2:832: 
test/unit/CMakeFiles/podofo-test.dir/all] Error 2
|make[2]: Leaving directory '/build/libpodofo-0.9.6/obj-x86_64-linux-gnu'
|make[1]: *** [Makefile:133: all] Error 2
|make[1]: Leaving directory '/build/libpodofo-0.9.6/obj-x86_64-linux-gnu'


This can be fixed by e.g.:
|--- a/src/base/PdfXRefStreamParserObject.h
|+++ b/src/base/PdfXRefStreamParserObject.h
|@@ -48,7 +48,7 @@
|  *
|  * It is mainly here to make PdfParser more modular.
|  */
|-class PdfXRefStreamParserObject : public PdfParserObject {
|+class PODOFO_API PdfXRefStreamParserObject : public PdfParserObject {
| public:
|
|     /** Parse the object data from the given file handle starting at


But then I ask, is that class meant to be part of the public API?
Otherwise, something else should be done to allow its linkage even with
-fvisibility=hidden.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to