Re: [SQL] Install: Undefined symbol `_TAS'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frank Bax <fbax(at)execulink(dot)com>
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] Install: Undefined symbol `_TAS'
Date: 2000-02-04 06:48:21
Message-ID: 1848.949646901@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Frank Bax <fbax(at)execulink(dot)com> writes:
> I've got an installation problem:
> OpenBSD 2.6 - gmake 3.78.1 - Postgres 6.5.3 (new install)

> storage/SUBSYS.o: Undefined symbol `_TAS' referenced from text segment

Hm. tas() is a machine-dependent subroutine for low-level spinlocking.
It's typically provided as a macro in src/include/storage/s_lock.h
or a function in src/backend/storage/buffer/s_lock.c; some platforms
have assembly-coded versions in src/backend/port/tas/. It sounds like
for some reason none of the provided alternatives are getting compiled
on your platform. Please dig through the #ifdefs in those files and
figure out what needs to be changed to make it work on your setup.

(A likely possibility is that configure misidentified your platform;
did you notice whether it printed a reasonable platform ID?)

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Taral 2000-02-04 11:33:31 Concurrency problem
Previous Message Don Baccus 2000-02-04 05:17:10 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL