|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-10-16 15:04 UTC] nicolas dot charlot at footeo dot com
Description:
------------
duplicate symbol _default_varnish_handlers in:
.libs/varnish.o
.libs/adm.o
duplicate symbol _default_varnish_handlers in:
.libs/varnish.o
.libs/varnish_lib.o
duplicate symbol _default_varnish_handlers in:
.libs/varnish.o
.libs/exception.o
duplicate symbol _default_varnish_handlers in:
.libs/varnish.o
.libs/stat.o
duplicate symbol _default_varnish_handlers in:
.libs/varnish.o
.libs/log.o
ld: 5 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [varnish.la] Error 1
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
I update from trunk. 2 errors are remaining: duplicate symbol _default_varnish_handlers in: .libs/varnish.o .libs/varnish_lib.o duplicate symbol _default_varnish_handlers in: .libs/varnish.o .libs/exception.o ld: 2 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [varnish.la] Error 1Did you do make clean before rebuilding? The old object file would still have that symbols if you didn't. After clean rebuild under linux i see $ nm .libs/varnish.o | grep handlers 00000068 C default_varnish_handlers U zend_get_std_object_handlers $ nm .libs/varnish_lib.o | grep handlers so silence. As varnish_lib.c actually doesn't reference that variable anymore. Thanks.