You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by NormW <no...@bocnet.com.au> on 2005/02/07 08:26:17 UTC
Mod_Jk string type mismatch...
Greetings All,
Running the compiler over the recent updates for mod_jk and get the
following errors when building for NetWare on Windows...
It seems str_config at line 347 in jk_jni_worker.c needs the added
'const' tweak and all compiles fine...
const char *str_config = NULL;
Regards,
Norm
Compiling ../common/jk_jni_worker.c
### mwccnlm Compiler:
# File: ..\common\jk_jni_worker.c
# ----------------------------------
# 374: if (jk_get_worker_classpath(props, p->name, &str_config)) {
# Error: ^
# illegal implicit conversion from 'char **' to
# 'const char **'
### mwccnlm Compiler:
# 388: if (jk_get_worker_jvm_path(props, p->name, &str_config)) {
# Error: ^
# illegal implicit conversion from 'char **' to
# 'const char **'
### mwccnlm Compiler:
# 398: if (jk_get_worker_cmd_line(props, p->name, &str_config)) {
# Error: ^
# illegal implicit conversion from 'char **' to
# 'const char **'
### mwccnlm Compiler:
# 402: if (jk_get_worker_stdout(props, p->name, &str_config)) {
# Error: ^
# illegal implicit conversion from 'char **' to
# 'const char **'
### mwccnlm Compiler:
# 406: if (jk_get_worker_stderr(props, p->name, &str_config)) {
# Error: ^
# illegal implicit conversion from 'char **' to
# 'const char **'
### mwccnlm Compiler:
# 410: if (jk_get_worker_sysprops(props, p->name, &str_config)) {
# Error: ^
# illegal implicit conversion from 'char **' to
# 'const char **'
### mwccnlm Compiler:
# 415: if (jk_get_worker_str_prop(props, p->name, "java2opts",
&str_config)) {
# Error:
^
# illegal implicit conversion from 'char **' to
# 'const char **'
### mwccnlm Compiler:
# 424: if (jk_get_worker_libpath(props, p->name, &str_config)) {
# Error: ^
# illegal implicit conversion from 'char **' to
# 'const char **'
Errors caused tool to abort.
make: *** [Release.o/jk_jni_worker.o] Error 1
EOT
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org