Hiroshi Saito z-saito at guitar.ocn.ne.jp
Fri Sep 19 07:23:43 PDT 2008
Hi.

Referring to the SessionReplicationRole had a problem.:-(
It seems that a relation is unsavory at include of PostgreSQL.
Then, It is avoidable by ad hoc patch....
However, Either is expected better solution. 
What do you think? 

Regards,
Hiroshi Saito

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Slony2.0_win32_patch
Type: application/octet-stream
Size: 1723 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20080919/de313b8a/Slony2.obj
-------------- next part --------------
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../..  -I/usr/local/pgsql/include -I/usr/local/pgsql/include/server  -I/usr/local/pgsql/include/server/port/win32  -c -o slony1_funcs.o slony1_funcs.c
sed -e 's;FILEDESC;"Slony replication functions";' -e 's;VFT_APP;VFT_APP;' -e 's;SLVERSION;SLONY_I_VERSION_STRING_DEC ,'`date '+%y%j' | sed 's/^0*//'`';' ../../src/slon/port/win32ver.rc.in > win32ver.rc
windres -i win32ver.rc -o win32ver.o --include-dir=../..
rm -f win32ver.rc
dlltool --export-all --output-def slony1_funcs.def slony1_funcs.o win32ver.o
dllwrap -o slony1_funcs.dll --def slony1_funcs.def slony1_funcs.o win32ver.o -L/usr/local/pgsql/lib -lpostgres 
Info: resolving _SessionReplicationRole by linking to __imp__SessionReplicationRole (auto-import)
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.fu000001.o:(.idata$2+0xc): undefined reference to `_libpostgres_a_iname'
fu000002.o:(.idata$2+0xc): undefined reference to `_libpostgres_a_iname'
fu000003.o:(.idata$2+0xc): undefined reference to `_libpostgres_a_iname'
nmth000000.o:(.idata$4+0x0): undefined reference to `__nm__SessionReplicationRole'
collect2: ld returned 1 exit status



More information about the Slony1-general mailing list