Compilation error (version 0.4.0)

Issue #41 wontfix
Former user created an issue

Originally reported on Google Code with ID 41

Compilation log:

 g++ -c -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g -I/usr/lib64/libzip/include  fileNode.cpp
-o fileNode.o
 fileNode.cpp: In member function 'void FileNode::processExternalAttributes()':
 fileNode.cpp:320:63: error: 'zip_file_get_external_attributes' was not declared in
this scope
      zip_file_get_external_attributes(zip, id, 0, &opsys, &attr);
                                                                ^
 fileNode.cpp:322:14: error: 'ZIP_OPSYS_UNIX' was not declared in this scope
          case ZIP_OPSYS_UNIX: {
               ^
 fileNode.cpp:332:14: error: 'ZIP_OPSYS_DOS' was not declared in this scope
          case ZIP_OPSYS_DOS:
               ^
 fileNode.cpp:333:14: error: 'ZIP_OPSYS_WINDOWS_NTFS' was not declared in this scope
          case ZIP_OPSYS_WINDOWS_NTFS:
               ^
 fileNode.cpp:334:14: error: 'ZIP_OPSYS_MVS' was not declared in this scope
          case ZIP_OPSYS_MVS: {
               ^
 fileNode.cpp: In member function 'int FileNode::updateExternalAttributes() const':
 fileNode.cpp:524:13: error: 'ZIP_OPSYS_UNIX' was not declared in this scope
              ZIP_OPSYS_UNIX, mode);
              ^
 fileNode.cpp:524:33: error: 'zip_file_set_external_attributes' was not declared in
this scope
              ZIP_OPSYS_UNIX, mode);
                                  ^
 fileNode.cpp:525:1: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
 Makefile:24: recipe for target 'fileNode.o' failed
 make[1]: *** [fileNode.o] Error 1

Reported by lazy.kent.suse on 2014-01-18 08:54:49

Comments (1)

  1. Former user Account Deleted
    Install libzip >= 0.11.2.
    

    Reported by alexander.galanin on 2014-01-19 06:31:10 - Status changed: WontFix

  2. Log in to comment