ZbynÄk Burget writes:

> I try compile Lilypond 2.4.4 on my FreeBSD 5.3
>
> During compilation process i get this error:

I'm not a freebsd user, but should this bug not (also) be reported to
freebsd/the ports maintainer?

> ./out/lily-guile.o(.text+0x34d8]: In function
> ly_gettext(scm_unused_strct*)`:
> /usr/home/.../lilypond-2.4.4/lily/lily-guile.cc:839: undefined
> reference to `gettext`
>
> this error occurs during g++ -o out/lilypond .......
>
> Can anyone help me?

Install libintl, or try the patch below.

Thanks,
Jan.

--- lily-guile.cc       07 okt 2004 21:39:50 +0200      1.180
+++ lily-guile.cc       28 feb 2005 10:47:46 +0100      
@@ -836,6 +836,6 @@ LY_DEFINE (ly_gettext, "ly:gettext",
 {
   SCM_ASSERT_TYPE (scm_is_string (string), string, SCM_ARG1,
                   __FUNCTION__, "string");
-  return scm_makfrom0str (gettext (scm_i_string_chars (string)));
+  return scm_makfrom0str (_ (scm_i_string_chars (string)));
 }
 

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to