forp-PHP-profiler
forp-PHP-profiler copied to clipboard
Fails to build on OS X
Not sure if you're planning on supporting OS X, but I get the following error during make (on OS X 10.8.5):
bin/sh /Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1/libtool --mode=link cc -DPHP_ATOM_INC -I/Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1/include -I/Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1/main -I/Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1 -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o forp.la -export-dynamic -avoid-version -prefer-pic -module -rpath /Users/garypearman/Documents/Development/opensource/forp-PHP-profiler-1.0.1/modules php_forp.lo forp.lo
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/forp.so -bundle .libs/php_forp.o .libs/forp.o
duplicate symbol _forp_globals in:
.libs/php_forp.o
.libs/forp.o
duplicate symbol _old_execute in:
.libs/php_forp.o
.libs/forp.o
duplicate symbol _old_compile_file in:
.libs/php_forp.o
.libs/forp.o
duplicate symbol _old_execute_internal in:
.libs/php_forp.o
.libs/forp.o
ld: 4 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [forp.la] Error 1
Can you try to build this with gcc or something other then clang
@gazsp any news ?
Ran to the same issue on OS X. Would appreciate if someone has figured out a workaround.