../../src/include/storage/s_lock.h:946:2: error: #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to .
#error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@lists.postgresql.org.
^~~~~
../../src/include/storage/s_lock.h:1018:25: error: unknown type name ‘slock_t’
extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or
^~~~~~~
../../src/include/storage/s_lock.h:1028:8: error: unknown type name ‘slock_t’
extern slock_t dummy_spinlock;
^~~~~~~
../../src/include/storage/s_lock.h:1033:28: error: unknown type name ‘slock_t’
extern int s_lock(volatile slock_t *lock, const char *file, int line, const char *func);
^~~~~~~
In file included from ../../src/include/utils/sharedtuplestore.h:18,
from ../../src/include/nodes/execnodes.h:26,
from ../../src/include/executor/execdesc.h:18,
from ../../src/include/executor/executor.h:17,
from ../../src/include/funcapi.h:22,
from adminpack.c:23:
../../src/include/storage/sharedfileset.h:29:2: error: unknown type name ‘slock_t’
slock_t mutex; /* mutex protecting the reference count */
^~~~~~~
In file included from ../../src/include/nodes/execnodes.h:32,
from ../../src/include/executor/execdesc.h:18,
from ../../src/include/executor/executor.h:17,
from ../../src/include/funcapi.h:22,
from adminpack.c:23:
../../src/include/storage/condition_variable.h:30:2: error: unknown type name ‘slock_t’
slock_t mutex; /* spinlock protecting the wakeup list */
^~~~~~~
In file included from ../../src/include/executor/execdesc.h:18,
from ../../src/include/executor/executor.h:17,
from ../../src/include/funcapi.h:22,
from adminpack.c:23:
../../src/include/nodes/execnodes.h:1560:2: error: unknown type name ‘slock_t’
slock_t mutex;
^~~~~~~
make[1]: *** [<内置>:adminpack.o] 错误 1