Hi David,

This error is caused because at a certain build of Apache2 they killed off some 
of the v1.3 compatability.

You can try this:

edit your mod_jrun20.h to include the following compatability fixes:

#ifndef ap_copy_table

#define ap_copy_table apr_table_copy
#define ap_cpystrn apr_cpystrn
#define ap_destroy_pool apr_pool_destroy
#define ap_isspace apr_isspace
#define ap_make_array apr_array_make
#define ap_make_table apr_table_make
#define ap_null_cleanup apr_pool_cleanup_null 
#define ap_palloc apr_palloc
#define ap_pcalloc apr_pcalloc
#define ap_psprintf apr_psprintf
#define ap_pstrcat apr_pstrcat
#define ap_pstrdup apr_pstrdup
#define ap_pstrndup apr_pstrndup
#define ap_push_array apr_array_push
#define ap_register_cleanup apr_pool_cleanup_register
#define ap_snprintf apr_snprintf
#define ap_table_add apr_table_add
#define ap_table_do apr_table_do
#define ap_table_get apr_table_get
#define ap_table_set apr_table_set
#define ap_table_setn apr_table_setn
#define ap_table_unset apr_table_unset

#endif /* defined(ap_copy_table) */

I put mine just after the:

/* Apache includes. */


#include <ap_config.h>
#include <apr_strings.h>
#include <apr_tables.h>
#include <httpd.h>
#include <http_config.h>
#include <http_request.h>
#include <http_core.h>
#include <http_log.h>
#include <http_protocol.h>

block.

Then stop httpd, compile connector, restart httpd.

Next issue you'll hit is:
Starting httpd: httpd: Syntax error on line 992 of /etc/httpd/conf/httpd.conf: 
Cannot load /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so into 
server: /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so: undefined 
symbol: hexstrtol

Which i'm currently stuck on; looks like some "convert hex string to long" 
function but I've not been able to dig any further.

Have you managed to get any further already?

Thanks,
David

>After doing the install I went to restart the connector and received  
>a weird error:
>
>httpd2-prefork: Syntax error on line 212 of /etc/apache2/httpd.conf:  
>Cannot load /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so  
>into server: /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so:  
>undefined symbol: ap_table_get
>
>I have tried manually compiling using the below command line to no  
>avail.
>/opt/coldfusionmx7/runtime/jre/bin/java -jar wsconfig.jar -apxs -ws  
>apache -bin /usr/sbin/httpd2 -script /usr/sbin/apache2ctl -dir /etc/ 
>apache2  -map .cfm,.cfc,.jsp,.cfml -coldfusion -server coldfusion -v   
>
>I'm not really sure where to go from here. Can anyone point me in the  
>right direction?
>
>Dave

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4199
Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14

Reply via email to