Another crazy webapp compilation - Win32 / Cygwin mod_webapp
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Spencer_Thomas
Posted On:   Wednesday, February 20, 2002 06:57 AM

I need to be able to compile the mod_webapp nightly build for win32, so I downloaded Cygwin and the gcc compiler for win32. I am able to install apache under it as well as run make on apr and and configure on the webapp module. Make on webapp gets pretty far, but it dies below. I can't figure out what it is missing. I can only assume it is looking for something either not in the cygwin distro. Here's what I get : --- gcc -DCYGWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_CORE -g -O2 -g -O2 -DCYGWIN -I/home/Administrator/downloads/webapp-module-20020206/apr/inclu de -I/home/Administrator/downloads/webapp-module-20020206/include -DSHARED_MODUL E -I/usr/local/apache/include -c mod_weba   More>>

I need to be able to compile the mod_webapp nightly build for win32, so I downloaded Cygwin and the gcc compiler for win32. I am able to install apache under it as well as run make on apr and and configure on the webapp module. Make on webapp gets pretty far, but it dies below. I can't figure out what it is missing. I can only assume it is looking for something either not in the cygwin distro. Here's what I get :



---



gcc -DCYGWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_CORE -g -O2
-g -O2 -DCYGWIN -I/home/Administrator/downloads/webapp-module-20020206/apr/inclu
de -I/home/Administrator/downloads/webapp-module-20020206/include -DSHARED_MODUL
E -I/usr/local/apache/include -c mod_webapp.c
dllwrap --export-all -lm -lcrypt -o mod_webapp.so mod_webapp.o /home/Administrat
or/downloads/webapp-module-20020206/lib/libwebapp.a /home/Administrator/download
s/webapp-module-20020206/lib/libapr.a
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
mod_webapp.o: In function `wa_log':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:278
: undefined reference to `ap_log_error'
mod_webapp.o: In function `wam_handler_log':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:286
: undefined reference to `ap_log_error'
mod_webapp.o: In function `wam_handler_setctype':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:302
: undefined reference to `_imp__ap_pstrdup'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:303
: undefined reference to `_imp__ap_pstrdup'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:303
: undefined reference to `_imp__ap_table_add'
mod_webapp.o: In function `wam_handler_setheader':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:313
: undefined reference to `_imp__ap_pstrdup'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:313
: undefined reference to `_imp__ap_pstrdup'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:313
: undefined reference to `_imp__ap_table_add'
mod_webapp.o: In function `wam_handler_commit':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:321
: undefined reference to `_imp__ap_send_http_header'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:322
: undefined reference to `_imp__ap_rflush'
mod_webapp.o: In function `wam_handler_flush':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:329
: undefined reference to `_imp__ap_rflush'
mod_webapp.o: In function `wam_handler_read':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:346
: undefined reference to `_imp__ap_should_client_block'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:350
: undefined reference to `_imp__ap_get_client_block'
mod_webapp.o: In function `wam_handler_write':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:365
: undefined reference to `_imp__ap_rwrite'
mod_webapp.o: In function `wam_match':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:409
: undefined reference to `_imp__ap_pstrdup'
mod_webapp.o: In function `wam_invoke':
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:438
: undefined reference to `ap_log_error'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:444
: undefined reference to `_imp__ap_add_common_vars'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:446
: undefined reference to `_imp__ap_get_remote_host'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:468
: undefined reference to `_imp__ap_table_get'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:474
: undefined reference to `_imp__ap_table_get'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:476
: undefined reference to `_imp__ap_table_get'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:479
: undefined reference to `_imp__ap_table_get'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:486
: undefined reference to `_imp__ap_table_get'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:513
: undefined reference to `_imp__ap_setup_client_block'
/home/Administrator/downloads/webapp-module-20020206/apache-1.3/mod_webapp.c:521
: undefined reference to `_imp__ap_rflush'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
apxs:Break: Command failed with rc=1
make[2]: *** [mod_webapp.so] Error 1
make[2]: Leaving directory `/home/Administrator/downloads/webapp-module-20020206
/apache-1.3'
make[1]: Exiting directory "apache-1.3"
make[1]: *** [template] Error 2
make[1]: Leaving directory `/home/Administrator/downloads/webapp-module-20020206
'
make: *** [apache-1.3-build] Error 2



---



I am using these options with the webapp configure :



--with-apxs=


--enable-DEAPI


--enable-java


--with-tomcat


--with-java



Any help would be appreciated. Thanks!

   <<Less
About | Sitemap | Contact