[Gambas-bugtracker] Bug #1672: latest 3.14.1 release fails to build with new postgresql 12
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Thu Oct 31 07:17:37 CET 2019
http://gambaswiki.org/bugtracker/edit?object=BUG.1672&from=L21haW4-
Geiger DAVID reported a new bug.
Summary
-------
latest 3.14.1 release fails to build with new postgresql 12
Type : Bug
Priority : Medium
Gambas version : 3.14
Product : PostgreSQL driver
Description
-----------
Hi,
I tried on Mageia Cauldron to build latest 3.14.1 release but it fails to build against latest postgresql 12:
Making all in src
make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/gambas-3.14.1/gb.db.postgresql/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/postgresql/server/ -I/usr/include/postgresql/server/catalog/ -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT gb_db_postgresql_la-main.lo -MD -MP -MF .deps/gb_db_postgresql_la-main.Tpo -c -o gb_db_postgresql_la-main.lo `test -f 'main.c' || echo './'`main.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/postgresql/server/ -I/usr/include/postgresql/server/catalog/ -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -MT gb_db_postgresql_la-main.lo -MD -MP -MF .deps/gb_db_postgresql_la-main.Tpo -c main.c -fPIC -DPIC -o .libs/gb_db_postgresql_la-main.o
main.c: In function 'conv_type':
main.c:338:8: error: 'ABSTIMEOID' undeclared (first use in this function); did you mean 'TIMEOID'?
338 | case ABSTIMEOID:
| ^~~~~~~~~~
| TIMEOID
main.c:338:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:339:8: error: 'RELTIMEOID' undeclared (first use in this function); did you mean 'TIMEOID'?
339 | case RELTIMEOID:
| ^~~~~~~~~~
| TIMEOID
main.c: In function 'conv_data':
main.c:421:8: error: 'ABSTIMEOID' undeclared (first use in this function); did you mean 'TIMEOID'?
421 | case ABSTIMEOID:
| ^~~~~~~~~~
| TIMEOID
main.c:422:8: error: 'RELTIMEOID' undeclared (first use in this function); did you mean 'TIMEOID'?
422 | case RELTIMEOID:
| ^~~~~~~~~~
| TIMEOID
make[4]: *** [Makefile:492: gb_db_postgresql_la-main.lo] Error 1
Regards,
David
(Team Mageia packager)
System information
------------------
Mageia Linux Cauldron
GCC 9.2.1
postgresql 12.0
More information about the Bugtracker
mailing list