You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/08/22 18:08:51 UTC
[GitHub] [trafficserver] chenrui333 commented on issue #8253: trafficserver 9.1.0 does not build with yaml-cpp 0.7.0
chenrui333 commented on issue #8253:
URL: https://github.com/apache/trafficserver/issues/8253#issuecomment-903308078
Here are the commands:
- `./configure --prefix=/usr/local/Cellar/trafficserver/9.1.0_1 --mandir=/usr/local/Cellar/trafficserver/9.1.0_1/share/man --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/trafficserver --with-openssl=/usr/local/opt/openssl@1.1 --with-yaml-cpp=/usr/local/opt/yaml-cpp --with-group=admin --disable-silent-rules --enable-experimental-plugins`
- `make install`
configure option summary
```
configure: Build option summary:
CC: clang
CXX: clang++
CPP: clang -E
CFLAGS:
CXXFLAGS:
CPPFLAGS: -D_GNU_SOURCE -I/usr/local/opt/openssl@1.1/include -DOPENSSL_NO_SSL_INTERN -I/usr/local/Cellar/pcre/8.45/include
LDFLAGS: -L/usr/local/opt/openssl@1.1/lib -L/usr/local/Cellar/pcre/8.45/lib
AM_CFLAGS: -std=gnu99 -g -pipe -Wall -Wno-deprecated-declarations -Qunused-arguments -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter -O3 -fno-strict-aliasing
AM_CXXFLAGS: -std=c++17 -g -pipe -Wall -Wno-deprecated-declarations -Qunused-arguments -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter -O3 -fno-strict-aliasing -Wno-invalid-offsetof
AM_CPPFLAGS: -Ddarwin -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_REENTRANT -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1
AM_LDFLAGS: -R/usr/local/opt/openssl@1.1/lib -R/usr/local/Cellar/pcre/8.45/lib -R/usr/local/opt/yaml-cpp/lib
TS_INCLUDES:
OPENSSL_LDFLAGS: -L/usr/local/opt/openssl@1.1/lib
OPENSSL_INCLUDES: -I/usr/local/opt/openssl@1.1/include
YAMLCPP_LDFLAGS: -L/usr/local/opt/yaml-cpp/lib
YAMLCPP_INCLUDES: -I/usr/local/opt/yaml-cpp/include
```
error message
```
/bin/sh ../libtool --tag=CXX --mode=link clang++ -std=c++17 -g -pipe -Wall -Wno-deprecated-declarations -Qunused-arguments -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter -O3 -fno-strict-aliasing -Wno-invalid-offsetof -R/usr/local/opt/openssl@1.1/lib -R/usr/local/Cellar/pcre/8.45/lib -R/usr/local/opt/yaml-cpp/lib -L/usr/local/opt/yaml-cpp/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/Cellar/pcre/8.45/lib -o traffic_logcat/traffic_logcat traffic_logcat/traffic_logcat-logcat.o ../proxy/logging/liblogging.a ../proxy/hdrs/libhdrs.a ../proxy/shared/libdiagsconfig.a ../proxy/shared/libUglyLogStubs.a ../mgmt/libmgmt_p.la ../lib/records/librecords_p.a ../iocore/eventsystem/libinkevent.a ../src/tscore/libtscore.la ../src/tscpp/util/libtscpputil.la -L/usr/local/Cellar/hwloc/2.5.0/lib -lhwloc -lyaml-cpp -lm
Undefined symbols for architecture x86_64:
"YAML::detail::node_data::convert_to_map(std::__1::shared_ptr<YAML::detail::memory_holder>)", referenced from:
YAML::detail::node& YAML::detail::node_data::get<ts::TextView>(ts::TextView const&, std::__1::shared_ptr<YAML::detail::memory_holder>) in libproxy.a(IPAllow.o)
```
@bryancall let me know if it is sufficient.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org