lilypond-devel
[Top][All Lists]
Advanced

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

Re: Compiling on Cygwin


From: Arno Waschk
Subject: Re: Compiling on Cygwin
Date: Wed, 26 Jan 2005 12:38:41 +0100
User-agent: Opera M2/7.54 (Win32, build 3870)

Hi,

i am using:

Index: python/GNUmakefile
===================================================================
RCS file: /cvsroot/lilypond/lilypond/python/GNUmakefile,v
retrieving revision 1.6
diff -u -w -d -B -r1.6 GNUmakefile
--- python/GNUmakefile  6 Nov 2004 22:32:29 -0000       1.6
+++ python/GNUmakefile  26 Jan 2005 11:35:07 -0000
@@ -5,7 +5,8 @@
 include $(depth)/make/stepmake.make

 # unset al guile stuff from configure
-USER_LDFLAGS=
+USER_CFLAGS=-I /usr/include/python2.4
+USER_LDFLAGS+=-lpython2.4

 INSTALLATION_OUT_SUFFIXES=1


Hope that helps...

Arno


On Tue, 25 Jan 2005 17:29:52 +0200, Yuval Harel <address@hidden> wrote:

Hi,

I'm trying to build Lilypond from CVS on Cygwin, and I get the following output
 from the 'python' directory. Any ideas?

Thanks,
        Yuval

make[1]: Entering directory `/home/UV/lilypond/python'
/home/UV/lilypond/stepmake/stepmake/generic-targets.make:142: out/dummy.dep: No
such file or directory
please ignore innocent warning about dummy.dep
mkdir -p ./out
touch ./out/dummy.dep
make[1]: Leaving directory `/home/UV/lilypond/python'
make[1]: Entering directory `/home/UV/lilypond/python'
cat lilylib.py | sed -e '#' -e 'address@hidden@!/bin/bash!g' -e 'address@hidden@!25JAN05!g' -e 'address@hidden@!/usr/local/bin/fontforge!g' -e 'address@hidden@!/usr/bin/guile!g' -e 'address@hidden@!LILYPOND!g' -e 'address@hidden@!:!g' -e 'address@hidden@!/usr/bin/perl!g ' -e 'address@hidden@!/usr/bin/python!g' -e 'address@hidden@!/bin/sh!g' -e 'address@hidden address@hidden' -e 'address@hidden@!/usr/local/bin!g' -e 'address@hidden@!/usr/local/ share!g' -e 'address@hidden@!25JAN05!g' -e 'address@hidden@!/usr/local/share/lil ypond!g' -e 'address@hidden@!/usr/local/lib/lilypond!g' -e 'address@hidden address@hidden/usr/local/share/lilypond/2.5.9!g' -e 'address@hidden@!/ usr/local/lib/lilypond/2.5.9!g' -e 'address@hidden@!/usr/local/share/locale!g' - e 'address@hidden@!lilypond!g' -e 'address@hidden@!/usr/local!g' -e 'address@hidden@ !!g' -e 'address@hidden@!.exe!g' -e 'address@hidden@!/usr/local/com!g'
-e 'address@hidden@!/home/UV/lilypond/stepmake/bin!g' > out/lilylib.py
chmod 755 out/lilylib.py
/usr/bin/python -c 'import py_compile; py_compile.compile ("out/lilylib.py")'
cp -p /home/UV/lilypond/config.hh out/config.hh
rm -f ./out/midi.dep; DEPENDENCIES_OUTPUT="./out/midi.dep ./out/midi.lo" gcc -c -DHAVE_CONFIG_H -DNDEBUG -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower /include -I../flower/./out -O2 -finline-functions -g -pipe -DNDEBUG -I/usr/i nclude/python2.4 -I/nonexistent/include -fpic -fPIC -o out/midi.lo midi.c
cc1: warning: -fPIC ignored for target (all code is position independent)
g++ -shared -o out/midi.dll out/midi.lo
out/midi.lo(.text+0x70): In function `add_constants':
/home/UV/lilypond/python/midi.c:110: undefined reference to `_Py_BuildValue' out/midi.lo(.text+0x88):/home/UV/lilypond/python/midi.c:110: undefined reference
  to `_PyDict_SetItemString'
