Re: Linker errors while creating a PostgreSQL C extension function.

From: TalGloz <glozmantal(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Linker errors while creating a PostgreSQL C extension function.
Date: 2018-08-19 13:20:20
Message-ID: 1534684820114-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'll try it later when I'm home. Is there a reason that you are linking like
this

$(CXX) -Wl,--no-undefined -shared -o seal_diff_cpp.so $(LDFLAGS) $(LDLIBS)
seal_diff_cpp.o

And not like this?

$(CXX) -Wl,--no-undefined -shared -o seal_diff_cpp.so seal_diff_cpp.o
$(LDFLAGS) $(LDLIBS)

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Igrishin 2018-08-19 14:28:52 Re: Linker errors while creating a PostgreSQL C extension function.
Previous Message Dmitry Igrishin 2018-08-19 13:09:49 Re: Linker errors while creating a PostgreSQL C extension function.