[Top][All Lists]
[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: |
Sat, 05 Mar 2005 21:00:07 -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?
Nope, still broke:
rm -f ./out/interval.dep; DEPENDENCIES_OUTPUT="./out/interval.dep
./out/interval.o" c++ -c -DHAVE_CONFIG_H -DNDEBUG
-DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include
-I../flower/./out -DNDEBUG -I/usr/local/include
-I/usr/local/include/python2.3 -O2 -pipe -DSMALLENDIAN -O2
-finline-functions -g -pipe -I/usr/local/include
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include/freetype2
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include -DNDEBUG -I/usr/local/include
-I/usr/local/include/python2.3 -O2 -pipe -O2 -finline-functions-g -pipe
-I/usr/local/include -I/usr/local/include/pango-1.0
-I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -W -Wall
-Wconversion -o out/interval.o interval.cc
rm -f ./out/libc-extension.dep;
DEPENDENCIES_OUTPUT="./out/libc-extension.dep ./out/libc-extension.o"
c++ -c -DHAVE_CONFIG_H -DNDEBUG -DSTRING_UTILS_INLINED -Iinclude
-I./out -I../flower/include -I../flower/./out -DNDEBUG
-I/usr/local/include -I/usr/local/include/python2.3 -O2 -pipe
-DSMALLENDIAN -O2 -finline-functions -g -pipe -I/usr/local/include
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include/freetype2
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include -DNDEBUG -I/usr/local/include
-I/usr/local/include/python2.3 -O2 -pipe -O2 -finline-functions -g -pipe
-I/usr/local/include -I/usr/local/include/pango-1.0
-I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -W -Wall
-Wconversion -o out/libc-extension.o libc-extension.cc
In file included from libc-extension.cc:16:
include/libc-extension.hh:70: error: syntax error before `)' token
libc-extension.cc:166: error: syntax error before `*' token
libc-extension.cc: In function `FILE* fopencookie(...)':
libc-extension.cc:168: error: `cookie' undeclared (first use this function)
libc-extension.cc:168: error: (Each undeclared identifier is reported
only once
for each function it appears in.)
libc-extension.cc:168: error: `fun' undeclared (first use this function)
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
- OpenBSD fix for fopencookie, Matt Jibson, 2005/03/05
- OpenBSD fix for fopencookie, Han-Wen Nienhuys, 2005/03/05
- Re: OpenBSD fix for fopencookie,
Matt Jibson <=
- Re: OpenBSD fix for fopencookie, Matt Jibson, 2005/03/06
- Re: OpenBSD fix for fopencookie, Jan Nieuwenhuizen, 2005/03/06
- Re: OpenBSD fix for fopencookie, Matt Jibson, 2005/03/06
- Re: OpenBSD fix for fopencookie, Jan Nieuwenhuizen, 2005/03/06
- Re: OpenBSD fix for fopencookie, Matt Jibson, 2005/03/06
- Re: OpenBSD fix for fopencookie, Jan Nieuwenhuizen, 2005/03/06
- Re: OpenBSD fix for fopencookie, Matt Jibson, 2005/03/06