<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Здравствуйте<br>
    <br>
    Пытаюсь собрать <a class="moz-txt-link-freetext" href="http://sourceforge.net/projects/gdcm/">http://sourceforge.net/projects/gdcm/</a> <br>
    DiCoM is a C++ library for DICOM medical files<br>
    <br>
    При сборке получаю вот такую ошибку. Смотрел спеки в федоре, дебиане
    - у них все собирается без дополнительных патчей.<br>
    Помогите исправить плиз.<br>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <a
href="http://git.altlinux.org/people/dubrsl/packages/?p=gdcm.git;a=blob;f=Source/MediaStorageAndFileFormat/gdcmPrinter.cxx;h=02ffb349bbe15dc917e2371811246abba205b6dc;hb=0aa3a5e1e23b78e01a30cef8d2b277b76f1d248b">http://git.altlinux.org/people/dubrsl/packages/?p=gdcm.git;a=blob;f=Source/MediaStorageAndFileFormat/gdcmPrinter.cxx;h=02ffb349bbe15dc917e2371811246abba205b6dc;hb=0aa3a5e1e23b78e01a30cef8d2b277b76f1d248b</a><br>
    <br>
    [ 83%] Building CXX object
Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmPrinter.cxx.o<br>
    cd
    /usr/src/RPM/BUILD/gdcm-2.0.18/BUILD/Source/MediaStorageAndFileFormat
    &amp;&amp; /usr/bin/c++   -DgdcmMSFF_EXPORTS -pipe -Wall -g -O2
    -march=i586 -mtune=i686 -O3 -DNDEBUG -fPIC
    -I/usr/src/RPM/BUILD/gdcm-2.0.18/Source/Common
    -I/usr/src/RPM/BUILD/gdcm-2.0.18/BUILD/Source/Common
    -I/usr/src/RPM/BUILD/gdcm-2.0.18/Source/DataStructureAndEncodingDefinition
    -I/usr/src/RPM/BUILD/gdcm-2.0.18/Source/DataDictionary
    -I/usr/src/RPM/BUILD/gdcm-2.0.18/Source/InformationObjectDefinition
    -I/usr/src/RPM/BUILD/gdcm-2.0.18/Source/MediaStorageAndFileFormat
    -I/usr/src/RPM/BUILD/gdcm-2.0.18/Utilities
    -I/usr/src/RPM/BUILD/gdcm-2.0.18/BUILD/Utilities    -o
    CMakeFiles/gdcmMSFF.dir/gdcmPrinter.cxx.o -c
/usr/src/RPM/BUILD/gdcm-2.0.18/Source/MediaStorageAndFileFormat/gdcmPrinter.cxx<br>
    In file included from /usr/include/string.h:658:0,<br>
                     from
/usr/lib/gcc/i586-alt-linux/4.5.1/../../../../include/c++/4.5.1/cstring:45,<br>
                     from
/usr/src/RPM/BUILD/gdcm-2.0.18/Source/DataStructureAndEncodingDefinition/gdcmElement.h:30,<br>
                     from
/usr/src/RPM/BUILD/gdcm-2.0.18/Source/DataStructureAndEncodingDefinition/gdcmDataSet.h:20,<br>
                     from
/usr/src/RPM/BUILD/gdcm-2.0.18/Source/DataStructureAndEncodingDefinition/gdcmFile.h:18,<br>
                     from
/usr/src/RPM/BUILD/gdcm-2.0.18/Source/MediaStorageAndFileFormat/gdcmPrinter.h:46,<br>
                     from
/usr/src/RPM/BUILD/gdcm-2.0.18/Source/MediaStorageAndFileFormat/gdcmPrinter.cxx:14:<br>
    In function 'void* memcpy(void*, const void*, size_t)',<br>
        inlined from 'void gdcm::PrintValue(const gdcm::VR::VRType&amp;,
    const gdcm::VM&amp;, const gdcm::Value&amp;)' at
/usr/src/RPM/BUILD/gdcm-2.0.18/Source/MediaStorageAndFileFormat/gdcmPrinter.cxx:418:5:<br>
    /usr/include/bits/string3.h:52:71: error: call to void*
    __builtin___memcpy_chk(void*, const void*, unsigned int, unsigned
    int) will always overflow destination buffer<br>
    make[2]: ***
    [Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmPrinter.cxx.o]
    Error 1<br>
    make[2]: Leaving directory `/usr/src/RPM/BUILD/gdcm-2.0.18/BUILD'<br>
    make[1]: ***
    [Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/all] Error
    2<br>
    make[1]: Leaving directory `/usr/src/RPM/BUILD/gdcm-2.0.18/BUILD'<br>
    make: *** [all] Error 2<br>
    make: Leaving directory `/usr/src/RPM/BUILD/gdcm-2.0.18/BUILD'<br>
    error: Bad exit status from /usr/src/tmp/rpm-tmp.61218 (%build)<br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
WBR,
Dubrovskiy Viacheslav</pre>
  </body>
</html>