[Insight-users] mkstemps in CableSwig
Charl P. Botha
c . p . botha at ewi . tudelft . nl
08 Jul 2003 10:44:33 +0200
--=-HS0p4zPfAmcUtAvVUAHI
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
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/
--=-HS0p4zPfAmcUtAvVUAHI
Content-Disposition: attachment; filename=CMakeLists.diff
Content-Type: text/plain; name=CMakeLists.diff; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
--- CMakeLists.txt.orig Tue Jul 8 10:37:41 2003
+++ CMakeLists.txt Tue Jul 8 10:35:50 2003
@@ -23,6 +23,7 @@
md5.c
objalloc.c
obstack.c
+ mkstemps.c
partition.c
pexecute.c
safe-ctype.c
--=-HS0p4zPfAmcUtAvVUAHI--