Compilation 1.4.16j under Debian/Ubuntu fails

  • Hello,
    I'd like to mention that latest (maybe not - newest could be "k") "j" revision of CQ fails to compile under Debian and Ubuntu (both 64bit).


    Compilation errors:
    Debian (sid):
    "
    ....
    In file included from total.cpp:137:
    /usr/include/sys/stat.h: In member function ‘virtual UINT16 MyBridgeStorage::CheckObject(DICOMDataObject*, PDU_Service*)’:
    /usr/include/sys/stat.h:323: error: too few arguments to function ‘int mkdir(const char*, __mode_t)’
    dgate.cpp:2259: error: at this point in file
    ...
    "


    Ubuntu (oneiric 64bit):
    "...
    In file included from total.cpp:137:0:
    dgate.cpp: In member function ‘virtual UINT16 MyBridgeStorage::CheckObject(DICOMDataObject*, PDU_Service*)’:
    dgate.cpp:2259:18: error: too few arguments to function ‘int mkdir(const char*, __mode_t)’
    /usr/include/x86_64-linux-gnu/sys/stat.h:323:12: note: declared here
    ..."


    Any ideas?


    Thx
    Bart

  • Hi,


    to fix it, edit dgate.cpp and move this block:



    Up above line 2259, e.g., at line 2220.


    Marcel

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!