tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron <aa...@rocketpress.com>
Subject error building mod_jk
Date Fri, 09 Aug 2002 18:36:49 GMT
From: Aaron <aaron@rocketpress.com>
Date: Fri Aug 9, 2002  1:12:36  PM US/Central
To: tomcat-user@jakarta.apache.org
Subject: error compiling mod_jk

Hi-

I'm trying to build mod_jk on Mac OS X.  The build fails with this at  
the end:

        [so] StdErr:
        [so] libtool: unrecognized option `-arch_only'
        [so] Try `libtool --help' for more information.

BUILD FAILED
file:/usr/local/jakarta-tomcat-connectors/jk/native/build.xml:134: Link  
failed mod_jk

I am using libtool-1.4.2 and I see the -arch_only option in the  
documentation.  Does anyone know how to fix this?

Thanks,

Aaron

[mobile:local/jakarta-tomcat-connectors/jk] mobile# ant native
Buildfile: build.xml

jkant:
     [javac] Compiling 17 source files to  
/usr/local/jakarta-tomcat-connectors/jk/build/classes
      [copy] Copying 1 file to  
/usr/local/jakarta-tomcat-connectors/jk/build/classes/META-INF
       [jar] Building jar:  
/usr/local/jakarta-tomcat-connectors/jk/build/lib/jkant.jar

detect:
      [echo] -------- jakarta-tomcat-connectors --------

report:
      [echo] Tomcat33: ${tomcat33.detect}
      [echo] Tomcat40:  true ../../jakarta-tomcat-4.0.3
      [echo] Tomcat41: true ../../jakarta-tomcat-4.1.8
      [echo] Apache13: ${apache13.detect} ${apache13.home}
      [echo] Apache2: true /usr/local/apache2
      [echo] iPlanet:  ${iplanet.detect} ${iplanet.home}
      [echo] IIS:      ${iis.detect} ${iis.home}
      [echo] Using catalina.home:      ${catalina.home}

native:

init:
      [echo] /var/root
[available] DEPRECATED - <available> used to override an existing  
property.
[available]   Build file should not reuse the same property name for  
different values.
     [mkdir] Created dir:  
/usr/local/jakarta-tomcat-connectors/jk/build/jk

apache20:
     [mkdir] Created dir:  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2
        [so] Compiling 19 out of 19
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
        [so] Warnings:
        [so]  
/usr/local/jakarta-tomcat-connectors/jk/native/apache-2.0/ 
mod_jk.c:1162: warning: missing initializer
        [so]  
/usr/local/jakarta-tomcat-connectors/jk/native/apache-2.0/ 
mod_jk.c:1162: warning: (near initialization for `jk_cmds[16].func')
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_ajp12_worker.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_ajp13.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_ajp13_worker.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_ajp14.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_ajp14_worker.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
        [so] Warnings:
        [so]  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c:  
In function `ajp_process_callback':
        [so]  
/usr/local/jakarta-tomcat-connectors/jk/native/common/ 
jk_ajp_common.c:949: warning: comparison between signed and unsigned
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_connect.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_context.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_jni_worker.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c
Compiling /usr/local/jakarta-tomcat-connectors/jk/native/common/jk_map.c
Compiling /usr/local/jakarta-tomcat-connectors/jk/native/common/jk_md5.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_msg_buff.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_pool.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_sockbuf.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/ 
jk_uri_worker_map.c
        [so] Warnings:
        [so]  
/usr/local/jakarta-tomcat-connectors/jk/native/common/ 
jk_uri_worker_map.c: In function `map_uri_to_worker':
        [so]  
/usr/local/jakarta-tomcat-connectors/jk/native/common/ 
jk_uri_worker_map.c:571: warning: comparison between signed and unsigned
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_util.c
Compiling  
/usr/local/jakarta-tomcat-connectors/jk/native/common/jk_worker.c
Linking  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/mod_jk.so
        [so] Link failed 1
        [so] Command:libtool --mode=link cc -module -avoid-version  
-rpath /usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2 -o  
mod_jk.la  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/apache-2.0/ 
mod_jk.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp12_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp13.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp13_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp14.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp14_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp_common.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_connect.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_context.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_jni_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_lb_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_map.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_md5.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_msg_buff.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_pool.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_sockbuf.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_uri_worker_map.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_util.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_worker.lo
        [so] Output:
        [so] mkdir .libs
        [so] rm -fr .libs/mod_jk.la .libs/mod_jk.* .libs/mod_jk.*
        [so] cc -dynamiclib -flat_namespace -undefined suppress -o  
.libs/mod_jk.so   
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/apache-2.0/ 
mod_jk.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp12_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp13.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp13_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp14.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp14_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_ajp_common.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_connect.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_context.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_jni_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_lb_worker.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_map.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_md5.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_msg_buff.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_pool.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_sockbuf.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_uri_worker_map.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_util.lo  
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/common/ 
jk_worker.lo  -lc -install_name   
/usr/local/jakarta-tomcat-connectors/jk/build/jk/apache2/mod_jk.so
        [so] StdErr:
        [so] libtool: unrecognized option `-arch_only'
        [so] Try `libtool --help' for more information.

BUILD FAILED
file:/usr/local/jakarta-tomcat-connectors/jk/native/build.xml:134: Link  
failed mod_jk

Total time: 1 minute 11 seconds


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message