"Gerrit P. Haase" <[EMAIL PROTECTED]> writes:

> I got compiletime errors:
> =========================
> rm -f ./out/kpath.dep; DEPENDENCIES_OUTPUT="./out/kpath.dep ./out/kpath.o" g++ -c  
>-DHAVE_
> CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude -I./out -I.././lib/include -I../lib/./out 
>-I../
> ./flower/include -I../flower/./out -I../flower/include -O2 -finline-functions -g     
>-O2 -
> finline-functions -g   -DSTRING_UTILS_INLINED -I/usr/local/include -Wall  -W 
>-Wmissing-pro
> totypes -Wconversion  kpath.cc -o out/kpath.o
> In file included from /usr/include/kpathsea/kpathsea.h:27,
>                  from kpath.cc:19:
> /usr/include/kpathsea/getopt.h:99: redefinition of `struct option'
> /usr/include/getopt.h:46: previous definition here
> /usr/include/kpathsea/getopt.h:128: declaration of C function `int getopt_long(int, 
>char *
> const *, const char *, const option *, int *)' conflicts with
> /usr/include/getopt.h:56: previous declaration `int getopt_long(int, char **, char 
>*, opti
> on *, int *)' here

That's strange.  /usr/include/getopt.h should not get included at
all.  You should check who's doing that, eg add a #warning to the top
getopt.h and recompile, see what happens.

> lily-guile.cc: In function `class String ly_scm2string(scm_unused_struct *)':
> lily-guile.cc:187: passing `int *' as argument 2 of `gh_scm2newstr(scm_unused_struct 
>*, size_t *)' changes signedness
> make[1]: *** [out/lily-guile.o] Error 1
> make[1]: Leaving directory `/perl/stuff/sound/lilybuild/lilypond-1.4.7/lily'
> make: *** [all] Error 2

Are you using a newer guile?  LilyPond 1.5.2 has seen fixes for latest
(at that time) cvs guile, that won't be backported to lily-1.4.

You should use guile 1.3.4 or guile 1.4 with lilypond-1.4.  Patches to
compile guile for cygwin are in the cygwin-cross package.

Jan.


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


_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to