Hello,

Dnia czwartek 19 luty 2009 o 11:37:20 Victor B. Wagner napisaƂ(a):
> On 2009.02.19 at 09:48:20 +0100, m...@abp.pl wrote:
> So, changing library order to
> -lssleay32 -leay32 -lwsock32 -lwst -lws2_de -lz -lm
> might help.

It works, Configure script works now but make fails:


-- cut -- 
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-
after-statement -Wendif-labels -fno-strict-aliasing -fwrapv pg_ctl.o 
win32ver.o -L../../../src/port -lpgport -L../../../src/interfaces/libpq -lpq -
lcrypto   -L../../../src/port -Wl,--allow-multiple-definition  -
L/local/ssl/lib  -lpgport -lssleay32 -lcrypto -lssleay32 -leay32 -lgdi32 -
lwsock32 -lwst -lws2_32 -lmswsock -lz -lm   -lws2_32 -lshfolder -o pg_ctl.exe
../../../src/interfaces/libpq/libpq.a(fe-connect.o)(.text+0x6ec):fe-connect.c: 
undefined reference to `deletesecuritycont...@4'
../../../src/interfaces/libpq/libpq.a(fe-connect.o)(.text+0x714):fe-connect.c: 
undefined reference to `freecredentialshan...@4'
../../../src/interfaces/libpq/libpq.a(fe-auth.o)(.text+0x195):fe-auth.c: 
undefined reference to `initializesecurityconte...@48'
../../../src/interfaces/libpq/libpq.a(fe-auth.o)(.text+0x21b):fe-auth.c: 
undefined reference to `freecontextbuf...@4'
../../../src/interfaces/libpq/libpq.a(fe-auth.o)(.text+0x293):fe-auth.c: 
undefined reference to `freecontextbuf...@4'
../../../src/interfaces/libpq/libpq.a(fe-auth.o)(.text+0x326):fe-auth.c: 
undefined reference to `acquirecredentialshand...@36'
-- cut --



When I try Configure with shared libs make fails at:
-- cut --
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-
after-statement -Wendif-labels -fno-strict-aliasing -fwrapv  -DFRONTEND -
DUNSAFE_STAT_OK -I. -I../../../src/include -I./src/include/port/win32 -
DEXEC_BACKEND  -I/local/ssl/include "-I../../../src/include/port/win32" -
I../../../src/port  -c -o fe-connect.o fe-connect.c
windres -i libpq.rc -o libpqrc.o
dllwrap  -o libpq.dll --dllname libpq.dll  --def libpqdll.def fe-auth.o fe-
connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-
protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o 
noblock.o pgstrcasecmp.o thread.o crypt.o inet_aton.o strlcpy.o getaddrinfo.o 
open.o win32error.o snprintf.o win32.o pgsleep.o libpqrc.o pthread-win32.o  -
L../../../src/port -L/local/ssl/lib -lcrypto -lshfolder -leay32 -lssleay32 -
lgdi32 -lwsock32 -lwst -lws2_32 -lmswsock -lsecur32 -lz 
C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x4ab):ssl_lib.c: 
undefined reference to `BIO_s_socket'
C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x5b3):ssl_lib.c: 
undefined reference to `BIO_s_socket'
C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x733):ssl_lib.c: 
undefined reference to `BIO_s_socket'
-- cut --


I don't understand why.

-- 
Tomasz Kolaj
ABP Computer
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to