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

2018-07-10 Thread Michael Paquier
On Tue, Jul 10, 2018 at 05:19:25PM +0900, 이재훈 wrote:
> I want to use TransactionIdEquals() function in freelist.c file.
> Then, I included a header file, "access/xact.h" for the function.

This is in access/transam.h.
--
Michael


signature.asc
Description: PGP signature


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

2018-07-10 Thread Julien Rouhaud
Hi,

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