Re: porting postgresql 7.0.3 to linux on SH3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: porting postgresql 7.0.3 to linux on SH3
Дата
Msg-id 3587.1033138656@sss.pgh.pa.us
обсуждение исходный текст
Ответ на porting postgresql 7.0.3 to linux on SH3  (Zhao Li <lizhaosg@yahoo.com.sg>)
Список pgsql-ports
=?iso-8859-1?q?Zhao=20Li?= <lizhaosg@yahoo.com.sg> writes:
> When I tried to port postgresql 7.0.3 to linux on SH3,
> I cannot compile the s_lock.c under the
> src/backend/storage/buffer directory.

Why are you bothering with 7.0.3?  That's two major versions back
(almost three, in fact).  Use 7.2.2 if you want a stable release,
or 7.3 beta if you are experimenting.

> gcc -I../../../include -I../../../backend   -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -I../..
> -c -o s_lock.o s_lock.c
> s_lock.c:47: warning: type defaults to `int' in
> declaration of `slock_t'
> s_lock.c:47: parse error before '*' token

This looks like your compiler does not understand "volatile".
While a compiler update might be appropriate too, I would have
thought that "configure" would catch this.  Did you run configure
for this platform?

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: porting postgresql 7.0.3 to linux on SH3
Следующее
От: Jeshua Lacock
Дата:
Сообщение: 7.2.2 on Mac OS 10.2.1 (Darwin 6.0)