Re: [LAU] Python3 PyAlsa Build fails

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Wednesday, March 20, 2013 - 11:42 am

This is a multi-part message in MIME format.
--------------090304050805090209000704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi, thanks for your help!

worked, with replacing *self->ob_type* by *Py_TYPE(self)* in any C-file.

now I ran into another compilation problem, which I could not find any
solution to:

pyalsa/alsaseq.c:505:13: error: 'PyInt_Type' undeclared here (not in a
function)
pyalsa/alsaseq.c:508:3: error: 'Py_TPFLAGS_HAVE_GETCHARBUFFER'
undeclared here (not in a function)
pyalsa/alsaseq.c:509:5: error: 'Py_TPFLAGS_HAVE_CLASS' undeclared here
(not in a function)
pyalsa/alsaseq.c:510:5: error: 'Py_TPFLAGS_CHECKTYPES' undeclared here
(not in a function)

Do you have any suggestions?

Regards,
Ck

--------------090304050805090209000704
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi, thanks for your help!

#ifndef Py_TYPE
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
#endif

worked, with replacing self->ob_type
by Py_TYPE(self) in
any C-file.

now I ran into another compilation problem, which I could not find
any solution to:

pyalsa/alsaseq.c:505:13: error: ‘PyInt_Type’ undeclared here (not in
a function)
pyalsa/alsaseq.c:508:3: error: ‘Py_TPFLAGS_HAVE_GETCHARBUFFER’
undeclared here (not in a function)
pyalsa/alsaseq.c:509:5: error: ‘Py_TPFLAGS_HAVE_CLASS’ undeclared
here (not in a function)
pyalsa/alsaseq.c:510:5: error: ‘Py_TPFLAGS_CHECKTYPES’ undeclared
here (not in a function)

Do you have any suggestions?

Regards,
Ck

--------------090304050805090209000704--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

This is the only confirmed message in this thread.
Possibly related messages: