On Tue, Sep 11, 2007 at 12:32:52PM +0100, José Matos wrote:
> On Friday 07 September 2007 21:37:33 Tommaso Cucinotta wrote:
> > Hi all,
> >
> > when compiling with --enable-shared (that would seem a good
> > switch to enable at a first glance),
> 
>   On Linux yes, on other systems no. We tried this last month and result was 
> not good. And, you know, not being able to compile is not the way to ask 
> people test the new versions.
> 
> > linking fails due to a double 
> > inclusion of Dialog.o. Details follow (version from SVN).
> >
> >     T.
> 
>   OK, after André last fix it works now. The next problem is due to the fact 
> that I am compiling using share and without included boost.
> 
>   Make fails in the end by not linking with boost. (I am using the autotools*)

--enable-shared is for people that do not ask questions ;-)

> I can improved the situation by adding -lboost_regex and -lboost_filesystem I 
> get this:
> 
> g++ -g -O -o .libs/lyx main.o ASpell.o ISpell.o SpellBase.o Box.o Dimension.o 
> PrinterParams.o 
> Thesaurus.o  ./.libs/liblyxcore.so ./.libs/liblyxmathed.so 
> ./.libs/liblyxinsets.so 
> frontends/.libs/liblyxfrontends.so 
> frontends/qt4/.libs/liblyxqt4.so -L/usr/X11R6/lib 
> frontends/controllers/.libs/liblyxcontrollers.so ./.libs/liblyxgraphics.so 
> support/.libs/liblyxsupport.so -lboost_signals -lAiksaurus -laspell -lSM 
> -lICE -lz -lX11 -lQtGui -lQtCore -lboost_regex-mt -lboost_filesystem-mt 
> -Wl,--rpath -Wl,/usr/local/lib/lyx-1.6.0svn
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libboost_regex-mt.so: undefined 
> reference to `u_digit_3_7'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libboost_regex-mt.so: undefined 
> reference to `u_isblank_3_7'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libboost_regex-mt.so: undefined 
> reference to `u_isspace_3_7'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libboost_regex-mt.so: undefined 
> reference to `u_tolower_3_7'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libboost_regex-mt.so: undefined 
> reference to `u_charFromName_3_7'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libboost_regex-mt.so: undefined 
> reference to `u_charType_3_7'
> collect2: ld returned 1 exit status

Do we use --without-included-boost regularily?

Andre'

Reply via email to