Public bug reported: Hi,
The library package version 1.1.2-3.1 does not seems to have been build with c++11 flags. The main characteristic is, when linked to another lib, the error: /usr/include/log4cplus/loggingmacros.h:106 : undefined reference to « log4cplus::Logger::Logger(log4cplus::Logger&&) » I had no problem in Ubuntu 15.10 I downgraded the package to liblog4cplus-dev_1.0.4-1.3_amd64 and I do not have to problem anymore. Note: stackoverflow link for the error: http://stackoverflow.com/questions/32688568/an-error-undefined-reference-to-log4cplusloggeroperator-log4cpluslogger ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: liblog4cplus-dev 1.1.2-3.1 ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6 Uname: Linux 4.4.0-21-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CurrentDesktop: GNOME Date: Fri May 6 10:48:18 2016 InstallationDate: Installed on 2014-08-18 (627 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) SourcePackage: log4cplus UpgradeStatus: Upgraded to xenial on 2016-04-26 (9 days ago) ** Affects: log4cplus (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug third-party-packages xenial ** Description changed: Hi, - The library does not seems to have been build with c++11 flags. + The library package version 1.1.2-3.1 does not seems to have been build + with c++11 flags. The main characteristic is, when linked to another lib, the error: /usr/include/log4cplus/loggingmacros.h:106 : undefined reference to « log4cplus::Logger::Logger(log4cplus::Logger&&) » - I had no problem in Ubuntu 15.10 I downgraded the package to liblog4cplus-dev_1.0.4-1.3_amd64 and I do not have to problem anymore. - Note: stackoverflow link for the error: http://stackoverflow.com/questions/32688568/an-error-undefined-reference-to-log4cplusloggeroperator-log4cpluslogger ProblemType: Bug DistroRelease: Ubuntu 16.04 - Package: liblog4cplus-dev 1.0.4-1.3 + Package: liblog4cplus-dev 1.1.2-3.1 ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6 Uname: Linux 4.4.0-21-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CurrentDesktop: GNOME Date: Fri May 6 10:48:18 2016 InstallationDate: Installed on 2014-08-18 (627 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) SourcePackage: log4cplus UpgradeStatus: Upgraded to xenial on 2016-04-26 (9 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578970 Title: library not build with c++11 flags To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/log4cplus/+bug/1578970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs