Thread

  1. Minor problem in compiling Postgres 6.5.2

    Marc-Oliver Westerburg <marc.westerburg@post.rwth-aachen.de> — 1999-10-07T02:15:09Z

    ============================================================================
                            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.