bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "undefined reference" compile error in 2.11.60


From: Han-Wen Nienhuys
Subject: Re: "undefined reference" compile error in 2.11.60
Date: Mon, 29 Sep 2008 23:25:01 -0300

On Fri, Sep 26, 2008 at 6:43 PM, Kilian A. Foth <address@hidden> 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 - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]