Re: [Tiny Debug Issue] Undefined Reference problem encountered during compile - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: [Tiny Debug Issue] Undefined Reference problem encountered during compile
Date
Msg-id CAOBaU_YHNjxHFo2T3Prxk_MjV6V=bg7iBGpjs5uHL9bP9iEXyg@mail.gmail.com
Whole thread Raw
In response to [Tiny Debug Issue] Undefined Reference problem encountered during compile  (이재훈 <ljhh0611@gmail.com>)
List pgsql-hackers
Hi,

On Tue, Jul 10, 2018 at 10:19 AM, 이재훈 <ljhh0611@gmail.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.


pgsql-hackers by date:

Previous
From: "Tsunakawa, Takayuki"
Date:
Subject: RE: How can we submit code patches that implement our (pending)patents?
Next
From: Michael Paquier
Date:
Subject: Re: Non-reserved replication slots and slot advancing