[ https://issues.apache.org/jira/browse/HAWQ-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829427#comment-15829427 ]
Xiang Sheng commented on HAWQ-1283: ----------------------------------- Hi [~jiadx] Do you pull the latest code from github ? I just pulled the latest code and configure as you wrote "./configure --prefix=/opt/hawq-build --enable-depend --enable-cassert --enable-debug" . Then I do "make -j8" to compile and "make install" to install. All succeed. Please refer to https://github.com/apache/incubator-hawq/blob/master/src/backend/libpq/rangerrest.c and I don't find the undeclared variable. Could you confirm that ? Or maybe there are some old objects file, you could try "make distclean" first and then configure & make & make install. Thanks > error: ‘privilege’ undeclared - when make project > ------------------------------------------------- > > Key: HAWQ-1283 > URL: https://issues.apache.org/jira/browse/HAWQ-1283 > Project: Apache HAWQ > Issue Type: Bug > Reporter: Devin Jia > Assignee: Ed Espino > > when i "git pull" the newest source code,and make project, encounter error: > {quote} > ./configure --prefix=/opt/hawq-build --enable-depend --enable-cassert > --enable-debug > make install > {quote} > ...... > ...... > 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 > {color:red} > 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.) > {color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)