MinGW compilation

Поиск
Список
Период
Сортировка
От Tomasz Szypowski
Тема MinGW compilation
Дата
Msg-id CACmJi2LMGCNs7gWPhzJprCTHk4NikryPSHTqA2xW57oUCAP+sQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-bugs
Hello,

I want to build PostgreSQL by MinGW.
Here is the instruction:

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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15858: could not stat file - over 4GB
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16622: pg_dump produces erroneus ALTER TABLE statement for a table with an inherited generated column