Re: Compile Error - Spinlock support

From: "Nate Plumm" <plummn(at)comdel(dot)net>
To: "'Andrew Dunstan'" <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Compile Error - Spinlock support
Date: 2004-09-06 18:06:34
Message-ID: 803B7AA5-DD30-4005-BE47-91120E970174@SERVER2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
[mailto:pgsql-hackers-win32-owner(at)postgresql(dot)org] On Behalf Of Andrew
Dunstan
Sent: Monday, September 06, 2004 1:37 PM
To: Nate Plumm
Cc: pgsql-hackers-win32(at)postgresql(dot)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(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)
>
>
>

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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Dave Page 2004-09-06 20:41:55 VC++ psql build broken
Previous Message Andrew Dunstan 2004-09-06 17:36:51 Re: Compile Error - Spinlock support