Kornel Benko wrote:

> Now the problem is linking of lyxclient ...
> cd /usr/BUILD/BuildLyxGitQtlocal/src/client && /usr/bin/cmake -E
> cmake_link_script CMakeFiles/lyxclient2.2.dir/link.txt --verbose=1
> /usr/bin/c++   -Wall -Wunused-parameter --std=c++11 -fno-strict-aliasing 
> -Wall -Wunused-parameter --std=c++11 -fno-strict-aliasing -O0 -g3 -D_DEBUG
>   CMakeFiles/lyxclient2.2.dir/client.cpp.o
> CMakeFiles/lyxclient2.2.dir/boost.cpp.o
> CMakeFiles/lyxclient2.2.dir/__/TexRow.cpp.o  -o ../../bin/lyxclient2.2
> -rdynamic ../../lib/libsupport.a ../../lib/libboost_signals.a
> ../../lib/libboost_regex.a -lmagic -laspell
> /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.2.1
> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.2.1 -lz
> CMakeFiles/lyxclient2.2.dir/__/TexRow.cpp.o: In function
> `lyx::TexRow::rowEntryFromCursorSlice(lyx::CursorSlice const&)':
> /usr/src/lyx/lyx-git/src/TexRow.cpp:226: undefined reference to
> `lyx::CursorSlice::paragraph() const'
> /usr/src/lyx/lyx-git/src/TexRow.cpp:226: undefined reference to
> `lyx::Paragraph::id() const' CMakeFiles/lyxclient2.2.dir/__/TexRow.cpp.o:
> In function `lyx::TexRow::rowFromCursor(lyx::Cursor const&) const':
> /usr/src/lyx/lyx-git/src/TexRow.cpp:442: undefined reference to
> `lyx::Cursor::selectionBegin() const'
> /usr/src/lyx/lyx-git/src/TexRow.cpp:445: undefined reference to
> `lyx::Cursor::selectionEnd() const'
> /usr/src/lyx/lyx-git/src/TexRow.cpp:452: undefined reference to
> `lyx::CursorSlice::backwardPos()'
> CMakeFiles/lyxclient2.2.dir/__/TexRow.cpp.o: In function
> `lyx::Cursor::selIsMultiCell() const':
> /usr/src/lyx/lyx-git/src/Cursor.h:173: undefined reference to
> `lyx::Cursor::selBegin() const' /usr/src/lyx/lyx-git/src/Cursor.h:173:
> undefined reference to `lyx::Cursor::selEnd() const'
> 
> This one has nothing with Apple to do.

No, but it is very similar: Stuff is compiled for client that is not needed. 
client needs src/support/, src/client/boost.cpp and src/client/client.cpp (+ 
the libs like boost, Qt etc). Thats all, nothing from src/. If you remove 
src/*.cpp for client then it should link as well.


Georg


Reply via email to