Minor problem in compiling Postgres 6.5.2

Started by Marc-Oliver Westerburgover 26 years ago1 messagesbugs
Jump to latest
#1Marc-Oliver Westerburg
marc.westerburg@post.rwth-aachen.de

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name :Marc-Oliver Westerburg
Your email address :marc.westerburg@post.rwth-aachen.de

System Configuration
---------------------
Architecture (example: Intel Pentium) :Intel Pentium 233 MMX

Operating System (example: Linux 2.0.26 ELF) :SuSE Linux 6.2 (kernel
2.2.10,
libc6, ELF)

PostgreSQL version (example: PostgreSQL-6.5.2): PostgreSQL-6.5.2

Compiler used (example: gcc 2.8.0) :gcc-2.95.1

Please enter a FULL description of your problem:
------------------------------------------------
When compiling src/backend/libpq/hba.c gcc exits with a
parse error in line 520 before remote_port.

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
just configure and make as described in INSTALL

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
gcc doesn't like the ushort. I didn't check any header files for a
definition of ushort
but a simple "#define ushort unsigned short" at the beginning of the
file (src/backend/libpq/hba.c)
seems to solve the problem.