>>>>> "Han-Wen" == Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:

    Han-Wen> I have been trying to come up with some kind of fix, but
    Han-Wen> I fear that this will cause more trouble when the fix
    Han-Wen> falls over. Moreover, the bug is in debian, not in lily I
    Han-Wen> suggest to patch libc-extension.hh locally to include
    Han-Wen> bits/mathcall.h - we don't change that file often, so it
    Han-Wen> shouldn't be a problem.

I added the lines:

/* Added as a local patch because it comes from debian dependency screwup */

#include <bits/mathcall.h>

to flower/include/libc-extension.hh, and now it says:

rm -f ./out/bezier.dep; DEPENDENCIES_OUTPUT="./out/bezier.dep ./out/bezier.o" g++ -c   
-DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include 
-I../flower/./out -I../flower/include -O2 -finline-functions -g   
-I/usr/include/python2.1      -O2 -finline-functions -g   -I/usr/include/python2.1  
-Wall  -W -Wmissing-prototypes -Wconversion  -o out/bezier.o bezier.cc
In file included from bezier.cc:13:
../flower/include/libc-extension.hh:20: warning: No include path in which to find 
bits/mathcall.h

on quite a number of files, but not on the one which used to fail;
that one still says:

rm -f ./out/staff-symbol-referencer.dep; 
DEPENDENCIES_OUTPUT="./out/staff-symbol-referencer.dep 
./out/staff-symbol-referencer.o" g++ -c   -DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED 
-Iinclude -I./out -I../flower/include -I../flower/./out -I../flower/include -O2 
-finline-functions -g   -I/usr/include/python2.1      -O2 -finline-functions -g   
-I/usr/include/python2.1  -Wall  -W -Wmissing-prototypes -Wconversion  -o 
out/staff-symbol-referencer.o staff-symbol-referencer.cc
staff-symbol-referencer.cc: In function `struct scm_unused_struct * 
ly_grob_staff_position(scm_unused_struct *)':
staff-symbol-referencer.cc:89: implicit declaration of function `int lrint(...)'
make[1]: *** [out/staff-symbol-referencer.o] Error 1

"makedepend -f- staff-symbol-referencer.cc" doesn't seem to find
libc-extension.hh.

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (801) 365-6574 
233 Broadway, Cambridge, MA 02139




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

Reply via email to