On Saturday, 4 April 1998, Werner Lemberg writes:
> 
> Friends,
> 
> 
> I get the following error message during linking lilypond (I've unpacked
> the distribution and did a ./configure --enable-tex-prefix=...; make):
> 
> abbrev.o: In function `Link_list<Atom *>::Link_list(Link_list<Atom *> const
> &)':
> abbrev.o(.text+0xb8e): undefined reference to `List<void *>::List(List<void
> *> const &)'
> 
> [...]
> 
> 
> Due my very restricted knowledge of C++ I've no idea what I can do against
> it. My compiler is GCC 2.7.2.1, I'm using Linux 2.0.32.

Yep, there was an unfortunate fix for the cygnus' windows port of
gcc 2.7.2; template stuff.  
I just found out at home that linux gcc 2.7.2.x wouldn't link anymore.

Here's a patch for lib/template.c

--- ../../lilypond-0.1.52/lib/template.cc       Fri Mar 27 01:42:11 1998
+++ ./template.cc       Thu Apr  2 11:55:30 1998
@@ -12,17 +12,8 @@
 #include "cursor.tcc"
 #include "list.tcc"
 
-#if 0
+#if !defined(__CYGWIN32__) && __GNUC_MINOR__ < 8
 LIST_INSTANTIATE (void *);
-
-#else
-
-    static void force_list_members ()
-    {
-    List<void*> bla;
-    bla.top().add ((void*)0);
-    }
-
 #endif
 
 POINTERLIST_INSTANTIATE (Source_file);

> And finally, a small cosmetic fix to wild-perl to have the files closed
> with a newline char:

thanks,

Jan.

Jan Nieuwenhuizen <[EMAIL PROTECTED]> | LilyPond - The GNU music typesetter
http://www.digicash.com/~jan | http://www.cs.ruu.nl/people/hanwen/lilypond

Reply via email to