[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make 1.5.67
From: |
Jan Nieuwenhuizen |
Subject: |
Re: make 1.5.67 |
Date: |
Tue, 16 Jul 2002 01:59:03 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) |
Patrick Stanistreet <address@hidden> writes:
> I am trying to compile lilypond 1.5.67 on redhat 7.2 with guile 1.4
> installed to /usr/local nothing passed to ./configure
> the config.make file looks okay to me except for one complaint
>
> MISSING_OPTIONAL = pktrace makeinfo 4.1 (installed: 4.0)
>
> make all dies with this message
>
> duration.cc: In function `size_t Duration::free_smob (long int)':
> duration.cc:97: `scm_done_free' undeclared (first use this function)
> duration.cc:97: (Each undeclared identifier is reported only once for
> each function it appears in.)
> make[1]: *** [out/duration.o] Error 1
> make[1]: Leaving directory `/usr/local/lilypond-1.5.67/lily'
> make: *** [all] Error 2
>
> Thanks for any help with this, I am just installing on a new system
> and thought that I would try the latest devel as my last was 1.5.55
> and only had minor problems.
Thanks for the reports, everyone.
You're now probably all waiting for this fix from CVS:
Index: lily/include/lily-guile.hh
===================================================================
RCS file: /home/lilypond/lilypond/lily/include/lily-guile.hh,v
retrieving revision 1.80
retrieving revision 1.82
diff -p -u -r1.80 -r1.82
--- lily/include/lily-guile.hh 13 Jul 2002 18:05:19 -0000 1.80
+++ lily/include/lily-guile.hh 14 Jul 2002 13:11:48 -0000 1.82
@@ -67,7 +67,14 @@ inline SCM scm_c_make_vector (int k, SC
#define SCM_SYMBOL_LENGTH SCM_LENGTH
#define SCM_VECTOR_LENGTH SCM_LENGTH
+#define SMOB_FREE_RETURN_VAL(CL) sizeof(CL)
+#define scm_done_free(x)
#endif
+
+#ifndef SMOB_FREE_RETURN_VAL
+#define SMOB_FREE_RETURN_VAL(CL) 0
+#endif
+
#if GUILE_MINOR_VERSION < 7
#define scm_gc_unregister_collectable_memory(a,b,c) scm_done_free(b)
Index: lily/include/ly-smobs.icc
===================================================================
RCS file: /home/lilypond/lilypond/lily/include/ly-smobs.icc,v
retrieving revision 1.19
retrieving revision 1.20
diff -p -u -r1.19 -r1.20
--- lily/include/ly-smobs.icc 13 Jul 2002 14:40:40 -0000 1.19
+++ lily/include/ly-smobs.icc 14 Jul 2002 13:10:44 -0000 1.20
@@ -30,6 +30,7 @@ ADD_SCM_INIT_FUNC (init_type_p_ ## CL, i
#endif
+
#define IMPLEMENT_SIMPLE_SMOBS(CL) \
scm_t_bits CL::smob_tag_; \
SCM \
@@ -64,7 +65,7 @@ CL::free_smob (SCM ses)
\
CL * s = (CL*) SCM_CDR (ses); \
delete s; \
scm_gc_unregister_collectable_memory (s, sizeof (CL), #CL " smob"); \
- return 0;\
+ return SMOB_FREE_RETURN_VAL(CL);\
}\
ADD_SCM_INIT_FUNC (CL, CL::init_smobs)
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
- make 1.5.67, Patrick Stanistreet, 2002/07/15
- Re: make 1.5.67,
Jan Nieuwenhuizen <=