Re: [Tiny Debug Issue] Undefined Reference problem encountered during compile

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: 이재훈 <ljhh0611(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [Tiny Debug Issue] Undefined Reference problem encountered during compile
Date: 2018-07-10 08:28:09
Message-ID: CAOBaU_YHNjxHFo2T3Prxk_MjV6V=bg7iBGpjs5uHL9bP9iEXyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Tue, Jul 10, 2018 at 10:19 AM, 이재훈 <ljhh0611(at)gmail(dot)com> wrote:
>
> I want to use TransactionIdEquals() function in freelist.c file.
> Then, I included a header file, "access/xact.h" for the function.
>
> However, in make command, compiler send implicit declaration of function
> warning and then undefined reference at linking time.
>
> How could I overcome this problem? :(

This macro is actually defined in access/transam.h.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-07-10 08:29:32 Re: Non-reserved replication slots and slot advancing
Previous Message Tsunakawa, Takayuki 2018-07-10 08:20:53 RE: How can we submit code patches that implement our (pending) patents?