Re: Compile Error - Spinlock support

Andrew Dunstan <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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 [email protected].
>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 [email protected])
>
>  
>

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.