Skip site navigation (1) Skip section navigation (2)

Re: Compile Error - Spinlock support

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Nate Plumm <plummn(at)comdel(dot)net>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Compile Error - Spinlock support
Date: 2004-09-06 17:36:51
Message-ID: 413CA033.4010505@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
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(at)postgresql(dot)org(dot)
>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(at)postgresql(dot)org)
>
>  
>

In response to

Responses

pgsql-hackers-win32 by date

Next:From: Nate PlummDate: 2004-09-06 18:06:34
Subject: Re: Compile Error - Spinlock support
Previous:From: Daniel SchuchardtDate: 2004-09-06 17:02:09
Subject: Re: Installation on Windows XP Home

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group