Re: porting postgresql 7.0.3 to linux on SH3
От | Bruce Momjian |
---|---|
Тема | Re: porting postgresql 7.0.3 to linux on SH3 |
Дата | |
Msg-id | 200209271348.g8RDmiQ17660@candle.pha.pa.us обсуждение исходный текст |
Ответ на | porting postgresql 7.0.3 to linux on SH3 (Zhao Li <lizhaosg@yahoo.com.sg>) |
Список | 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-ports по дате отправления: