Minor problem in compiling Postgres 6.5.2

From: Marc-Oliver Westerburg <marc(dot)westerburg(at)post(dot)rwth-aachen(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Minor problem in compiling Postgres 6.5.2
Date: 1999-10-07 02:15:09
Message-ID: 37FC022D.659C487D@post.rwth-aachen.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

Your name :Marc-Oliver Westerburg
Your email address :marc(dot)westerburg(at)post(dot)rwth-aachen(dot)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.

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Péder 1999-10-07 14:03:44 Pg.so bug
Previous Message bojay 1999-10-06 22:08:00 bug: 'alter table' in psql