Package: src:solarpowerlog
Followup-For: Bug #778125
Hi Salvatore,
Seemst to be two problems:
- m4/boost.m4 was outdated; (this is fixed already in the repository)
- seems that we'll need boost to be rebuilt with GCC5 first, as I cannot link
against programm_options otherwise:
Testcase is the testprogramm used by configure:
tobi@edoras:~$ vim config.cpp
tobi@edoras:~$ g++ -o test config.cpp -lstdc++ -l boost_program_options
/tmp/cchxuw8h.o: In function `main':
config.cpp:(.text+0x54): undefined reference to
`boost::program_options::options_description::options_description(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned
int)'
collect2: error: ld returned 1 exit status
tobi@edoras:~$ cat config.cpp
#include <boost/program_options.hpp>
int
main ()
{
boost::program_options::options_description d("test");
;
return 0;
}
tobi@edoras:~$ g++ -o test config.cpp -lstdc++ -l boost_program_options
-D_GLIBCXX_USE_CXX11_ABI=0
I might be wrong, though. Any thoughts?
--
tobi
-- System Information:
Debian Release: stretch/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]