On Fri, Sep 26, 2008 at 6:43 PM, Kilian A. Foth <[EMAIL PROTECTED]> wrote:
> I can't seem to get lilypond 2.11.60 compiled with GCC 4.0.2 on Linux 2.6.13.
>
> The final linking step fails with
>
>  ./out/axis-group-interface.o: In function 
> `Axis_group_interface::relative_pure_height(Grob*, int, int)':
>  /home/foth/src/lilypond-2.11.60/lily/axis-group-interface.cc:182: undefined 
> reference to `Align_interface::has_interface(Grob*)'
>  ./out/beam-quanting.o: In function `Beam::quanting(scm_unused_struct*, 
> scm_unused_struct*)':
>  /home/foth/src/lilypond-2.11.60/lily/beam-quanting.cc:190: undefined 
> reference to `Align_interface::has_interface(Grob*)'
>
> and seven more undefined references to symbols in the Align_interface
> class. Do these functions exist somewhere other than the many object
> files in lily/out/, or is my C++ version subtly incompatible?


align-interface.cc:

ADD_INTERFACE (Align_interface,
               "Order grobs from top to bottom, left to right, right to left"
               " or bottom to top.  For vertical alignment


grob-interface.hh


#define ADD_INTERFACE(cl, b, c)                         \
  SCM cl::interface_symbol_; \
  bool cl::has_interface (Grob *me)                             \
  {                                                             \
    return me->internal_has_interface (interface_symbol_);      \
  }                                                             \
  void cl ## _init_ifaces ()                                    \
  {                                                             \
    cl::interface_symbol_ = add_interface (#cl, b, c);          \
  }                                                             \
  ADD_SCM_INIT_FUNC (cl ## ifaces, cl ## _init_ifaces);



-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to