hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Bouzolin <dbouzo...@yahoo.com.INVALID>
Subject build fail on arch linux
Date Sun, 29 Jan 2017 19:41:54 GMT
Hi All,
Yes, I know arch linux is not supported, however I appreciate any clues on why the build would
fail like so:

make -C caql allmake[4]: Entering directory '/data/src/incubator-hawq/src/backend/catalog/caql'
gcc -O3 -std=gnu99  -Wall -Wmissing-prototypes -Wpointer-arith  -Wendif-labels -Wformat-security
-fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations  -I/usr/include/libxml2 -I../../../../src/include
-D_GNU_SOURCE  -I/data/src/incubator-hawq/depends/libhdfs3/build/install/opt/hawq/include
-I/data/src/incubator-hawq/depends/libyarn/build/install/opt/hawq/include  -c -o gram.o gram.c
gram.c: In function ‘caql_yyparse’:
gram.c:1368:41: error: ‘yyscanner’ undeclared (first use in this function)
       yychar = yylex (&yylval, &yylloc, yyscanner);
                                         ^
gram.c:1368:41: note: each undeclared identifier is reported only once for each function it
appears in
<builtin>: recipe for target 'gram.o' failed

If I build on CentOS, I get different make like for this target and build succeeds:
make -C caql all
make[4]: Entering directory `/data/src/incubator-hawq/src/backend/catalog/caql'
gcc -O3 -std=gnu99  -Wall -Wmissing-prototypes -Wpointer-arith  -Wendif-labels -Wformat-security
-fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations  -I/usr/include/libxml2 -I../../../../src/include
-D_GNU_SOURCE  -I/data/src/incubator-hawq/depends/libhdfs3/build/install/opt/hawq/include
-I/data/src/incubator-hawq/depends/libyarn/build/install/opt/hawq/include  -c -o caqlanalyze.o
caqlanalyze.c

The difference is in input and output file. The same line in Arch completes successfully.
All dependencies are in place.

Thanks, Dmitry.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message