jpirko / libteam

team netdevice library
GNU Lesser General Public License v2.1
225 stars 57 forks source link

Python binding fails to build with swig 4.1 #73

Open loqs opened 1 year ago

loqs commented 1 year ago

libteam fd26b370d85d63cca0736d7e666736bb15c395aa swig 4.1.1 gcc 12.2.1

$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var  --disable-static --libexecdir=/usr/lib
$ make all
....
$ cd binding/python
$ python setup.py build
team/capi.i:48: Error: %typemap attribute 'in' is missing its value.  If this is specifying the target language, that's no longer supported: use #ifdef SWIG<LANG> instead.
error: command '/usr/bin/swig' failed with exit code 1
papoteur-mga commented 1 year ago

Got the same error with latest release version (v1.31).