Re: Help! ABI-MATH compile fail...

From: <msevior_at_physics.unimelb.edu.au>
Date: Sat Jan 15 2005 - 00:04:04 CET

> Hi Martin,
>
> I've just committed the fixes that make abimath compile against the
> latest version of gtkmathview (in CVS). As far as I can tell, it still
> works as it used to do a few months ago.
>
> Keep in mind that the anonymous GNOME CVS repository is 24 hours behind
> the real one.
>
> Let me know of any problem.
>

Hi Luca,
         I had to add the following lines to
/home/msevior/abidir/include/ShapingContext.hh

to get it to compile.

#include "SmartPtr.hh"
#include "scaled.hh"
#include "Area.hh"

Now I get the following link errors....

What is the magic set of enables/disables to compile GtkMathView for our use?

I've forgotten...

Sorry,

Martin

../../../../src/af/math/xp/libMath_xp.a(gr_Abi_MathGraphicDevice.o)(.gnu.linkonce.t._ZN6ShaperC2Ev+0x19):
In function `Shaper::Shaper()':
/home/msevior/abidir/include/gtkmathview/MathView/Shaper.hh:31: undefined
reference to `vtable for Shaper'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_MathGraphicDevice.o)(.gnu.linkonce.r._ZTV24GR_Abi_MathGraphicDevice+0x10):
undefined reference to `GraphicDevice::dpi(FormattingContext const&)
const'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_MathGraphicDevice.o)(.gnu.linkonce.r._ZTV24GR_Abi_MathGraphicDevice+0x14):
undefined reference to `GraphicDevice::evaluate(FormattingContext const&,
Length const&, fixed<int, 10> const&)
const'../../../../src/af/math/xp/libMath_xp.a(gr_Abi_MathGraphicDevice.o)(.gnu.linkonce.r._ZTV24GR_Abi_MathGraphicDevice+0x18):
undefined reference to `GraphicDevice::em(FormattingContext const&) const'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_MathGraphicDevice.o)(.gnu.linkonce.r._ZTV24GR_Abi_MathGraphicDevice+0x20):
undefined reference to
`GraphicDevice::defaultLineThickness(FormattingContext const&) const'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_DefaultShaper.o)(.gnu.linkonce.t._ZN6ShaperD2Ev+0xb):
In function `Shaper::~Shaper()':
/home/msevior/abidir/include/gtkmathview/MathView/Shaper.hh:32: undefined
reference to `vtable for Shaper'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_DefaultShaper.o)(.gnu.linkonce.r._ZTV20GR_Abi_DefaultShaper+0x1c):
undefined reference to `Shaper::composeStretchyCharV(SmartPtr<AreaFactory>
const&, SmartPtr<Area const> const&, SmartPtr<Area const> const&,
SmartPtr<Area const> const&, SmartPtr<Area const> const&, SmartPtr<Area
const> const&, fixed<int, 10> const&) const'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_DefaultShaper.o)(.gnu.linkonce.r._ZTV20GR_Abi_DefaultShaper+0x20):
undefined reference to `Shaper::composeStretchyCharH(SmartPtr<AreaFactory>
const&, SmartPtr<Area const> const&, SmartPtr<Area const> const&,
SmartPtr<Area const> const&, SmartPtr<Area const> const&, fixed<int, 10>
const&) const'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_DefaultShaper.o)(.gnu.linkonce.r._ZTI20GR_Abi_DefaultShaper+0x8):
undefined reference to `typeinfo for Shaper'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_StandardSymbolsShaper.o)(.gnu.linkonce.r._ZTV28GR_Abi_StandardSymbolsShaper+0x1c):
undefined reference to `Shaper::composeStretchyCharV(SmartPtr<AreaFactory>
const&, SmartPtr<Area const> const&, SmartPtr<Area const> const&,
SmartPtr<Area const> const&, SmartPtr<Area const> const&, SmartPtr<Area
const> const&, fixed<int, 10> const&) const'
../../../../src/af/math/xp/libMath_xp.a(gr_Abi_StandardSymbolsShaper.o)(.gnu.linkonce.r._ZTV28GR_Abi_StandardSymbolsShaper+0x20):
undefined reference to `Shaper::composeStretchyCharH(SmartPtr<AreaFactory>
const&, SmartPtr<Area const> const&, SmartPtr<Area const> const&,
SmartPtr<Area const> const&, SmartPtr<Area const> const&, fixed<int, 10>
const&) const'
/home/msevior/abidir/lib/libmathview_libxml2.so: undefined reference to
`Clock::Get() const'
/home/msevior/abidir/lib/libmathview_libxml2.so: undefined reference to
`MathMLLinearContainerElement::MathMLLinearContainerElement(SmartPtr<MathMLNamespaceContext>
const&)'
/home/msevior/abidir/lib/libmathview_libxml2.so: undefined reference to
`typeinfo for Node'
/home/msevior/abidir/lib/libmathview_libxml2.so: undefined reference to
`BoxMLLinearContainerElement::~BoxMLLinearContainerElement()'
/home/msevior/abidir/lib/libmathview_libxml2.so: undefined reference to
`MathMLLinearContainerElement::resetFlagDown(Element::Flags)'

> Cheers,
> --luca
>
>
Received on Sat Jan 15 00:05:21 2005

This archive was generated by hypermail 2.1.8 : Sat Jan 15 2005 - 00:05:21 CET