Han-Wen Nienhuys wrote:

[EMAIL PROTECTED] writes:


I am attempting to lilypond 2.5 to OpenBSD. One of the problems I'm running into is that the BSDs don't have the fopencookie function and libio.h. The BSD equivalent is funopencookie. The offending files are flower/memory-stream.cc and .hh. I looked in the PHP codebase to see how they handle this problem. In main/streams.c, PHP has:



we have compatibility code in 2.5.13 for this. Can you check if that
solves your problem?


The current CVS gives a much nicer error:

libc-extension.cc: In function `FILE* fopencookie(void*, const char*,
le_cookie_io_functions_t)':
libc-extension.cc:167: error: invalid conversion from `ssize_t (*)(void*,
char*, unsigned int)' to `int (*)(void*, char*, int)'
libc-extension.cc:167: error: invalid conversion from `ssize_t (*)(void*, const
char*, unsigned int)' to `int (*)(void*, const char*, int)'
libc-extension.cc:167: error: invalid conversion from `int (*)(void*, long long
unsigned int*, int)' to `fpos_t (*)(void*, long long int, int)'
libc-extension.cc:166: warning: unused parameter `const char*mode'
gmake[1]: *** [out/libc-extension.o] Error 1
gmake[1]: Leaving directory `/usr/home/dolmant/ports/print/lilypond/w-lilypond-2.5.13/lilypond-2.5.13/flower'
gmake: *** [all] Error 2
*** Error code 2



_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to