Greetings:

I am (have attempted to) porting PostgreSQL 7.1.2 to Lynx RT OS (http://www.lynx.com).  This OS does not support dynamic loading (on non-MIPS platforms). 
After successful build, I did a 'make check' and
am getting the following errors. I would appreciate if anyone can point me toward the possible causes.

Regards,
-Chris

History of changes:
- renamed socket.h, pg_socket.h (to remove conflicts with <socket.h> which the compiler does not differentiate).
- Changed 'yylval' in bootscanner.l to 'extern YYSTYPE yylval' to remove conflict with bootparse.c
- and a few minor changes.

The errors are:
File: postmaster.log
οΏ½-----------------------------------------------------------------------------------------
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: reaping dead processes...
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: ServerLoop:               handling reading 5
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: ServerLoop:               handling reading 5
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: ServerLoop:               handling writing 5
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: BackendStartup: pid 34 user postgres db template1 socket 5
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster child[34]: starting with (postgres -d5 -v131072 -p template1 )
FindExec: found "/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postgres" using argv[0]
DEBUG:  connection: host=127.0.0.1 user=postgres database=template1
DEBUG:  InitPostgres
DEBUG:  _mdfd_blind_getseg: couldn't open /pg/postgresql-7.1.2/src/test/regress/./tmp_check/data/global/0: File or directory doesn't exist
FATAL 1:  cannot write block -1 of 0/0 blind: File or directory doesn't exist
DEBUG:  proc_exit(0)
DEBUG:  shmem_exit(0)
DEBUG:  exit(0)
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: reaping dead processes...
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: CleanupProc: pid 34 exited with status 0
Fast Shutdown request at Sun Sep 16 12:07:53 2001
DEBUG:  shutting down
NOTICE: Please reconnect to the database system and repeat your query.to terminate your database system connection and exit.
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: reaping dead processes...
/pg/postgresql-7.1.2/src/test/regress/./tmp_check/install//pg/bin/postmaster: Shutdown proc 12 exited with status 256
οΏ½--------------------------------------------------------------------------------------





'make check' output
.......................................................................................
$ tail log/make.check.out
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I../../src/include -D__NO_INCLUDE_WARN__ -DHAVE_SYS_SHM_H -DREFINT_VERBOSE  -c autoinc.c -o autoinc.o
/bin/sh ./pg_regress --debug --temp-install --top-builddir=../../.. --schedule=./parallel_schedule --multibyte=
============== creating temporary installation        ==============
============== initializing database system           ==============
============== starting postmaster                    ==============
running on port 65432 with pid 88
============== creating database "regression"         ==============
psql: FATAL 1:  cannot write block -1 of 0/0 blind: File or directory doesn't exist
createdb: database creation failed
pg_regress: createdb failed





Sun, 16 Sep 2001 21:15:00 -0700
"Chris Hakimi" <chakimi@sj.symbol.com>
Port of 7.1.2 to Lynx RT-OS