6.4 BETA2 fails to compile on Digital Unix 4.0d

Поиск
Список
Период
Сортировка
От Pedro J. Lobo
Тема 6.4 BETA2 fails to compile on Digital Unix 4.0d
Дата
Msg-id Pine.OSF.4.05.9810291216070.9292-100000@haddock.euitt.upm.es
обсуждение исходный текст
Ответы Re: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d
Список pgsql-hackers
Hi, all.

I am testing 6.4 on a DU 4.0d system using DEC's (well, Compaq's) C
compiler, gmake 3.75, bison 1.25 and flex 2.5.4, and I've found two
problems.

1 - The old "configure --with-CC=cc" problem is still there: configure
fails if you specify --with-CC=cc when it is going to test whether the C
compiler needs the "-traditional" flag. I think I remember it was due to a
bug in autoconf itself, so there isn't much to be done, except patch the
configure script by hand before making the release. I can supply a patch,
if needed.

2 - I get the following error when compiling:

cc -I../../../include -I../../../backend   -I/usr/local/include -DNOFIXADE -O4 -Olimit 2000  -I../..    -c istrat.c -o
istrat.o
cc: Error: istrat.c, line 495: In this statement, "F_OIDEQ" is not declared.
             F_OIDEQ,
 
-----------------------------------------------------------^
cc: Error: istrat.c, line 561: In this statement, "F_OIDEQ" is not declared.
             F_OIDEQ,
 
-----------------------------------------------------------^
cc: Error: istrat.c, line 604: In this statement, "F_OIDEQ" is not declared.
             F_OIDEQ,
 
-----------------------------------------------------------^
cc: Error: istrat.c, line 642: In this statement, "F_OIDEQ" is not declared.
     F_OIDEQ,
 
---------------------------------------------------^
gmake[3]: *** [istrat.o] Error 1
gmake[3]: Leaving directory
`/usr/local/pgsql.beta/src/pgsql/src/backend/access/
index'
gmake[2]: *** [submake] Error 2
gmake[2]: Leaving directory
`/usr/local/pgsql.beta/src/pgsql/src/backend/access'
gmake[1]: *** [access.dir] Error 2
gmake[1]: Leaving directory `/usr/local/pgsql.beta/src/pgsql/src/backend'
gmake: *** [all] Error 2

It bombs compiling backend/access/index/istrat.c. I have searched all the
occurences of "F_OIDEQ" in all files (that is all files, not just .c or
.h), and found it in the following ones:

./backend/access/index/istrat.c
./backend/catalog/heap.c
./backend/catalog/index.c
./backend/catalog/indexing.c
./backend/catalog/pg_operator.c
./backend/commands/remove.c
./backend/commands/trigger.c
./backend/commands/vacuum.c
./backend/executor/execUtils.c
./backend/optimizer/path/indxpath.c
./backend/optimizer/util/plancat.c
./backend/parser/parse_func.c
./backend/rewrite/rewriteRemove.c
./backend/utils/adt/selfuncs.c
./backend/utils/cache/catcache.c
./backend/utils/cache/relcache.c

As you can see, F_OIDEQ isn't defined in any header file nor in any other
kind of config file. I've also searched in /usr/include/... and
/usr/local/include..., just in case.

Any hints?

P.S.: I've also noticed that there is a "F_OID8EQ" that's found only in
backend/catalog/indexing.c and backend/utils/cache/catcache.c.

-------------------------------------------------------------------
Pedro José Lobo Perea                   Tel:    +34 91 336 78 19
Centro de Cálculo                       Fax:    +34 91 331 92 29
EUIT Telecomunicación - UPM             e-mail: pjlobo@euitt.upm.es



В списке pgsql-hackers по дате отправления:

Предыдущее
От: SHIOZAKI Takehiko
Дата:
Сообщение: v6.4-BETA3 problem with FreeBSD
Следующее
От: Oleg Bartunov
Дата:
Сообщение: regression test results - Linux, cvs