From: | "Stefan Wagner" <s_wagner1(at)gmx(dot)net> |
---|---|
To: | "General POSTGRESQL maillist" <pgsql-general(at)postgresql(dot)org> |
Subject: | Undefined Reference |
Date: | 2017-09-04 09:32:50 |
Message-ID: | trinity-95674491-8c24-4e53-9225-c253a603eac5-1504517570560@3c-app-gmx-bs38 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>I'm apologizing in advance for the double post. Since my first one wasn't composed very thoughtfull and hasn't gotten any responses.</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>I'm using Windows 7 as a operating System and building the source code with MSYS2 MingGw.</div>
<div> </div>
<div>It seems I'm missing something very simple in the Libary Files looking at the Error Code.</div>
<div>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?</div>
<div> </div>
<div>I added a File src\backend\executor\nodeDelFil which includes #include "utils/tuplewindow.h" but I get following Error:</div>
<div> </div>
<div><br/>
x86_64-w64-mingw32-gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement</div>
<div>-Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard</div>
<div>-O2 -L../../src/port -L../../src/common -Wl,--allow-multiple-definition -Wl,--disable-auto-import -Wl,--as-needed</div>
<div> -Wl,--stack=4194304 -Wl,--export-all-symbols -Wl,--out-implib=libpostgres.a access/brin/brin.o access/brin/brin_pageops.o...</div>
<div>... ../../src/common/libpgcommon_srv.a win32ver.o -lws2_32 -lm -lws2_32 -lsecur32 -o postgres.exe<br/>
make[2]: *** [Makefile:86: postgres] Error 1..</div>
<div>..executor/nodeDelFil.o:nodeDelFil.c:(.text+0x22): undefined reference to `tuplewindow_end'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x43): undefined reference to `tuplewindow_begin'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x306): undefined reference to `tuplewindow_rewind'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x324): undefined reference to `tuplewindow_ateof'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x336): undefined reference to `tuplewindow_gettupleslot'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x365): undefined reference to `tuplewindow_movenext'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x36d): undefined reference to `tuplewindow_ateof'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x385): undefined reference to `tuplewindow_puttupleslot'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x3a9): undefined reference to `tuplewindow_removecurrent'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x3da): undefined reference to `tuplewindow_setinsertrank'<br/>
executor/nodeDelFil.o:nodeDelFil.c:(.text+0x413): undefined reference to `tuplewindow_setinsertrank'<br/>
collect2.exe: error: ld returned 1 exit status</div>
<div> </div>
<div>Every Help would be greatly appreciated.</div></div></body></html>
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/html | 3.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Seamus Abshere | 2017-09-04 20:23:00 | Surprising locking behavior with CTE, FOR SHARE, and UPDATE |
Previous Message | Nico Williams | 2017-09-04 03:02:38 | Re: Create Action for psql when NOTIFY Recieved |