[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] PyFFI
From: |
Ozzi |
Subject: |
Re: [Chicken-users] PyFFI |
Date: |
Fri, 28 Dec 2007 20:46:52 -0600 |
User-agent: |
Thunderbird 2.0.0.9 (Macintosh/20071031) |
Yeah, python's 2.3.5.
chicken-setup output follows.
Thanks for the help.
downloading catalog ...
downloading catalog from www.call-with-current-continuation.org ...
GET /eggs/repository HTTP/1.0
Host: www.call-with-current-continuation.org
Connection: close
Content-length: 0
HTTP/1.1 200 OK
Date: Sat, 29 Dec 2007 02:44:46 GMT
Server: Apache/1.3.37
Last-Modified: Sat, 29 Dec 2007 02:18:29 GMT
ETag: "3068d3-5d5b-4775ae75"
Accept-Ranges: bytes
Content-Length: 23899
Connection: close
Content-Type: text/plain
downloading pyffi.egg from (www.call-with-current-continuation.org eggs 80)
creating directory `pyffi.egg-dir'
changing working directory to `pyffi.egg-dir'
gzip -d -c ../pyffi.egg | tar xvf -
pyffi.meta
version
pyffi.scm
pyffi-eggdoc.scm
pyffi-support.scm
pyffi.setup
example.scm
swriter.scm
executing pyffi.setup ...
gcc -I/System/Library/Frameworks/Python.framework/Headers -no-cpp-precomp
-fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -Os
-fomit-frame-pointer t1deb.c -L/usr/local/lib -framework Python -lm >/dev/null ...
succeeded.
/usr/local/bin/csc -feature compiling-extension -v -d2 -s -o pyffi-support.so
-check-imports -emit-exports pyffi-support.exports pyffi-support.scm -L "
-framework Python " -C " -I/System/Library/Frameworks/Python.framework/Headers "
-X easyffi
/usr/local/bin/chicken pyffi-support.scm -output-file pyffi-support.c -dynamic
-feature chicken-compile-shared -quiet -feature compiling-extension -debug-level
2 -check-imports -emit-exports pyffi-support.exports -extend easyffi
Warning: preprocessor conditional `~A' ignored (assuming false)
(pp-if open-paren open-paren (id "PY_MAJOR_VERSION") (op "==") (num 2)
close-paren (op "&&") open-paren (id "PY_MINOR_VERSION") (op ">=") (num 5)
close-paren close-paren)
Warning: preprocessor conditional `~A' ignored (assuming false)
(pp-if open-paren open-paren (id "PY_MAJOR_VERSION") (op "==") (num 2)
close-paren (op "&&") open-paren (id "PY_MINOR_VERSION") (op ">=") (num 5)
close-paren close-paren)
Warning: global variable `pytype-name' is never used
Warning: global variable `PyDict_Keys' is never used
Warning: global variable `PyDict_GetItem' is never used
Warning: global variable `PyImport_ImportModule' is never used
Warning: global variable `pytype-to-set!' is never used
Warning: local assignment to unused variable `*py-functions*' may be unintended
Warning: global variable `pytype-name-set!' is never used
Warning: global variable `PyDict_Size' is never used
Warning: global variable `pytype-from-set!' is never used
Warning: global variable `PyModule_GetDict' is never used
Warning: global variable `PyDict_GetItemString' is never used
Warning: global variable `PyErr_Occurred' is never used
Warning: global variable `PyObject_Str' is never used
Warning: global variable `PyImport_GetModuleDict' is never used
Warning: global variable `PyString_asString' is never used
Warning: global variable `pytype?' is never used
Warning: global variable `PyImport_Import' is never used
gcc pyffi-support.c -o pyffi-support.o -c -no-cpp-precomp -fno-strict-aliasing
-fno-common -DHAVE_CHICKEN_CONFIG_H -Os -fomit-frame-pointer -fPIC -DPIC
-DC_SHARED -I /usr/local/include
-I/System/Library/Frameworks/Python.framework/Headers
pyffi-support.c: In function 'pyffi_PyUnicode_AsUnicode':
pyffi-support.c:32: warning: return from incompatible pointer type
pyffi-support.c: In function 'pyffi_PyUnicode_FromUnicode':
pyffi-support.c:36: warning: passing argument 1 of 'PyUnicodeUCS2_FromUnicode'
from incompatible pointer type
rm pyffi-support.c
gcc pyffi-support.o -o pyffi-support.so -bundle -L/usr/local/lib -framework
Python -lm -lchicken
/usr/bin/ld: Undefined symbols:
_Py_DecRef
_Py_IncRef
collect2: ld returned 1 exit status
*** Shell command terminated with exit status 1: gcc pyffi-support.o -o
pyffi-support.so -bundle -L/usr/local/lib -framework Python -lm -lchicken
Error: shell invocation failed with non-zero return status
"/usr/local/bin/csc -feature compiling-extension -v -d2 -s -o pyffi-support.so
...
256
Ivan Raikov wrote:
Okay, can you give me the output of `chicken-setup -v pyffi`. And
just in case, what is the version of Python you have on your system?
Mine is Python 2.3.5.
-Ivan
Ozzi <address@hidden> writes:
No luck, still the same message.
Chicken 2.732, Apple Python.
Odd.