This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

dllwrap path problem when Building ApacheToolBox (ATB) under Cygwin?


Has anyone been able to get Apachetoolbox (1.5.69) under Cygwin?
Mod_ssl seem to bomb out due to environment problems, but I am stuck in troubleshooting why. It has something to do with dllwrap.


<Here are the modules>
ATB1.5.69
apache_1.3.29
mm-1.3.0
mod_ssl-2.8.16-1.3.29

The errors I get are:
<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>

By FORCING dllwrap to specific libs, I can resolve most of the symbols.//
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?



--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]