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.



[Tiny Debug Issue] Undefined Reference problem encountered during compile

2018-07-10 Thread 이재훈
First of all, thank you for listening to this mail.

As I mentioned in the title, I got a undefined reference in compiling time.
The reason that I wonder is that I surely add header file for the function.

In more detail,

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? :(