pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Li Japin <japinli@hotmail.com>
To: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Symbol referencing errors
Date: Tue, 23 Apr 2019 03:56:06 +0000
Message-ID: <SL2PR06MB30026FB25781F42FFF7ABC44B6230@SL2PR06MB3002.apcprd06.prod.outlook.com> (raw)

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


view thread (10+ messages)  latest in thread

Message-ID: <SL2PR06MB30026FB25781F42FFF7ABC44B6230@SL2PR06MB3002.apcprd06.prod.outlook.com>
Permalink:  ../SL2PR06MB30026FB25781F42FFF7ABC44B6230@SL2PR06MB3002.apcprd06.prod.outlook.com/
Also on:    postgresql.org/message-id/SL2PR06MB30026FB25781F42FFF7ABC44B6230@SL2PR06MB3002.apcprd06.prod.outlook.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: japinli@hotmail.com
  Subject: Re: Symbol referencing errors
  In-Reply-To: <SL2PR06MB30026FB25781F42FFF7ABC44B6230@SL2PR06MB3002.apcprd06.prod.outlook.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox