Re: Compile Error - Spinlock support

Поиск
Список
Период
Сортировка
От Nate Plumm
Тема Re: Compile Error - Spinlock support
Дата
Msg-id 803B7AA5-DD30-4005-BE47-91120E970174@SERVER2
обсуждение исходный текст
Ответ на Re: Compile Error - Spinlock support  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers-win32
Got it working guys, thanks for your suggestions. I actually just downloaded
today's snapshot and it worked.

-----Original Message-----
From: pgsql-hackers-win32-owner@postgresql.org
[mailto:pgsql-hackers-win32-owner@postgresql.org] On Behalf Of Andrew
Dunstan
Sent: Monday, September 06, 2004 1:37 PM
To: Nate Plumm
Cc: pgsql-hackers-win32@postgresql.org
Subject: Re: [pgsql-hackers-win32] Compile Error - Spinlock support


Assuming you are running on MSys.

Please run "config.status check_win32_symlinks" and check that all the
symlinks are correct - I seem to recall seeing this when links failed,
as they are known to do from time to time.

cheers

andrew

Nate Plumm wrote:

>Greetings,
>
>I am trying to compile a snapshot (2004-09-05 I believe) on Windows XP. I
>get the error below about spinlock support. I ran ./configure
--without-zlib
>and then make. Thank you all for your time!
>
>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
>"-I../../../../src/include/port/win32" -DBUILDING_DLL  -c -o rtscan.o
>rtscan.c
>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
>"-I../../../../src/include/port/win32" -DBUILDING_DLL  -c -o rtstrat.o
>rtstrat.c
>c:/MinGw/mingw32/bin/ld.exe -r -o SUBSYS.o rtget.o rtproc.o rtree.o
rtscan.o
>rtstrat.o
>make[4]: Leaving directory `/postgresql-snapshot/src/backend/access/rtree'
>make -C transam SUBSYS.o
>make[4]: Entering directory
>`/postgresql-snapshot/src/backend/access/transam'
>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
>"-I../../../../src/include/port/win32" -DBUILDING_DLL  -c -o clog.o clog.c
>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
>"-I../../../../src/include/port/win32" -DBUILDING_DLL  -c -o transam.o
>transam.c
>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
>"-I../../../../src/include/port/win32" -DBUILDING_DLL  -c -o varsup.o
>varsup.c
>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
>"-I../../../../src/include/port/win32" -DBUILDING_DLL  -c -o xact.o xact.c
>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
>"-I../../../../src/include/port/win32" -DBUILDING_DLL  -c -o xlog.o xlog.c
>In file included from ../../../../src/include/storage/spin.h:50,
>                 from xlog.c:35:
>../../../../src/include/storage/s_lock.h:543:2: #error PostgreSQL does not
>have native spinlock support on this platform. To continue the compilation,
>rerun configure using --disable-spinlocks. However, performance will be
>poor. Please report this to pgsql-bugs@postgresql.org.
>make[4]: *** [xlog.o] Error 1
>make[4]: Leaving directory
`/postgresql-snapshot/src/backend/access/transam'
>make[3]: *** [transam-recursive] Error 2
>make[3]: Leaving directory `/postgresql-snapshot/src/backend/access'
>make[2]: *** [access-recursive] Error 2
>make[2]: Leaving directory `/postgresql-snapshot/src/backend'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory `/postgresql-snapshot/src'
>make: *** [all] Error 2
>
>----------------------------
>Nate Plumm
>plummn _at_ comdel d0t net
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
>

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Compile Error - Spinlock support
Следующее
От: "Dave Page"
Дата:
Сообщение: VC++ psql build broken