[Tiny Debug Issue] Undefined Reference problem encountered during compile

Поиск
Список
Период
Сортировка
От 이재훈
Тема [Tiny Debug Issue] Undefined Reference problem encountered during compile
Дата
Msg-id CAFEz8LLKbWvndX2oC-_APAOGS3445O1AiC8r7TP2N0xi2UoZFg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [Tiny Debug Issue] Undefined Reference problem encountered during compile  (Julien Rouhaud <rjuju123@gmail.com>)
Re: [Tiny Debug Issue] Undefined Reference problem encounteredduring compile  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
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? :(

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Non-reserved replication slots and slot advancing
Следующее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: RE: How can we submit code patches that implement our (pending)patents?