[Insight-users] mkstemps in CableSwig

Bill Hoffman bill . hoffman at kitware . com
Tue, 08 Jul 2003 09:00:43 -0400


This is a bug in the CMakeLists.txt file for CableSwig.
I have checked in a fix in the CableSwig/CMakelists.txt file.


-Bill


At 04:44 AM 7/8/2003, Charl P. Botha wrote:
>Dear ITKers,
>
>I'm building ITK with CableSwig integrated to have a look at the new
>Python wrappings.  BTW, great work!
>
>In anycase, is it normal that I had to add mkstemps.c to the
>CMakeLists.txt in Insight/Utilities/CableSwig/GCCPatch/libiberty in
>order to get CableSwig to build without error?  (Patched attached) 
>Without this change, my ITK build stopped with the following error:
>Building executable
>/home/cpbotha/DoNotBackup/build/Insight/bin/genattrtab...
>/home/cpbotha/DoNotBackup/build/Insight/bin/libiberty.so: undefined
>reference to `mkstemps'
>
>This is on a Debian Woody (3.0) system with: gcc version 2.95.4 20011002
>(Debian prerelease), i.e. the stock-standard Woody gcc installation.
>
>I am subscribed to ITK, but not to the Cable list, so CC's from there
>would be greatly appreciated!
>
>Thanks,
>Charl
>
>-- 
>charl p. botha http://cpbotha . net/ http://visualisation . tudelft . nl/