Problem compiling for alpha - Mailing list pgsql-ports

From root
Subject Problem compiling for alpha
Date
Msg-id 199911221609.LAA15435@mae.mit.edu
Whole thread Raw
List pgsql-ports
Your name        :    Joe Frisbie
Your email address    :    jf@stan.mit.edu


System Configuration
---------------------
  Architecture (example: Intel Pentium)      : Alpha

  Operating System (example: Linux 2.0.26 ELF)     : Linux (RH 6.0)

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

  Compiler used (example:  gcc 2.8.0)        : egcs-2.91.66


Please enter a FULL description of your problem:
------------------------------------------------
Can't build, even with Ryan Kirkpatrick's patches.
This is the tail of the make log:
gcc -I../../../include -I../../../backend   -O2 -Wall -Wmissing-prototypes -I../..    -c istrat.c -o istrat.o
In file included from /usr/include/math.h:348,
                 from ../../../include/utils/dt.h:19,
                 from ../../../include/utils/nabstime.h:17,
                 from ../../../include/access/htup.h:16,
                 from ../../../include/access/heapam.h:17,
                 from istrat.c:18:
/usr/include/bits/mathinline.h:156: warning: no previous prototype for `__fdimf'
/usr/include/bits/mathinline.h:161: warning: no previous prototype for `fdimf'
/usr/include/bits/mathinline.h:166: warning: no previous prototype for `__fdim'
/usr/include/bits/mathinline.h:171: warning: no previous prototype for `fdim'
istrat.c: In function `OperatorRelationFillScanKeyEntry':
istrat.c:492: `F_OIDEQ' undeclared (first use in this function)
istrat.c:492: (Each undeclared identifier is reported only once
istrat.c:492: for each function it appears in.)
istrat.c: In function `IndexSupportInitialize':
istrat.c:558: `F_OIDEQ' undeclared (first use in this function)
make[3]: *** [istrat.o] Error 1
make[3]: Leaving directory `/mae1/postgres/postgresql-6.5.2/src/backend/access/index'
make[2]: *** [submake] Error 2
make[2]: Leaving directory `/mae1/postgres/postgresql-6.5.2/src/backend/access'
make[1]: *** [access.dir] Error 2
make[1]: Leaving directory `/mae1/postgres/postgresql-6.5.2/src/backend'
make: *** [all] Error 2


Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Happens every time for me.

pgsql-ports by date:

Previous
From: "Rainer Tammer"
Date:
Subject: compilation on AIX 4.3.2 with international support
Next
From: "krlux"
Date:
Subject: PostgreSQL for Linux, NT and Windows 98, from Access ?