Not able to compile mod_jk on MacOS

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Not able to compile mod_jk on MacOS

Postby cgoncalves » 13. March 2018 17:13

I'm trying to compile mod_jk 1.2.43 on MacOS (in a Lampp environment) and I'm getting the error:

ld: unknown option: -I/Applications/XAMPP/xamppfiles/include
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [mod_jk.la] Error 1
make: *** [all-recursive] Error 1

I made this steps:
wget http://mirrors.up.pt/pub/apache/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.43-src.tar.gz
tar -xzvf tomcat-connectors-1.2.43-src.tar.gz
cd tomcat-connectors-1.2.43-src/native
./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64' -with-apxs=/Applications/XAMPP/bin/apxs
make

but last message that I get is the above one.

I also tried to only use
./configure -with-apxs=/Applications/XAMPP/bin/apxs

but the error is the same

the output of the "uname -a" command gives something like:
Darwin xxx.xxx.xxx.xxx 17.4.0 Darwin Kernel Version 17.4.0 root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

I'm using XAMPP for OS X -> 7.2.2 / PHP 7.2.2

In attache I send the full output from the configure and make commands.

Thanks for the help.
Carlos

-------------------------
./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64' -with-apxs=/Applications/XAMPP/bin/apxs

checking build system type... x86_64-apple-darwin17.4.0
checking host system type... x86_64-apple-darwin17.4.0
checking target system type... x86_64-apple-darwin17.4.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for test... /bin/test
checking for grep... /usr/bin/grep
checking for echo... /bin/echo
checking for sed... /usr/bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
APRINCLUDEDIR is -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1
building connector for "apache-2.0"
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc -std=gnu99... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc -std=gnu99... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... yes
checking for gcc -std=gnu99 option to produce PIC... -fno-common
checking if gcc -std=gnu99 PIC flag -fno-common works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking whether the gcc -std=gnu99 linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.4.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
LIBTOOL="/Applications/XAMPP/xamppfiles/build/libtool --silent"
checking for char... yes
checking size of char... 1
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for short... yes
checking size of short... 2
checking for long double... yes
checking size of long double... 16
checking for long long... yes
checking size of long long... 8
checking for longlong... no
checking size of longlong... 0
checking size of pid_t... 4
checking size of pthread_t... 8
checking for snprintf... yes
checking for vsnprintf... yes
checking for flock... yes
checking for setsockopt in -lsocket... no
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking whether to use SO_RCVTIMEO with setsockopt()... yes
checking whether to use SO_SNDTIMEO with setsockopt()... yes
checking whether to use SOCK_CLOEXEC with socket()... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for poll... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for IPv6 with socket()... yes
checking for struct sockaddr_storage... yes
checking for getaddrinfo... yes
checking for gethostbyname_r... no
checking for target platform... unix
no apache given
no netscape given
configure: tokens in APXSLDFLAGS have been prefixed with '-Wl,'
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating common/jk_types.h
config.status: creating common/config.h
config.status: common/config.h is unchanged
config.status: executing depfiles commands


