Felix Buenemann created TS-3490:
-----------------------------------
Summary: mysql_remap Plugin compile fails on Mac OS X 10.10
Key: TS-3490
URL: https://issues.apache.org/jira/browse/TS-3490
Project: Traffic Server
Issue Type: Bug
Components: Build, Plugins
Reporter: Felix Buenemann
On Mac OS X 10.10 / Xcode 6.2 compilation of the experimental plugins fails
with undefined symbols for the mysql_remap plugin.
Compilation succeeds if {{-no-undefined}} is removed from
{{plugins/experimental/mysql_remap/Makefile.am}}, but I'm not sure if that is
the right approach.
Compile error:
{noformat}
git rev-parse HEAD
f4bbdd921aa4b453fe4dbca5e9c2c0955ecc0954
clang --version
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
./configure […] --enable-experimental-plugins
make -C plugins/experimental/mysql_remap
[…]
CC lib/dictionary.lo
CC lib/iniparser.lo
CCLD libmysql_remap.la
CXX mysql_remap.lo
CXXLD mysql_remap.la
Undefined symbols for architecture x86_64:
"_TSContCreate", referenced from:
_TSPluginInit in mysql_remap.o
"_TSContDataGet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSContDataSet", referenced from:
_TSPluginInit in mysql_remap.o
"_TSDebug", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
_TSPluginInit in mysql_remap.o
mysql_remap(tsapi_cont*, TSEvent, void*) in mysql_remap.o
"_TSError", referenced from:
_TSPluginInit in mysql_remap.o
"_TSHandleMLocRelease", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSHttpHdrStatusSet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSHttpHdrUrlGet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSHttpHookAdd", referenced from:
_TSPluginInit in mysql_remap.o
"_TSHttpTxnClientReqGet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSHttpTxnReenable", referenced from:
mysql_remap(tsapi_cont*, TSEvent, void*) in mysql_remap.o
"_TSHttpTxnSetHttpRetStatus", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSMimeHdrFieldFind", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSMimeHdrFieldValueStringGet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSMimeHdrFieldValueStringSet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSMutexCreate", referenced from:
_TSPluginInit in mysql_remap.o
"_TSPluginRegister", referenced from:
_TSPluginInit in mysql_remap.o
"_TSSkipRemappingSet", referenced from:
mysql_remap(tsapi_cont*, TSEvent, void*) in mysql_remap.o
"_TSUrlHostSet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSUrlPortGet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSUrlPortSet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSUrlSchemeGet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TSUrlSchemeSet", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TS_MIME_FIELD_HOST", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TS_MIME_LEN_HOST", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"_TS_NULL_MLOC", referenced from:
do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
"__TSmalloc", referenced from:
_TSPluginInit in mysql_remap.o
"iniparser_load(char const*)", referenced from:
[…]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)