From: | Tomasz Szypowski <tomasz(dot)szypowski(at)gmail(dot)com> |
---|---|
To: | PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org> |
Subject: | MinGW compilation |
Date: | 2020-09-17 20:12:20 |
Message-ID: | CACmJi2LMGCNs7gWPhzJprCTHk4NikryPSHTqA2xW57oUCAP+sQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hello,
I want to build PostgreSQL by MinGW.
Here is the instruction:
https://wiki.postgresql.org/wiki/Building_With_MinGW
after make i receive following error (on windows 10 and 7)
--allow-multiple-definition -Wl,--disable-auto-import -Wl,--as-needed
-Wl,--stack=4194304 -Wl,--export-all-symbols
-Wl,--out-implib=libpostgres.a -lm -lws2_32 -lsecur32 -o postgres.exe
*port/pg_shmem.o:pg_shmem.c:(.text+0x456): undefined reference to
`GetLargePageMinimum'*
*regex/regcomp.o:regcomp.c:(.text+0x1a2a): undefined reference to
`_ispunct_l'*
*utils/adt/pg_locale.o:pg_locale.c:(.text+0x14b4): undefined reference to
`_create_locale'*
*utils/adt/pg_locale.o:pg_locale.c:(.text+0x16da): undefined reference to
`uselocale'*
*utils/adt/pg_locale.o:pg_locale.c:(.text+0x16f6): undefined reference to
`uselocale'*
*utils/adt/pg_locale.o:pg_locale.c:(.text+0x17c7): undefined reference to
`uselocale'*
*utils/adt/pg_locale.o:pg_locale.c:(.text+0x17e7): undefined reference to
`uselocale'*
collect2.exe: error: ld returned 1 exit status
make: *** [postgres] Error 1
I had to downgrade mingwrt to 5.0.1 due to other errors.
Best regards
Thomas Szypowski
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2020-09-18 04:58:14 | BUG #16622: pg_dump produces erroneus ALTER TABLE statement for a table with an inherited generated column |
Previous Message | Juan José Santamaría Flecha | 2020-09-17 18:47:39 | Re: BUG #15858: could not stat file - over 4GB |