Using pthreads 2.9.1 and gettext runtime .013.1 I get the attached error when 
running "nmake /f win32.mak slon.exe".  Below are my environment variables.  Do 
you think it would it be worth reinstalling PostgreSQL in a path without spaces?

set PG_INC="c:\\Program Files\\PostgreSQL\\9.0\\include"
set PG_LIB="c:\\Program Files\\PostgreSQL\\9.0\\lib"
set PGSHARE="c:\\Program Files\\PostgreSQL\\9.0\\share"
set PTHREADS_INC=c:\\Dev\\pthreads\\include
set PTHREADS_LIB=c:\\Dev\\pthreads\\lib\\x86
set GETTEXT_LIB=c:\\Dev\\gettext\\lib

Shaun McCloud, MCDST | Associate Software Developer
Geo-Comm Inc. | www.geo-comm.com


-----Original Message-----
From: Steve Singer [mailto:[email protected]] 
Sent: Wednesday, June 13, 2012 13:44
To: Shaun McCloud
Cc: [email protected]
Subject: Re: [Slony1-general] Slony-I 2.1 with PostgreSQL 9.0.8 x86-64

On 12-06-13 02:31 PM, Shaun McCloud wrote:
> Hello,
>
> I found the directions for building Slony-I on a Win32 platform. I am 
> wondering if the same directions will work compiling against 
> PostgreSQL
> 9.0 x86-64? Another component in our system requires the x86-64 
> version so we are stuck using it and we just ran into the issue where 
> replication gets so far behind in Slony-I 2.0.4 (from Stack Builder) 
> that it can't catch up so we are looking to upgrade.
>

I've never tried it but I suspect it will.
If you hit any errors let me know and I will look into finding a Windows
x86-64 environment to debug things in.



> Shaun McCloud, MCDST | Associate Software Developer
>
> Geo-Comm Inc. | www.geo-comm.com <http://www.geo-comm.com/>
>
> 601 W. Saint Germain St., St. Cloud, MN, 56301
>
> Office: 320.240.0040 or 888.436.2666 Fax: 320.240.2389
>
>
>
> _______________________________________________
> Slony1-general mailing list
> [email protected]
> http://lists.slony.info/mailman/listinfo/slony1-general

        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi  slon.c
slon.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi runtime_config.c
runtime_config.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi local_listen.c
local_listen.c
c:\dev\slony1-2.1.1\src\slon\local_listen.c(748) : warning C4715: 
'localListenThread_main' : not all control paths return a value
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi  remote_listen.c
remote_listen.c
c:\dev\slony1-2.1.1\src\slon\remote_listen.c(400) : warning C4715: 
'remoteListenThread_main' : not all control paths return a value
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi remote_worker.c
remote_worker.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi sync_thread.c
sync_thread.c
c:\dev\slony1-2.1.1\src\slon\sync_thread.c(192) : warning C4715: 
'syncThread_main' : not all control paths return a value
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi monitor_thread.c
monitor_thread.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi  cleanup_thread.c
cleanup_thread.c
c:\dev\slony1-2.1.1\src\slon\cleanup_thread.c(265) : warning C4715: 
'cleanupThread_main' : not all control paths return a value
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi scheduler.c
scheduler.c
c:\dev\slony1-2.1.1\src\slon\scheduler.c(680) : warning C4716: 'sched_mainloop' 
: must return a value
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi dbutils.c
dbutils.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi conf-file.c
conf-file.c
conf-file.c(961) : warning C4003: not enough actual parameters for macro 
'yywrap'
conf-file.c(1259) : warning C4003: not enough actual parameters for macro 
'yywrap'
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi confoptions.c
confoptions.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi misc.c
misc.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi /Fo..\parsestatements\scanner.obj 
..\parsestatements/scanner.c
scanner.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi /I. /Foport/win32service.obj 
port\win32service.c
win32service.c
        cl.exe /c /D MSVC /D WIN32 /D PGSHARE="c:\\Program 
Files\\PostgreSQL\\9.0\\share" /D YY_NO_UNISTD_H /I..\..\ /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include" /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server /I"c:\\Program 
Files\\PostgreSQL\\9.0\\include"/server/port/win32  
/Ic:\\Dev\\pthreads\\include /MD /Zi /I. /Foport/pipe.obj port\pipe.c
pipe.c
        link.exe /libpath:"c:\\Program Files\\PostgreSQL\\9.0\\lib" libpq.lib 
libpgport.lib /libpath:c:\\Dev\\pthreads\\lib\\x86 pthreadVC2.lib wsock32.lib 
kernel32.lib user32.lib advapi32.lib /libpath:c:\\Dev\\gettext\\lib intl.lib 
slon.obj                runtime_config.obj      local_listen.obj        
remote_listen.obj       remote_worker.obj       sync_thread.obj                 
monitor_thread.obj    cleanup_thread.obj        scheduler.obj           
dbutils.obj             conf-file.obj           confoptions.obj                 
misc.obj                 ../parsestatements/scanner.obj  port\win32service.obj  
port\pipe.obj
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

