libftdi Archives

Subject: Re: libftdi-1.0 for Ubuntu 9.10

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sun, 28 Feb 2010 16:46:49 +0800
On Mon, Feb 22, 2010 at 7:57 AM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
>>>>> The python wrapper failed to be built under Ubuntu 9.10.
> I tested it under Arch Linux and the build is fine. Maybe the CMake version
> and/or Swig version in Ubuntu are too low.

Apparently Swig version is the problem. Arch has the latest 1.3.40 whereas
Ubuntu has 1.3.36. If I copy the one generated by Arch to Ubuntu, it then
builds fine.

mcuee@ubuntu:~/Desktop/build/libftdi/libftdi-1.0/build/bindings$ cp
ftdiPYTHON_wrap_arch.c ftdiPYTHON_wrap.c

mcuee@ubuntu:~/Desktop/build/libftdi/libftdi-1.0/build/bindings$ make
[ 50%] Building C object bindings/CMakeFiles/_ftdi.dir/ftdiPYTHON_wrap.c.o
In function ‘_wrap_ftdi_enable_bitbang’:
warning: ‘ftdi_enable_bitbang’ is deprecated (declared at
Linking C shared module
[100%] Built target _ftdi

mcuee@ubuntu:~/Desktop/build/libftdi/libftdi-1.0/build/bindings$ swig -version

SWIG Version 1.3.36

Compiled with g++ [i686-pc-linux-gnu]
Please see for reporting bugs and further information


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread