[GENERAL] Undefined Reference - Mailing list pgsql-general

From Stefan Wagner
Subject [GENERAL] Undefined Reference
Date
Msg-id trinity-95674491-8c24-4e53-9225-c253a603eac5-1504517570560@3c-app-gmx-bs38
Whole thread Raw
List pgsql-general
I'm apologizing in advance for the double post. Since my first one wasn't composed very thoughtfull and hasn't gotten any responses.
 
Im new to postgresql and trying to create a new Clause in the source code. Thanks to some advice in this Mailing List I've been able to start coding.
 
I'm using Windows 7 as a operating System and building the source code with MSYS2 MingGw.
 
It seems I'm missing something very simple in the Libary Files looking at the Error Code.
But since im new to this it really feels like a Roadblock can someone give me advice what to do or where to add the missing references?
 
I added a File src\backend\executor\nodeDelFil which includes #include "utils/tuplewindow.h" but I get following Error:
 

x86_64-w64-mingw32-gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
-O2 -L../../src/port -L../../src/common -Wl,--allow-multiple-definition -Wl,--disable-auto-import  -Wl,--as-needed
  -Wl,--stack=4194304 -Wl,--export-all-symbols -Wl,--out-implib=libpostgres.a access/brin/brin.o access/brin/brin_pageops.o...
... ../../src/common/libpgcommon_srv.a win32ver.o -lws2_32 -lm -lws2_32 -lsecur32 -o postgres.exe
make[2]: *** [Makefile:86: postgres] Error 1..
..executor/nodeDelFil.o:nodeDelFil.c:(.text+0x22): undefined reference to `tuplewindow_end'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x43): undefined reference to `tuplewindow_begin'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x306): undefined reference to `tuplewindow_rewind'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x324): undefined reference to `tuplewindow_ateof'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x336): undefined reference to `tuplewindow_gettupleslot'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x365): undefined reference to `tuplewindow_movenext'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x36d): undefined reference to `tuplewindow_ateof'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x385): undefined reference to `tuplewindow_puttupleslot'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x3a9): undefined reference to `tuplewindow_removecurrent'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x3da): undefined reference to `tuplewindow_setinsertrank'
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x413): undefined reference to `tuplewindow_setinsertrank'
collect2.exe: error: ld returned 1 exit status
 
Every Help would be greatly appreciated.

pgsql-general by date:

Previous
From: Nico Williams
Date:
Subject: Re: [GENERAL] Create Action for psql when NOTIFY Recieved
Next
From: Seamus Abshere
Date:
Subject: [GENERAL] Surprising locking behavior with CTE, FOR SHARE, and UPDATE