out/midi.lo(.text+0x175): In function `read_two_bytes':
/home/UV/lilypond/python/midi.c:159: undefined reference to `_Py_BuildValue'
out/midi.lo(.text+0x1bd): In function `read_three_bytes':
/home/UV/lilypond/python/midi.c:169: undefined reference to `_Py_BuildValue'
out/midi.lo(.text+0x22e): In function `read_string':
/home/UV/lilypond/python/midi.c:185: undefined reference to `_Py_BuildValue'
out/midi.lo(.text+0x26f): In function `initmidi':
/home/UV/lilypond/python/midi.c:406: undefined reference to `_Py_InitModule4' out/midi.lo(.text+0x277):/home/UV/lilypond/python/midi.c:407: undefined referenc
e to `_PyModule_GetDict'
out/midi.lo(.text+0x285):/home/UV/lilypond/python/midi.c:409: undefined referenc
e to `_PyString_FromString'
out/midi.lo(.text+0x29f):/home/UV/lilypond/python/midi.c:410: undefined referenc
e to `_PyDict_SetItemString'
out/midi.lo(.text+0x2ea):/home/UV/lilypond/python/midi.c:412: undefined referenc
e to `_PyString_FromString'
out/midi.lo(.text+0x304):/home/UV/lilypond/python/midi.c:413: undefined referenc
e to `_PyDict_SetItemString'
out/midi.lo(.text+0x320):/home/UV/lilypond/python/midi.c:110: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x338):/home/UV/lilypond/python/midi.c:110: undefined referenc
e to `_PyDict_SetItemString'
out/midi.lo(.text+0x3be): In function `read_f0_byte':
/home/UV/lilypond/python/midi.c:184: undefined reference to `_Py_BuildValue' out/midi.lo(.text+0x43e):/home/UV/lilypond/python/midi.c:184: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x45e):/home/UV/lilypond/python/midi.c:179: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x489): In function `pymidi_parse_track':
/home/UV/lilypond/python/midi.c:315: undefined reference to `_PyTuple_GetItem' out/midi.lo(.text+0x4a8):/home/UV/lilypond/python/midi.c:318: undefined referenc
e to `_PyArg_ParseTuple'
out/midi.lo(.text+0x4f6): In function `pymidi_parse':
/home/UV/lilypond/python/midi.c:378: undefined reference to `_PyTuple_GetItem' out/midi.lo(.text+0x515):/home/UV/lilypond/python/midi.c:381: undefined referenc
e to `_PyArg_ParseTuple'
out/midi.lo(.text+0x58a):/home/UV/lilypond/python/midi.c:40: undefined reference
  to `_PyErr_SetString'
out/midi.lo(.text+0x676): In function `midi_parse_track':
/home/UV/lilypond/python/midi.c:40: undefined reference to `_PyErr_SetString' out/midi.lo(.text+0x694):/home/UV/lilypond/python/midi.c:282: undefined referenc
e to `_PyList_New'
out/midi.lo(.text+0x6aa):/home/UV/lilypond/python/midi.c:287: undefined referenc
e to `_PyInt_FromLong'
out/midi.lo(.text+0x750):/home/UV/lilypond/python/midi.c:247: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x765):/home/UV/lilypond/python/midi.c:300: undefined referenc
e to `_PyList_Append'
out/midi.lo(.text+0x792):/home/UV/lilypond/python/midi.c:295: undefined referenc
e to `_PyInt_FromLong'
out/midi.lo(.text+0x8b0): In function `midi_parse':
/home/UV/lilypond/python/midi.c:361: undefined reference to `_PyList_New'
out/midi.lo(.text+0x8d2):/home/UV/lilypond/python/midi.c:367: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x8e6):/home/UV/lilypond/python/midi.c:367: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x90c):/home/UV/lilypond/python/midi.c:365: undefined referenc
e to `_PyList_Append'
out/midi.lo(.text+0x96e):/home/UV/lilypond/python/midi.c:40: undefined reference
  to `_PyErr_SetString'
out/midi.lo(.text+0x143): In function `read_one_byte':
/home/UV/lilypond/python/midi.c:149: undefined reference to `_Py_BuildValue'
out/midi.lo(.text+0x3db): In function `read_f0_byte':
/home/UV/lilypond/python/midi.c:179: undefined reference to `_Py_BuildValue'
collect2: ld returned 1 exit status
make[1]: *** [out/midi.dll] Error 1
make[1]: Leaving directory `/home/UV/lilypond/python'
make: *** [all] Error 2




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




--
http://www.arnowaschk.de




reply via email to

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