Am Sonntag, 3. Juli 2016 um 12:10:45, schrieb Kornel Benko <[email protected]>
> Am Samstag, 2. Juli 2016 um 11:17:27, schrieb Georg Baum <[email protected]>
> > commit 5ef180842c65b775f503a0e6ae617a43da4f1afc
> > Author: Georg Baum <[email protected]>
> > Date:   Sat Jul 2 11:09:26 2016 +0200
> > 
> >     Ensure that iconv and zlib are always found
> >     
> >     If the included thirdparty libs are requested, use them, even on unix. 
> > This is
> >     consistent with autotools (but the recommended way is of course to use 
> > the
> >     system libs). If the included thirdparty libs are not requested then 
> > try to find
> >     libiconv and zlib also on windows. This will lead to an error unless 
> > the libs are
> >     found via manually added include and link paths, but this is wanted 
> > since
> >     libiconv and zlib are not optional.
> 
> I cannot compile anymore with this change with cmake.
> Previously selecting LYX_3RDPARTY_BUILD, I was able to compile and bind with 
> our hunspell sources.
> Now the compilation is OK too, but if it comes to bind I have many 
> unsatisfied  references.
> 
> Will try to find out whats wrong, but I remember having problems before. 
> That's why hunspel and iconv/zlib
> were separated. (I mean 'if(LYX_3RDPARTY_BUILD)' on separate places in 
> CMakeLists.txt)
> 
> Took me some hours to find out, because also my hard disk seems to have 
> problems, so I could not immediately
> determine whats wrong.
> Cleaning tree, changing compiler, checking packages, and so on.

To show a small set of errors
...
../../lib/libsupport.a(Messages.cpp.o): In function 
`lyx::Messages::readMoFile()':
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:326: undefined reference to 
`std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::~basic_string()'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:324: undefined reference to 
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::~basic_string()'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:296: undefined reference to 
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::~basic_string()'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:257: undefined reference to 
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::~basic_string()'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:251: undefined reference to 
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::~basic_string()'
../../lib/libsupport.a(Messages.cpp.o): In function 
`lyx::Messages::get(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const':
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:337: undefined reference to 
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::empty() const'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:338: undefined reference to 
`std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::basic_string()'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:342: undefined reference to 
`std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::basic_string(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:346: undefined reference to 
`std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::basic_string(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> >&&)'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:344: undefined reference to 
`std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::~basic_string()'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:344: undefined reference to 
`std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::~basic_string()'
../../lib/libsupport.a(Messages.cpp.o): In function 
`__static_initialization_and_destruction_0':
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:139: undefined reference to 
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::basic_string()'
/usr2/src/lyx/lyx-git/src/support/Messages.cpp:139: undefined reference to 
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::~basic_string()'
../../lib/libiconv.a(localcharset.c.o): In function `get_charset_aliases':

But there are thousands of them (not kidding, and not only from Messages.cpp)

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to