From: | Zhao Li <lizhaosg(at)yahoo(dot)com(dot)sg> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | porting postgresql 7.0.3 to linux on SH3 |
Date: | 2002-09-23 12:16:01 |
Message-ID: | 20020923121601.26160.qmail@web12903.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
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
From | Date | Subject | |
---|---|---|---|
Next Message | LJL | 2002-09-25 17:47:07 | pgadmin II and firewall settings |
Previous Message | Nils | 2002-09-21 15:10:57 | Can't install DBD |