From: Mattia Jona-L. <mat...@gm...> - 2010-01-19 11:41:12
|
Hi Michael and Martin The problem is simply that the file plugin_python.c does not include (as it should) the header config.h You should add #include "config.h" as the first header to include. In this way lcd4linux compiles as a charm. Bye! Mattia On Tue, Jan 19, 2010 at 12:16 PM, Martin Zuther <co...@mz...> wrote: > Hi Michael, > > you're correct, "lcd4linux" does compile without python support. Also, > if I replace > > // #ifndef HAVE_STRNDUP > > with > > #if ! defined HAVE_STRNDUP && ! defined Py_PYTHON_H > > "lcd4linux" compiles with python support. This does not really help, > though, as "Python.h" simply includes "string.h" which then adds the > definition for "strndup". Therefore, changing the above line to > > #if ! defined HAVE_STRNDUP && ! defined _STRING_H > > also works. And I rather guess that _STRING_H is defined on most systems... > > Martin > -- > www.mzuther.de > www.radix-musik.de > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Lcd4linux-devel mailing list > Lcd...@li... > https://lists.sourceforge.net/lists/listinfo/lcd4linux-devel > |