lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenBSD fix for fopencookie


From: Matt Jibson
Subject: Re: OpenBSD fix for fopencookie
Date: Sun, 06 Mar 2005 00:02:08 -0700
User-agent: Mozilla Thunderbird 1.0 (X11/20050101)

Han-Wen Nienhuys wrote:

address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]