Apache SSL, Apache Tool Box under Cygwin...

Jason Boerner jasonb@computer.org
Thu Nov 13 08:06:00 GMT 2003


When doing a fresh build under CYGWIN (i686) (install.sh -c) I do not 
receive any error messages until mm & ssl are built.
Note that I can build mm fine by just doing a make; make install so I'm 
sure that it's not the library. Is there a command line option I need to 
set in order to delay the linking (and hence, the search for the 
symbols) OR an environment variable that I need to set?

First Off:
I did notice that while install.sh is running that the following message 
shows up.
[+] Configured the MM library...
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin 
shared libraries

Given what follows, I think that this is not the problem and the that 
the build environment is whacked. But how to fix it?


So I've triple checked /usr/lib/ , LIBDIR etc and the libs look fine.

It would seem that my build environment is NOT picking up LIBDIR which I 
have worked around by changing the dllwrap command from:
$ dllwrap --export-all -o libhttpd.dll buildmark.o modules.o 
modules/standard/libstandard.a modules/ssl/libssl.a main/libmain.a 
./os/cygwin/libos.a ap/libap.a regex/libregex.a -lcrypt -lgdbm

to:
$ dllwrap --export-all -o libhttpd.dll buildmark.o modules.o 
./modules/standard/libstandard.a /usr/lib/libssl.a ./main/libmain.a 
./os/cygwin/libos.a ./ap/libap.a ./regex/libregex.a 
/usr/local/lib/libmm.a -lcrypt -lgdbm

Which creats the following output.
dllwrap: no export definition file provided.
Creating one, but that may not be what you want
modules.o(.data+0x4c):modules.c: undefined reference to `_ssl_module'
modules.o(.data+0xac):modules.c: undefined reference to `_ssl_module'
Info: resolving _optarg by linking to __imp__optarg (auto-import)
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1

SO CLOSE! Does anyone know how to work around this?

Thanks

Thanks

ATB1.5.69
apache_1.3.29
mm-1.3.0
mod_ssl-2.8.16-1.3.29

THIS IS THE SERIES OF ERRORS WHICH COME FROM JUST FOLLOWING THE DIRECTIONS.
<Everything above this builds fine...>
<=== src/modules
gcc -c -I/home/jboerner/src/Apachetoolbox/src/mm-1.3.0 -I./os/cygwin 
-I./include
-DCYGWIN -DMOD_SSL=208116 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DSHARED_CORE 
`./ap
aci` modules.c
gcc -c -I/home/jboerner/src/Apachetoolbox/src/mm-1.3.0 -I./os/cygwin 
-I./include
-DCYGWIN -DMOD_SSL=208116 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DSHARED_CORE 
`./ap
aci` buildmark.c
dllwrap --export-all -o libhttpd.dll buildmark.o modules.o 
modules/standard/lib
standard.a modules/ssl/libssl.a main/libmain.a ./os/cygwin/libos.a 
ap/libap.a re
gex/libregex.a -lcrypt -lgdbm
dllwrap: no export definition file provided.
Creating one, but that may not be what you want
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x4c0):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_new'
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x537):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_clear'
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x56f):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_set_session_id_context'
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x5f7):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_set_ex_data'
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x664):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_set_fd'
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x694):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_set_tmp_rsa_callback'
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x6a7):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_set_tmp_dh_callback'
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x6bb):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_get_rbio'
modules/ssl/libssl.a(ssl_engine_kernel.o)(.text+0x6cd):ssl_engine_kernel.c: 
unde
fined reference to `_SSL_get_rbio'

<CUT more of same>





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list