Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1283

error: ‘privilege’ undeclared - when make project

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0.0-incubating
    • Component/s: Security
    • Labels:
      None

      Description

      when i "git pull" the newest source code,and make project, encounter error:

      ./configure --prefix=/opt/hawq-build --enable-depend --enable-cassert --enable-debug
      make install

      ......
      ......
      gcc -O0 -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -g -ggdb -I/usr/include/libxml2 -I../../../src/include -D_GNU_SOURCE -I/opt/incubator-hawq/depends/libhdfs3/build/install/opt/hawq-build/include -I/opt/incubator-hawq/depends/libyarn/build/install/opt/hawq-build/include -c -o rangerrest.o rangerrest.c -MMD -MP -MF .deps/rangerrest.Po

      rangerrest.c: In function ‘create_ranger_request_json’:
      rangerrest.c:165: error: ‘privilege’ undeclared (first use in this function)
      rangerrest.c:165: error: (Each undeclared identifier is reported only once
      rangerrest.c:165: error: for each function it appears in.)

        Attachments

          Activity

            People

            • Assignee:
              xsheng Xiang Sheng
              Reporter:
              jiadx Devin Jia
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: