Re: [GENERAL] Can't Build 7.3.4 on OS X

Поиск
Список
Период
Сортировка
От Eric Ridge
Тема Re: [GENERAL] Can't Build 7.3.4 on OS X
Дата
Msg-id 75271F36-EC80-11D7-A174-0003930C70D8@tcdi.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Can't Build 7.3.4 on OS X  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] Can't Build 7.3.4 on OS X  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sep 21, 2003, at 3:11 PM, Tom Lane wrote:

> Great.  I was afraid it might have been new with 10.2.

Also, 7.3.4 doesn't link on the OS X 10.3 beta's.  Apparently tas is
never being defined.  I could never fix this.  In the list archives I
found all sorts of references to tas()/TAS and older versions of
postgres on other operating systems, but I simply couldn't figure out
how to make it happen on OS X 10.3.

the #if defined(__APPLE__) || defined(__ppc__)  section of s_lock.c was
being used, as best I could tell.  It defines a method named "void
tas_dummy()".  And s_lock.h declares "extern int tas(slock_t *lock)"
and "#define TAS(lock)  tas(lock)".... but how those match up to
tas_dummy() I don't know.

Everything compiles, then ld says:

ld: Undefined Symbol
_tas

any ideas here?  7.3.2 and 7.4beta3 compile just fine (I noticed that
7.4 has something more cross-platform for tas).  What happened in 7.3.4
that broke it?

eric

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

Предыдущее
От: Kurt Roeckx
Дата:
Сообщение: Re: Improving REINDEX for system indexes (long)
Следующее
От: Eric Ridge
Дата:
Сообщение: Re: [GENERAL] Can't Build 7.3.4 on OS X