make
Making all in common
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_connect.c -o jk_connect.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_msg_buff.c -o jk_msg_buff.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_util.c -o jk_util.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_ajp13.c -o jk_ajp13.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_pool.c -o jk_pool.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_worker.c -o jk_worker.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_ajp13_worker.c -o jk_ajp13_worker.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_lb_worker.c -o jk_lb_worker.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
jk_lb_worker.c:1334:36: warning: address of array 'p->worker->session_cookie_path' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (p->worker->session_cookie_path && *p->worker->session_cookie_path) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~
1 warning generated.
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_sockbuf.c -o jk_sockbuf.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_map.c -o jk_map.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_uri_worker_map.c -o jk_uri_worker_map.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_ajp14.c -o jk_ajp14.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_ajp14_worker.c -o jk_ajp14_worker.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_md5.c -o jk_md5.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_shm.c -o jk_shm.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_ajp_common.c -o jk_ajp_common.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_context.c -o jk_context.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_url.c -o jk_url.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c jk_status.c -o jk_status.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
jk_status.c:1853:27: warning: address of array 'wr->redirect' will always evaluate to 'true' [-Wpointer-bool-conversion]
wr->redirect ? (*wr->redirect ? wr->redirect : " ") : "&nbsp",
~~~~^~~~~~~~ ~
jk_status.c:1854:27: warning: address of array 'wr->domain' will always evaluate to 'true' [-Wpointer-bool-conversion]
wr->domain ? (*wr->domain ? wr->domain : " ") : "&nbsp",
~~~~^~~~~~ ~
jk_status.c:1976:47: warning: address of array 'wr->route' will always evaluate to 'true' [-Wpointer-bool-conversion]
jk_printf(s, " route=\"%s\"", wr->route ? wr->route : "");
~~~~^~~~~ ~
jk_status.c:1977:50: warning: address of array 'wr->redirect' will always evaluate to 'true' [-Wpointer-bool-conversion]
jk_printf(s, " redirect=\"%s\"", wr->redirect ? wr->redirect : "");
~~~~^~~~~~~~ ~
jk_status.c:1978:48: warning: address of array 'wr->domain' will always evaluate to 'true' [-Wpointer-bool-conversion]
jk_printf(s, " domain=\"%s\"", wr->domain ? wr->domain : "");
~~~~^~~~~~ ~
5 warnings generated.
Making all in apache-2.0
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=compile gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -DUSE_APACHE_MD5 -I ../common -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -c mod_jk.c -o mod_jk.lo
clang: warning: argument unused during compilation: '-L/Applications/XAMPP/xamppfiles/lib' [-Wunused-command-line-argument]
In file included from mod_jk.c:89:
In file included from ../common/jk_global.h:29:
../common/config.h:77:9: warning: 'PACKAGE_NAME' macro redefined [-Wmacro-redefined]
#define PACKAGE_NAME "mod_jk"
^
/Applications/XAMPP/xamppfiles/include/ap_config_auto.h:237:9: note: previous definition is here
#define PACKAGE_NAME ""
^
In file included from mod_jk.c:89:
In file included from ../common/jk_global.h:29:
../common/config.h:80:9: warning: 'PACKAGE_STRING' macro redefined [-Wmacro-redefined]
#define PACKAGE_STRING "mod_jk 1.2.40"
^
/Applications/XAMPP/xamppfiles/include/ap_config_auto.h:240:9: note: previous definition is here
#define PACKAGE_STRING ""
^
In file included from mod_jk.c:89:
In file included from ../common/jk_global.h:29:
../common/config.h:83:9: warning: 'PACKAGE_TARNAME' macro redefined [-Wmacro-redefined]
#define PACKAGE_TARNAME "mod_jk"
^
/Applications/XAMPP/xamppfiles/include/ap_config_auto.h:243:9: note: previous definition is here
#define PACKAGE_TARNAME ""
^
In file included from mod_jk.c:89:
In file included from ../common/jk_global.h:29:
../common/config.h:86:9: warning: 'PACKAGE_VERSION' macro redefined [-Wmacro-redefined]
#define PACKAGE_VERSION "1.2.40"
^
/Applications/XAMPP/xamppfiles/include/ap_config_auto.h:249:9: note: previous definition is here
#define PACKAGE_VERSION ""
^
4 warnings generated.
/Applications/XAMPP/xamppfiles/build/libtool --silent --mode=link gcc -std=gnu99 -I/Applications/XAMPP/xamppfiles/include -arch x86_64 -DHAVE_CONFIG_H -DUSE_APACHE_MD5 -I ../common -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -I/Applications/XAMPP/xamppfiles/include/c-client -I/Applications/XAMPP/xamppfiles/include/libpng -I/Applications/XAMPP/xamppfiles/include/freetype2 -O3 -L/Applications/XAMPP/xamppfiles/lib -I/Applications/XAMPP/xamppfiles/include -I/Applications/XAMPP/xamppfiles/include/ncurses -arch x86_64 -DHAVE_APR -I/Applications/XAMPP/xamppfiles/include/apr-1 -I/Applications/XAMPP/xamppfiles/include/apr-1 -arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -Wl,-rpath -Wl,/Applications/XAMPP/xamppfiles/lib -Wl,-L/Applications/XAMPP/xamppfiles/lib -Wl,-I/Applications/XAMPP/xamppfiles/include -Wl,-arch -Wl,x86_64 -Wl,-L/Applications/XAMPP/xamppfiles/lib -Wl,-L/Applications/XAMPP/xamppfiles -o mod_jk.la -module -rpath /Applications/XAMPP/xamppfiles/modules -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo ../common/jk_status.lo
ld: unknown option: -I/Applications/XAMPP/xamppfiles/include
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [mod_jk.la] Error 1
make: *** [all-recursive] Error 1
cgoncalves
 
Posts: 2
Joined: 12. April 2013 12:48
Operating System: Windows 7 Professional - SP1

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests