From: | Carl Riches <riches(at)ms(dot)washington(dot)edu> |
---|---|
To: | pgsql-admin(at)postgreSQL(dot)org |
Subject: | Problems compiling PostgreSQL 6.4 on Digital Unix 4.0d |
Date: | 1998-11-09 20:42:10 |
Message-ID: | Pine.OSF.4.02A.9811091235240.5078-100000@hilbert1.ms.washington.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
I am having some trouble compiling version 6.4 on Digital Unix 4.0d. The
first problem I ran into was a function prototyping error in snprintf.c.
Here is the SCCS diff of the fix that I had to do to make it compile:
------- snprintf.c -------
123a124,126
> #ifdef HAVE_LONG_INT_64
> static void fmtnum __P((long_long value, int base, int dosign, int ljust, int len, int zpad));
> #else
124a128
> #endif
However, now the compile fails with all of this:
gcc -I../../../include -I../../../backend -DNOFIXADE -Wall
-Wmissing-prototypes -I../.. -c buf_init.c -o buf_init.o
../../../include/storage/s_lock.h: In function `tas':
In file included from buf_init.c:29:
../../../include/storage/s_lock.h:102: aggregate value used where an
integer was expected
buf_init.c: In function `InitBufferPool':
buf_init.c:234: incompatible types in assignment
gmake[3]: *** [buf_init.o] Error 1
gcc -I../../../include -I../../../backend -DNOFIXADE -Wall
-Wmissing-prototypes -I../.. -c ipc.c -o ipc.o
In file included from ../../../include/libpq/libpq-be.h:21,
from ../../../include/libpq/libpq.h:20,
from ipc.c:41:
../../../include/libpq/hba.h:22: warning: `MAP_FILE' redefined
/usr/include/sys/mman.h:73: warning: this is the location of the
previous definition
../../../include/storage/s_lock.h: In function `tas':
In file included from ipc.c:36:
../../../include/storage/s_lock.h:102: aggregate value used where an
integer was expected
ipc.c: In function `IpcSemaphoreCreate':
ipc.c:367: warning: cast to pointer from integer of different size
ipc.c: In function `IpcMemoryCreate':
ipc.c:569: warning: cast to pointer from integer of different size
ipc.c: In function `CreateAndInitSLockMemory':
ipc.c:699: incompatible types in assignment
ipc.c:702: incompatible types in assignment
ipc.c:703: incompatible types in assignment
ipc.c:704: incompatible types in assignment
ipc.c: In function `AttachSLockMemory':
ipc.c:725: incompatible types in assignment
gmake[3]: *** [ipc.o] Error 1
And then:
gmake[3]: Entering directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/sr
c/backend/storage/buffer'
gmake[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop.
gmake[3]: Leaving directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/src
/backend/storage/buffer'
gmake[3]: Entering directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/sr
c/backend/storage/file'
gmake[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop.
gmake[3]: Leaving directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/src
/backend/storage/file'
gmake[3]: Entering directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/sr
c/backend/storage/ipc'
gmake[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop.
gmake[3]: Leaving directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/src
/backend/storage/ipc'
gmake[3]: Entering directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/sr
c/backend/storage/large_object'
gmake[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop.
gmake[3]: Leaving directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/src
/backend/storage/large_object'
gmake[3]: Entering directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/sr
c/backend/storage/lmgr'
gmake[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop.
gmake[3]: Leaving directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/src
/backend/storage/lmgr'
gmake[3]: Entering directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/sr
c/backend/storage/page'
gmake[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop.
gmake[3]: Leaving directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/src
/backend/storage/page'
gmake[3]: Entering directory
`/usr/src/id/dunix/usr/local/bin/postgresql-v6.4/sr
c/backend/storage/smgr'
gmake[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop.
gmake: *** [all] Error 2
Can someone suggest fixes for these errors?
Thanks,
Carl
Carl G. Riches
Software Engineer
Department of Mathematics
Box 354350 voice: 206-543-5082 or 206-616-3636
University of Washington fax: 206-543-0397
Seattle, WA 98195-4350 internet: riches(at)ms(dot)washington(dot)edu
From | Date | Subject | |
---|---|---|---|
Next Message | Zachariah Baum | 1998-11-09 21:16:14 | problems exporting |
Previous Message | Bob Kruger | 1998-11-09 17:06:41 | Subscribe |