SourceForge.net | 27 Jun 2012 16:16
Picon

[ swig-Patches-3538415 ] setools fails to compile with swig 2.0.5

Patches item #3538415, was opened at 2012-06-27 07:16
Message generated for change (Tracker Item Submitted) made by atkac
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3538415&group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Adam Tkac (atkac)
Assigned to: Nobody/Anonymous (nobody)
Summary: setools fails to compile with swig 2.0.5

Initial Comment:
setools project fails to compile with swig 2.0.5 and later. The patch which causes this issue was commited
as r12784 - "Fix constructors in named typedef class declarations".

Compile attached test.i this way:
swig -python -o test.c test.i
gcc -I /usr/include/python2.7/ -o test.so test.c  -Wall -Wextra

Make sure you have "setools-devel" package (in case of Fedora distro) installed.

Attached patch fixes setools build.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3538415&group_id=1645

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane