From: | Li Japin <japinli(at)hotmail(dot)com> |
---|---|
To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Symbol referencing errors |
Date: | 2019-04-23 03:56:06 |
Message-ID: | SL2PR06MB30026FB25781F42FFF7ABC44B6230@SL2PR06MB3002.apcprd06.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
When I compile PostgreSQL-11.2 on SmartOS, I find the following errors:
Undefined first referenced
symbol in file
per_MultiFuncCall adminpack.o
end_MultiFuncCall adminpack.o
BuildTupleFromCStrings adminpack.o
DecodeDateTime adminpack.o
TupleDescGetAttInMetadata adminpack.o
path_is_prefix_of_path adminpack.o
canonicalize_path adminpack.o
text_to_cstring adminpack.o
errmsg adminpack.o
superuser adminpack.o
errcode_for_file_access adminpack.o
palloc adminpack.o
CurrentMemoryContext adminpack.o
pstrdup adminpack.o
ReadDir adminpack.o
FreeFile adminpack.o
errfinish adminpack.o
init_MultiFuncCall adminpack.o
errstart adminpack.o
AllocateDir adminpack.o
GetUserId adminpack.o
is_member_of_role adminpack.o
psprintf adminpack.o
DataDir adminpack.o
Log_filename adminpack.o
Log_directory adminpack.o
AllocateFile adminpack.o
path_is_relative_and_below_cwd adminpack.o
HeapTupleHeaderGetDatum adminpack.o
errcode adminpack.o
FreeDir adminpack.o
ParseDateTime adminpack.o
path_contains_parent_reference adminpack.o
pg_detoast_datum_packed adminpack.o
CreateTemplateTupleDesc adminpack.o
TupleDescInitEntry adminpack.o
ld: warning: symbol referencing errors
make[1]: Leaving directory
'/home/postgres/postgresql-11.2/contrib/adminpack'
My environment is:
# cat /etc/release
SmartOS x86_64
Copyright 2010 Sun Microsystems, Inc. All Rights Reserved.
Copyright 2015 Joyent, Inc. All Rights Reserved.
Use is subject to license terms.
See joyent_20161108T160947Z for assembly date and time.
# $ pg_config
BINDIR = /home/postgres/pg11.2/bin
DOCDIR = /home/postgres/pg11.2/share/doc
HTMLDIR = /home/postgres/pg11.2/share/doc
INCLUDEDIR = /home/postgres/pg11.2/include
PKGINCLUDEDIR = /home/postgres/pg11.2/include
INCLUDEDIR-SERVER = /home/postgres/pg11.2/include/server
LIBDIR = /home/postgres/pg11.2/lib
PKGLIBDIR = /home/postgres/pg11.2/lib
LOCALEDIR = /home/postgres/pg11.2/share/locale
MANDIR = /home/postgres/pg11.2/share/man
SHAREDIR = /home/postgres/pg11.2/share
SYSCONFDIR = /home/postgres/pg11.2/etc
PGXS = /home/postgres/pg11.2/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--prefix=/home/postgres/pg11.2' 'CFLAGS=-g -O0'
CC = gcc
CPPFLAGS =
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv
-fexcess-precision=standard -g -O0
CFLAGS_SL = -fPIC
LDFLAGS = -Wl,-R'/home/postgres/pg11.2/lib'
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgcommon -lpgport -lz -lreadline -lnsl -lsocket -lm
VERSION = PostgreSQL 11.2
Can anyone help me out? Thanks!
Best regards!
Japin Li
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-04-23 04:09:52 | Re: Symbol referencing errors |
Previous Message | Michael Paquier | 2019-04-23 02:50:42 | Re: clean up docs for v12 |