Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on OS X #18

Open
gazsp opened this issue Oct 8, 2013 · 3 comments
Open

Fails to build on OS X #18

gazsp opened this issue Oct 8, 2013 · 3 comments

Comments

@gazsp
Copy link

gazsp commented Oct 8, 2013

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
@wojons
Copy link

wojons commented Oct 15, 2013

Can you try to build this with gcc or something other then clang

@ichiriac
Copy link
Collaborator

ichiriac commented Jan 3, 2014

@gazsp any news ?

@birhanu-eshete
Copy link

Ran to the same issue on OS X. Would appreciate if someone has figured out a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants