Description
Hi,
I have a question, not an issue, I guess. I am on,
[eric@almond postgresql-hll]$ cat /etc/fedora-release
Fedora release 26 (Twenty Six)
[eric@almond postgresql-hll]$ gcc -v
...
gcc version 7.3.1 20180130 (Red Hat 7.3.1-2) (GCC)
[eric@almond postgresql-hll]$ dnf list glibc
Installed Packages
glibc.x86_64 2.25-13.fc26 @@commandline
When I compile the extension, I see,
[eric@almond postgresql-hll]$ make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DLINUX_OOM_SCORE_ADJ=0 -fPIC -std=c99 -fPIC -Wall -Wextra -Werror -Wno-unused-parameter -Wno-implicit-fallthrough -Iinclude -I/usr/include -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/hll.o src/hll.c
In file included from /usr/include/pgsql/server/funcapi.h:20:0,
from src/hll.c:28:
src/hll.c: In function ‘hll_hashval_in’:
src/hll.c:1975:36: error: ‘int8in’ undeclared (first use in this function); did you mean ‘int4in’?
Datum dd = DirectFunctionCall1(int8in, PG_GETARG_DATUM(0));
^
/usr/include/pgsql/server/fmgr.h:556:26: note: in definition of macro ‘DirectFunctionCall1’
DirectFunctionCall1Coll(func, InvalidOid, arg1)
^~~~
src/hll.c:1975:36: note: each undeclared identifier is reported only once for each function it appears in
Datum dd = DirectFunctionCall1(int8in, PG_GETARG_DATUM(0));
^
/usr/include/pgsql/server/fmgr.h:556:26: note: in definition of macro ‘DirectFunctionCall1’
DirectFunctionCall1Coll(func, InvalidOid, arg1)
^~~~
src/hll.c: In function ‘hll_hashval_out’:
src/hll.c:1984:36: error: ‘int8out’ undeclared (first use in this function); did you mean ‘int4out’?
Datum dd = DirectFunctionCall1(int8out, PG_GETARG_DATUM(0));
^
/usr/include/pgsql/server/fmgr.h:556:26: note: in definition of macro ‘DirectFunctionCall1’
DirectFunctionCall1Coll(func, InvalidOid, arg1)
^~~~
make: *** [: src/hll.o] Error 1
Thanks!