Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3FBFB553.7010503@computer.org> Date: Sat, 22 Nov 2003 11:13:23 -0800 From: Jason Boerner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: dllwrap path problem when Building ApacheToolBox (ATB) under Cygwin? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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. ATB1.5.69 apache_1.3.29 mm-1.3.0 mod_ssl-2.8.16-1.3.29 The errors I get are: <=== 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' 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/