- From: Steven Jenkins <steven.jenkins_at_ieee.org>
- Date: Thu, 19 Feb 2004 20:47:10 -0800
Sim Harbert wrote: > I am having some problems compiling Comedi (from CVS). Compiling the > Python bindings gets an error. > > [....] Have you regenerated comedi_python_wrap.c? I'm using SWIG 1.3.19, but I get no errors on compiling, and your line numbers don't match mine. > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -I/usr/local/include/python2.3 -fno-strict-aliasing -Wno-unused-function -g -O2 -c comedi_python_wrap.c -MT _comedi_la-comedi_python_wrap.lo -MD -MP -MF .deps/_comedi_la-comedi_python_wrap.TPlo -fPIC -DPIC -o .libs/_comedi_la-comedi_python_wrap.lo > In file included from /usr/local/include/python2.3/Python.h:8, > from comedi_python_wrap.c:41: Python.h is #included at lines 13 and 234 in my version. > /usr/local/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined > In file included from /usr/include/string.h:26, > from comedi_python_wrap.c:22: string.h is #included at line 30 in my version. > /usr/include/features.h:171:1: warning: this is the location of the previous definition > comedi_python_wrap.c: In function `l_output_helper': > comedi_python_wrap.c:560: warning: unused variable `o3' There is no function 'l_output_helper' in my source, and no such symbol in the object file. > comedi_python_wrap.c: In function `_wrap__array_class': Likewise for 'wrap__array_class'. You might want to post your comedi_python_wrap.c where we can get a look at it. It's apparently very different from mine. Steve
Received on 2004-02-20Z04:47:10