View Issue Details

IDProjectCategoryView StatusLast Update
0000670Pgpool-IIBugpublic2020-12-09 13:12
Reporterajs Assigned Tot-ishii  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionopen 
Product Version4.1.5 
Target Version4.1.6 
Summary0000670: 4.2 Compilation Fails on FreeBSD
Description(Sorry, I can't find the 4.2 tag in product version)
gmake fails with error: main/pgpool_main.c:783:13: error: use of undeclared identifier 'INET6_ADDRSTRLEN'

Steps To ReproduceFreeBSD 12.2-RELEASE
tar -xzf pgpool-II-4.2.0.tar.gz
cd pgpool-II-4.2.0
sh configure
gmake

Additional InformationAdd to src/main/pgpool_main.c around line 36.

#ifdef __FreeBSD__
#include <netinet/in.h>
#endif
Tagsnetworking

Activities

t-ishii

2020-12-04 12:30

developer   ~0003638

Thank you for the fix! I am going to commit the patch to all supported branches.

t-ishii

2020-12-04 17:23

developer   ~0003641

Patch committed/pushed.
https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3bd83aab0ac3ab7f800f01a095997c4d1c84e3cf

t-ishii

2020-12-09 13:12

developer   ~0003644

I marked this issue as "resolved".

Issue History

Date Modified Username Field Change
2020-12-04 03:40 ajs New Issue
2020-12-04 03:40 ajs Tag Attached: networking
2020-12-04 09:45 t-ishii Assigned To => t-ishii
2020-12-04 09:45 t-ishii Status new => assigned
2020-12-04 12:30 t-ishii Note Added: 0003638
2020-12-04 12:30 t-ishii Target Version => 4.1.6
2020-12-04 17:23 t-ishii Note Added: 0003641
2020-12-09 13:12 t-ishii Note Added: 0003644
2020-12-09 13:12 t-ishii Status assigned => resolved