slon.obj : error LNK2019: unresolved external symbol __imp_pthread_join 
referenced in function SlonMain
runtime_config.obj : error LNK2001: unresolved external symbol 
__imp_pthread_join
remote_worker.obj : error LNK2001: unresolved external symbol __imp_pthread_join
scheduler.obj : error LNK2001: unresolved external symbol __imp_pthread_join
slon.obj : error LNK2019: unresolved external symbol __imp_pthread_self 
referenced in function SlonMain
scheduler.obj : error LNK2001: unresolved external symbol __imp_pthread_self
monitor_thread.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_unlock
scheduler.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_unlock
dbutils.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_unlock
misc.obj : error LNK2001: unresolved external symbol __imp_pthread_mutex_unlock
slon.obj : error LNK2019: unresolved external symbol __imp_pthread_mutex_unlock 
referenced in function SlonMain
runtime_config.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_unlock
local_listen.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_unlock
remote_worker.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_unlock
slon.obj : error LNK2019: unresolved external symbol __imp_pthread_cond_wait 
referenced in function SlonMain
remote_worker.obj : error LNK2001: unresolved external symbol 
__imp_pthread_cond_wait
scheduler.obj : error LNK2001: unresolved external symbol 
__imp_pthread_cond_wait
slon.obj : error LNK2019: unresolved external symbol __imp_pthread_create 
referenced in function SlonMain
runtime_config.obj : error LNK2001: unresolved external symbol 
__imp_pthread_create
remote_worker.obj : error LNK2001: unresolved external symbol 
__imp_pthread_create
scheduler.obj : error LNK2001: unresolved external symbol __imp_pthread_create
monitor_thread.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_lock
scheduler.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_lock
dbutils.obj : error LNK2001: unresolved external symbol __imp_pthread_mutex_lock
misc.obj : error LNK2001: unresolved external symbol __imp_pthread_mutex_lock
slon.obj : error LNK2019: unresolved external symbol __imp_pthread_mutex_lock 
referenced in function SlonMain
runtime_config.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_lock
local_listen.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_lock
remote_worker.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_lock
dbutils.obj : error LNK2001: unresolved external symbol __imp_pthread_cond_init
slon.obj : error LNK2019: unresolved external symbol __imp_pthread_cond_init 
referenced in function SlonMain
runtime_config.obj : error LNK2001: unresolved external symbol 
__imp_pthread_cond_init
remote_worker.obj : error LNK2001: unresolved external symbol 
__imp_pthread_cond_init
scheduler.obj : error LNK2001: unresolved external symbol 
__imp_pthread_cond_init
dbutils.obj : error LNK2001: unresolved external symbol __imp_pthread_mutex_init
slon.obj : error LNK2019: unresolved external symbol __imp_pthread_mutex_init 
referenced in function SlonMain
runtime_config.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_init
remote_worker.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_init
scheduler.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_init
monitor_thread.obj : error LNK2019: unresolved external symbol 
__imp_pthread_exit referenced in function monitorThread_main
cleanup_thread.obj : error LNK2001: unresolved external symbol 
__imp_pthread_exit
scheduler.obj : error LNK2001: unresolved external symbol __imp_pthread_exit
local_listen.obj : error LNK2001: unresolved external symbol __imp_pthread_exit
remote_listen.obj : error LNK2001: unresolved external symbol __imp_pthread_exit
remote_worker.obj : error LNK2001: unresolved external symbol __imp_pthread_exit
sync_thread.obj : error LNK2001: unresolved external symbol __imp_pthread_exit
local_listen.obj : error LNK2019: unresolved external symbol 
__imp_pthread_cond_signal referenced in function localListenThread_main
remote_worker.obj : error LNK2001: unresolved external symbol 
__imp_pthread_cond_signal
scheduler.obj : error LNK2001: unresolved external symbol 
__imp_pthread_cond_signal
remote_worker.obj : error LNK2019: unresolved external symbol 
__imp_pthread_cond_destroy referenced in function remoteWorkerThread_main
dbutils.obj : error LNK2001: unresolved external symbol 
__imp_pthread_cond_destroy
remote_worker.obj : error LNK2019: unresolved external symbol 
__imp_pthread_mutex_destroy referenced in function remoteWorkerThread_main
dbutils.obj : error LNK2001: unresolved external symbol 
__imp_pthread_mutex_destroy
remote_worker.obj : error LNK2019: unresolved external symbol 
__imp_pthread_cond_broadcast referenced in function sync_event
slon.exe : fatal error LNK1120: 13 unresolved externals
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to