Package: insighttoolkit Version: 3.2.0-2 Usertags: ftbfs-gcc-4.3 Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). There's some more information about this at http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include
You can reproduce this problem with gcc-snapshot from unstable. Note that Red Hat, Novell and Ubuntu have done some work getting packages to build with GCC 4.3 so there might be patches floating around somewhere. I suggest you talk to your upstream. > Automatic build of insighttoolkit_3.2.0-2 on em64t by sbuild/amd64 0.53 ... > [ 2%] Building CXX object > Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o > In file included from > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:17: > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.h: In function > 'bool MET_InitWriteField(MET_FieldRecordType*, const char*, > MET_ValueEnumType, int, T*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.h:289: error: > there are no arguments to 'strcpy' that depend on a template parameter, so a > declaration of 'strcpy' must be available > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.h:289: error: (if > you use '-fpermissive', G++ will accept your code, but allowing the use of an > undeclared name is deprecated) > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.h:314: error: > there are no arguments to 'strcpy' that depend on a template parameter, so a > declaration of 'strcpy' must be available > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'MET_FieldRecordType* MET_GetFieldRecord(const char*, > std::vector<MET_FieldRecordType*, std::allocator<MET_FieldRecordType*> >*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:48: error: > 'strcmp' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'int MET_GetFieldRecordNumber(const char*, std::vector<MET_FieldRecordType*, > std::allocator<MET_FieldRecordType*> >*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:64: error: > 'strcmp' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'char* MET_ReadSubType(std::istream&)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:196: error: > 'strncpy' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_StringToType(const char*, MET_ValueEnumType*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:211: error: > 'strcmp' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'unsigned char* MET_PerformCompression(const unsigned char*, int, unsigned > int*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:493: error: > 'memcpy' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:502: error: > 'memcpy' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_StringToWordArray(const char*, int*, char***)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:559: error: > 'strlen' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_GetFilePath(const char*, char*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:630: error: > 'strlen' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:638: error: > 'strcpy' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_GetFileSuffixPtr(const char*, int*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:654: error: > 'strlen' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_SetFileSuffix(char*, const char*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:688: error: > 'strcat' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:693: error: > 'strcat' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_InitWriteField(MET_FieldRecordType*, const char*, > MET_ValueEnumType, double)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:706: error: > 'strcpy' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_InitReadField(MET_FieldRecordType*, const char*, MET_ValueEnumType, > bool, int, int)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:724: error: > 'strcpy' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_Read(std::istream&, std::vector<MET_FieldRecordType*, > std::allocator<MET_FieldRecordType*> >*, char, bool, bool)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:832: error: > 'strcmp' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:891: error: > 'strlen' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_WriteFieldToFile(std::ostream&, const char*, MET_ValueEnumType, > int, const void*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:1361: error: > 'strcpy' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_StringToInterpolationType(const char*, MET_InterpolationEnumType*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:1408: error: > 'strcmp' was not declared in this scope > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx: In function > 'bool MET_InterpolationTypeToString(MET_InterpolationEnumType, char*)': > /build/tbm/insighttoolkit-3.2.0/Utilities/MetaIO/metaUtils.cxx:1422: error: > 'strcpy' was not declared in this scope > make[3]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o] Error 1 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]