Re: porting postgresql 7.0.3 to linux on SH3

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Zhao Li <lizhaosg(at)yahoo(dot)com(dot)sg>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: porting postgresql 7.0.3 to linux on SH3
Date: 2002-09-27 13:48:44
Message-ID: 200209271348.g8RDmiQ17660@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


Please upgrade to 7.3beta and try that.

---------------------------------------------------------------------------

Zhao Li wrote:
> Dear Sir,
>
> 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. The errors are
> as follows:
>
> 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
> s_lock.c: In function `s_lock_stuck':
> s_lock.c:51: `lock' undeclared (first use in this
> function)
> s_lock.c:51: (Each undeclared identifier is reported
> only once
> s_lock.c:51: for each function it appears in.)
> s_lock.c:51: `file' undeclared (first use in this
> function)
> s_lock.c:51: `line' undeclared (first use in this
> function)
> s_lock.c: At top level:
> s_lock.c:74: warning: type defaults to `int' in
> declaration of `slock_t'
> s_lock.c:74: parse error before '*' token
> s_lock.c:75: warning: no previous prototype for
> `s_lock'
> s_lock.c: In function `s_lock':
> s_lock.c:78: warning: implicit declaration of function
> `TAS'
> s_lock.c:78: `lock' undeclared (first use in this
> function)
> s_lock.c:84: `file' undeclared (first use in this
> function)
> s_lock.c:84: `line' undeclared (first use in this
> function)
> make[3]: *** [s_lock.o] Error 1
>
> Is there any way to fix the compliler errors?
>
> Any help will be highly appreciated!
>
> Regards,
> Li Zhao
>
> __________________________________________________
> Do You Yahoo!?
> Get cool ringtones and name logos for your phone!
> http://sg.mobile.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2002-09-27 14:57:36 Re: porting postgresql 7.0.3 to linux on SH3
Previous Message REYNAUD Jean-Samuel 2002-09-27 12:37:24 Re: Can't install DBD