Apache 2 Adaptor on RHEL3...Again...
Apache 2 Adaptor on RHEL3...Again...
- Subject: Apache 2 Adaptor on RHEL3...Again...
- From: Hunter Hillegas <email@hidden>
- Date: Sun, 19 Dec 2004 11:40:01 -0800
I posted this last week but didn't get any responses, so I am trying
again!
I am trying to compile and use the WONDER Apache 2 adaptor on Red Hat
Enterprise Linux 3.
When I run 'make', I get the error below...
Anyone that is using the Apache 2 adaptor have any ideas?
[root@marge Apache2]# make
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/appcfg.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/cfgparse.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/config.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/hostlookup.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/list.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/listing.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/loadaverage.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/loadbalancing.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/log.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/MoreURLCUtilities.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/nbsocket.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/Platform.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/random.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/request.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/response.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/roundrobin.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/shmem.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/strdict.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/strtbl.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/transaction.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/transport.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/wastring.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/womalloc.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/WOURLCUtilities_3.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/WOURLCUtilities.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/xmlcparser.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/xmlctokenizer.c
cc -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include -c
../Adaptor/xmlparse.c
cc -c -O2 -Wall -I -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
-DFORKING_WEBSERVER -DAPACHE -DEAPI -I/usr/local/apache2/include
mod_WebObjects.c appcfg.o cfgparse.o config.o hostlookup.o list.o
listing.o loadaverage.o loadbalancing.o log.o MoreURLCUtilities.o
nbsocket.o Platform.o random.o request.o response.o roundrobin.o
shmem.o strdict.o strtbl.o transaction.o transport.o wastring.o
womalloc.o WOURLCUtilities_3.o WOURLCUtilities.o xmlcparser.o
xmlctokenizer.o xmlparse.o
mod_WebObjects.c:49:20: config.h: No such file or directory
mod_WebObjects.c:50:22: womalloc.h: No such file or directory
mod_WebObjects.c:51:21: request.h: No such file or directory
mod_WebObjects.c:52:22: response.h: No such file or directory
mod_WebObjects.c:53:17: log.h: No such file or directory
mod_WebObjects.c:54:25: transaction.h: No such file or directory
mod_WebObjects.c:55:20: appcfg.h: No such file or directory
mod_WebObjects.c:56:31: MoreURLCUtilities.h: No such file or directory
mod_WebObjects.c:57:21: listing.h: No such file or directory
mod_WebObjects.c:58:20: errors.h: No such file or directory
mod_WebObjects.c:59:24: httperrors.h: No such file or directory
mod_WebObjects.c:122: syntax error before "strtbl"
mod_WebObjects.c:122: warning: no semicolon at end of struct or union
mod_WebObjects.c:123: warning: type defaults to `int' in declaration of
`WebObjects_config'
mod_WebObjects.c:123: warning: data definition has no type or storage
class
mod_WebObjects.c: In function `setDocroot':
mod_WebObjects.c:175: `s_cfg' undeclared (first use in this function)
mod_WebObjects.c:175: (Each undeclared identifier is reported only once
mod_WebObjects.c:175: for each function it appears in.)
mod_WebObjects.c: In function `setScriptAlias':
mod_WebObjects.c:190: `s_cfg' undeclared (first use in this function)
mod_WebObjects.c: In function `setOption':
mod_WebObjects.c:202: `wc' undeclared (first use in this function)
mod_WebObjects.c:205: warning: implicit declaration of function `st_add'
mod_WebObjects.c:205: `STR_COPYKEY' undeclared (first use in this
function)
mod_WebObjects.c:205: `STR_COPYVALUE' undeclared (first use in this
function)
mod_WebObjects.c: In function `setOption2':
mod_WebObjects.c:216: `wc' undeclared (first use in this function)
mod_WebObjects.c:223: `STR_COPYKEY' undeclared (first use in this
function)
mod_WebObjects.c:223: `STR_COPYVALUE' undeclared (first use in this
function)
mod_WebObjects.c: In function `setOption3':
mod_WebObjects.c:233: `wc' undeclared (first use in this function)
mod_WebObjects.c:242: `STR_COPYKEY' undeclared (first use in this
function)
mod_WebObjects.c:242: `STR_COPYVALUE' undeclared (first use in this
function)
mod_WebObjects.c: In function `copyTableEntries':
mod_WebObjects.c:255: warning: implicit declaration of function
`req_addHeader'
mod_WebObjects.c:255: `HTTPRequest' undeclared (first use in this
function)
mod_WebObjects.c:255: syntax error before ')' token
mod_WebObjects.c: At top level:
mod_WebObjects.c:260: syntax error before "HTTPRequest"
mod_WebObjects.c: In function `copyHeaders':
mod_WebObjects.c:261: `r' undeclared (first use in this function)
mod_WebObjects.c:289: `req' undeclared (first use in this function)
mod_WebObjects.c:358: warning: implicit declaration of function
`WOMALLOC'
mod_WebObjects.c:361: `STR_FREEVALUE' undeclared (first use in this
function)
mod_WebObjects.c: In function `gethdr':
mod_WebObjects.c:411: `CONTENT_TYPE' undeclared (first use in this
function)
mod_WebObjects.c: At top level:
mod_WebObjects.c:419: syntax error before "HTTPResponse"
mod_WebObjects.c: In function `sendResponse':
mod_WebObjects.c:425: warning: implicit declaration of function
`st_perform'
mod_WebObjects.c:425: `resp' undeclared (first use in this function)
mod_WebObjects.c:425: `r' undeclared (first use in this function)
mod_WebObjects.c:448: warning: implicit declaration of function
`resp_getResponseContent'
mod_WebObjects.c: At top level:
mod_WebObjects.c:459: syntax error before "HTTPResponse"
mod_WebObjects.c: In function `die_resp':
mod_WebObjects.c:460: `r' undeclared (first use in this function)
mod_WebObjects.c:460: `resp' undeclared (first use in this function)
mod_WebObjects.c:461: warning: implicit declaration of function
`resp_free'
mod_WebObjects.c: In function `die':
mod_WebObjects.c:466: `HTTPResponse' undeclared (first use in this
function)
mod_WebObjects.c:466: `resp' undeclared (first use in this function)
mod_WebObjects.c:468: warning: implicit declaration of function `WOLog'
mod_WebObjects.c:468: `WO_ERR' undeclared (first use in this function)
mod_WebObjects.c:469: warning: implicit declaration of function
`resp_errorResponse'
mod_WebObjects.c: At top level:
mod_WebObjects.c:476: syntax error before '*' token
mod_WebObjects.c: In function `readContentData':
mod_WebObjects.c:477: `req' undeclared (first use in this function)
mod_WebObjects.c:478: `dataSize' undeclared (first use in this function)
mod_WebObjects.c:481: `dataBuffer' undeclared (first use in this
function)
mod_WebObjects.c:483: `mustFill' undeclared (first use in this function)
mod_WebObjects.c:496: `WO_WARN' undeclared (first use in this function)
mod_WebObjects.c: At top level:
mod_WebObjects.c:532: `WOCONFIG' undeclared here (not in a function)
mod_WebObjects.c:532: initializer element is not constant
mod_WebObjects.c:532: (near initialization for
`WebObjects_cmds[2].cmd_data')
mod_WebObjects.c:532: syntax error before string constant
mod_WebObjects.c:532: initializer element is not constant
mod_WebObjects.c:532: (near initialization for `WebObjects_cmds[2]')
mod_WebObjects.c:539: `WOUSERNAME' undeclared here (not in a function)
mod_WebObjects.c:539: initializer element is not constant
mod_WebObjects.c:539: (near initialization for
`WebObjects_cmds[3].cmd_data')
mod_WebObjects.c:539: initializer element is not constant
mod_WebObjects.c:539: (near initialization for `WebObjects_cmds[3]')
mod_WebObjects.c:546: `WOPASSWORD' undeclared here (not in a function)
mod_WebObjects.c:546: initializer element is not constant
mod_WebObjects.c:546: (near initialization for
`WebObjects_cmds[4].cmd_data')
mod_WebObjects.c:546: initializer element is not constant
mod_WebObjects.c:546: (near initialization for `WebObjects_cmds[4]')
mod_WebObjects.c:553: `WOLOGPATH' undeclared here (not in a function)
mod_WebObjects.c:553: initializer element is not constant
mod_WebObjects.c:553: (near initialization for
`WebObjects_cmds[5].cmd_data')
mod_WebObjects.c:553: syntax error before string constant
mod_WebObjects.c:553: initializer element is not constant
mod_WebObjects.c:553: (near initialization for `WebObjects_cmds[5]')
mod_WebObjects.c:560: `WOOPTIONS' undeclared here (not in a function)
mod_WebObjects.c:560: initializer element is not constant
mod_WebObjects.c:560: (near initialization for
`WebObjects_cmds[6].cmd_data')
mod_WebObjects.c:560: initializer element is not constant
mod_WebObjects.c:560: (near initialization for `WebObjects_cmds[6]')
mod_WebObjects.c:561: initializer element is not constant
mod_WebObjects.c:561: (near initialization for `WebObjects_cmds[7]')
mod_WebObjects.c: In function `WebObjects_create_config':
mod_WebObjects.c:572: `wc' undeclared (first use in this function)
mod_WebObjects.c:575: syntax error before ')' token
mod_WebObjects.c:581: `WEBOBJECTS' undeclared (first use in this
function)
mod_WebObjects.c:584: warning: implicit declaration of function `st_new'
mod_WebObjects.c: In function `WebObjects_post_config':
mod_WebObjects.c:602: `wc' undeclared (first use in this function)
mod_WebObjects.c:606: syntax error before ')' token
mod_WebObjects.c:612: warning: implicit declaration of function
`init_adaptor'
mod_WebObjects.c:614: `WO_INFO' undeclared (first use in this function)
mod_WebObjects.c:617: `WO_ERR' undeclared (first use in this function)
mod_WebObjects.c: In function `WebObjects_translate':
mod_WebObjects.c:648: `wc' undeclared (first use in this function)
mod_WebObjects.c:649: `WOURLComponents' undeclared (first use in this
function)
mod_WebObjects.c:649: syntax error before "url"
mod_WebObjects.c:650: `WOURLError' undeclared (first use in this
function)
mod_WebObjects.c:655: `WO_DBG' undeclared (first use in this function)
mod_WebObjects.c:658: `url' undeclared (first use in this function)
mod_WebObjects.c:658: `WOURLComponents_Initializer' undeclared (first
use in this function)
mod_WebObjects.c:659: `urlerr' undeclared (first use in this function)
mod_WebObjects.c:659: warning: implicit declaration of function
`WOParseApplicationName'
mod_WebObjects.c:660: `WOURLOK' undeclared (first use in this function)
mod_WebObjects.c:660: `WOURLInvalidApplicationName' undeclared (first
use in this function)
mod_WebObjects.c:660: warning: implicit declaration of function
`ac_authorizeAppListing'
mod_WebObjects.c:666: `WO_ERR' undeclared (first use in this function)
mod_WebObjects.c:674: `WEBOBJECTS' undeclared (first use in this
function)
mod_WebObjects.c: In function `WebObjects_handler':
mod_WebObjects.c:692: `conf' undeclared (first use in this function)
mod_WebObjects.c:693: `HTTPRequest' undeclared (first use in this
function)
mod_WebObjects.c:693: `req' undeclared (first use in this function)
mod_WebObjects.c:694: `HTTPResponse' undeclared (first use in this
function)
mod_WebObjects.c:694: `resp' undeclared (first use in this function)
mod_WebObjects.c:695: `WOURLComponents' undeclared (first use in this
function)
mod_WebObjects.c:695: syntax error before "wc"
mod_WebObjects.c:699: `WOURLError' undeclared (first use in this
function)
mod_WebObjects.c:699: syntax error before "urlerr"
mod_WebObjects.c:706: `WEBOBJECTS' undeclared (first use in this
function)
mod_WebObjects.c:712: `WO_INFO' undeclared (first use in this function)
mod_WebObjects.c:714: `WO_ERR' undeclared (first use in this function)
mod_WebObjects.c:718: `urlerr' undeclared (first use in this function)
mod_WebObjects.c:718: `wc' undeclared (first use in this function)
mod_WebObjects.c:719: `WOURLOK' undeclared (first use in this function)
mod_WebObjects.c:720: `WO_DBG' undeclared (first use in this function)
mod_WebObjects.c:723: warning: implicit declaration of function
`WOURLstrerror'
mod_WebObjects.c:723: warning: assignment makes pointer from integer
without a cast
mod_WebObjects.c:725: `WOURLInvalidApplicationName' undeclared (first
use in this function)
mod_WebObjects.c:727: warning: implicit declaration of function
`WOAdaptorInfo'
mod_WebObjects.c:733: `HTTP_SERVER_ERROR' undeclared (first use in this
function)
mod_WebObjects.c:750: warning: implicit declaration of function
`req_new'
mod_WebObjects.c:756: warning: implicit declaration of function
`req_validateMethod'
mod_WebObjects.c:756: warning: assignment makes pointer from integer
without a cast
mod_WebObjects.c:758: warning: implicit declaration of function
`req_free'
mod_WebObjects.c:772: warning: implicit declaration of function
`req_allocateContent'
mod_WebObjects.c:773: `req_getMoreContentCallback' undeclared (first
use in this function)
mod_WebObjects.c:773: syntax error before "readContentData"
mod_WebObjects.c:776: `ALLOCATION_FAILURE' undeclared (first use in
this function)
mod_WebObjects.c:781: `WOURLInvalidPostData' undeclared (first use in
this function)
mod_WebObjects.c:781: warning: passing arg 2 of `die' makes pointer
from integer without a cast
mod_WebObjects.c:793: syntax error before ')' token
mod_WebObjects.c:802: warning: implicit declaration of function
`tr_handleRequest'
/usr/include/stdlib.h: At top level:
mod_WebObjects.c:229: warning: `setOption3' defined but not used
make: *** [mod_WebObjects.o] Error 1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden