Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2002 15:47:47 +0100
From:      "Roderick van Domburg" <r.s.a.vandomburg@student.utwente.nl>
To:        <freebsd-ports@freebsd.org>
Subject:   PostgreSQL on FreeBSD/sparc64
Message-ID:  <LJEKLJEBPDDLMNCFCIOGCEIPCAAA.r.s.a.vandomburg@student.utwente.nl>

next in thread | raw e-mail | index | archive | help
I have tried compiling both postgresql7 (7.2.3) and postgresql-devel (7.3)
on a Sun Enterprise 250:

FreeBSD hostname.domain 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Dec 21
18:34:08 GMT 2002     root@hostname.domain:/usr/obj/usr/src/sys/GENERIC
sparc64

Both give the following error. I am not sure whether it's a FreeBSD
port-specific issue or a PostgreSQL issue, so I have sent this report to
both lists. My apologies for any inconveinance I may have caused.

cc -O -pipe  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../..
/src/include -I/usr/local/include  -c -o xlog.o xlog.c
In file included from ../../../../src/include/storage/spin.h:50,
                 from xlog.c:38:
../../../../src/include/storage/s_lock.h:211: syntax error before '*' token
../../../../src/include/storage/s_lock.h:212: warning: return type defaults
to `int'
../../../../src/include/storage/s_lock.h:212: warning: no previous prototype
for `tas'
../../../../src/include/storage/s_lock.h: In function `tas':
../../../../src/include/storage/s_lock.h:213: syntax error before "_res"
../../../../src/include/storage/s_lock.h:217: `_res' undeclared (first use
in this function)
../../../../src/include/storage/s_lock.h:217: (Each undeclared identifier is
reported only once
../../../../src/include/storage/s_lock.h:217: for each function it appears
in.)
../../../../src/include/storage/s_lock.h:217: `lock' undeclared (first use
in this function)
../../../../src/include/storage/s_lock.h: At top level:
../../../../src/include/storage/s_lock.h:562: syntax error before '*' token
../../../../src/include/storage/s_lock.h:562: warning: type defaults to
`int' in declaration of `s_lock'
xlog.c:291: syntax error before "slock_t"
xlog.c: In function `XLogInsert':
xlog.c:638: structure has no member named `info_lck'
xlog.c:638: structure has no member named `info_lck'
xlog.c:641: syntax error before "slock_t"
xlog.c:641: structure has no member named `info_lck'
xlog.c:864: structure has no member named `info_lck'
xlog.c:864: structure has no member named `info_lck'
xlog.c:870: syntax error before "slock_t"
xlog.c:870: structure has no member named `info_lck'
xlog.c: In function `AdvanceXLInsertBuffer':
xlog.c:925: structure has no member named `info_lck'
xlog.c:925: structure has no member named `info_lck'
xlog.c:929: syntax error before "slock_t"
xlog.c:929: structure has no member named `info_lck'
xlog.c: In function `XLogWrite':
xlog.c:1183: structure has no member named `info_lck'
xlog.c:1183: structure has no member named `info_lck'
xlog.c:1189: syntax error before "slock_t"
xlog.c:1189: structure has no member named `info_lck'
xlog.c: In function `XLogFlush':
xlog.c:1244: structure has no member named `info_lck'
xlog.c:1244: structure has no member named `info_lck'
xlog.c:1248: syntax error before "slock_t"
xlog.c:1248: structure has no member named `info_lck'
xlog.c: In function `XLOGShmemInit':
xlog.c:2361: syntax error before "slock_t"
xlog.c:2361: structure has no member named `info_lck'
xlog.c: In function `GetRedoRecPtr':
xlog.c:2885: structure has no member named `info_lck'
xlog.c:2885: structure has no member named `info_lck'
xlog.c:2888: syntax error before "slock_t"
xlog.c:2888: structure has no member named `info_lck'
xlog.c: In function `CreateCheckPoint':
xlog.c:3024: structure has no member named `info_lck'
xlog.c:3024: structure has no member named `info_lck'
xlog.c:3026: syntax error before "slock_t"
xlog.c:3026: structure has no member named `info_lck'
gmake[5]: *** [xlog.o] Error 1
gmake[5]: Leaving directory
`/usr/ports/databases/postgresql-devel/work/postgresql-7.3/src/backend/acces
s/transam'
gmake[4]: *** [transam-recursive] Error 2
gmake[4]: Leaving directory
`/usr/ports/databases/postgresql-devel/work/postgresql-7.3/src/backend/acces
s'
gmake[3]: *** [access-recursive] Error 2
gmake[3]: Leaving directory
`/usr/ports/databases/postgresql-devel/work/postgresql-7.3/src/backend'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/databases/postgresql-devel/work/postgresql-7.3/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/databases/postgresql-devel/work/postgresql-7.3'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/databases/postgresql-devel.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LJEKLJEBPDDLMNCFCIOGCEIPCAAA.r.s.a.vandomburg>