chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] PyFFI


From: Ozzi
Subject: [Chicken-users] PyFFI
Date: Tue, 18 Dec 2007 15:38:31 -0600
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)

I'm having some trouble install the PyFFI egg, does anyone have any pointers?
Chicken is 2.732, Mac OS X.

I get the same message when I hack the pyffi.setup file to use the python I've installed from MacPorts.

Thanks,

oz

/usr/local/bin/csc -feature compiling-extension -d2 -s -o pyffi-support.so -check-imports -emit-exports pyffi-support.exports pyffi-support.scm -L " -lpython " -C " -I/opt/local/include/python2.4 " -X 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
pyffi-support.c: In function 'pyffi_PyUnicode_AsUnicode':
pyffi-support.c:31: warning: return from incompatible pointer type
pyffi-support.c: In function 'pyffi_PyUnicode_FromUnicode':
pyffi-support.c:35: warning: passing argument 1 of 'PyUnicodeUCS2_FromUnicode' from incompatible pointer type
/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 -lpython -lm -lchicken
Error: shell invocation failed with non-zero return status
"/usr/local/bin/csc -feature compiling-extension -d2 -s -o pyffi-support.so 
-ch...
256




reply via email to

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