[
https://issues.apache.org/jira/browse/TS-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325855#comment-15325855
]
Oknet Xu commented on TS-4521:
------------------------------
Attach a workaround patch here depend on my limited knowledge of Makefile.
{code}
diff --git a/proxy/http2/Makefile.am b/proxy/http2/Makefile.am
index c9d181d..ab83044 100644
--- a/proxy/http2/Makefile.am
+++ b/proxy/http2/Makefile.am
@@ -80,7 +80,7 @@ test_Http2DependencyTree_SOURCES = \
test_Http2DependencyTree.cc \
Http2DependencyTree.h
-test_HPACK_LDADD = \
+test_HPACK_LDADD = @TCL_LIB_SPEC@ \
$(top_builddir)/proxy/hdrs/libhdrs.a \
$(top_builddir)/lib/ts/libtsutil.a \
$(top_builddir)/iocore/eventsystem/libinkevent.a \
{code}
> compile error on build proxy/http2/test_HPACK
> ---------------------------------------------
>
> Key: TS-4521
> URL: https://issues.apache.org/jira/browse/TS-4521
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Oknet Xu
>
> OS: Debian 7 (wheezy)
> ATS Branch: master
> GCC: 4.7.2(Debian 4.7.2-5)
> {code}
> /usr/bin/ld: ../../proxy/hdrs/libhdrs.a(HttpCompat.o): undefined reference to
> symbol 'Tcl_NextHashEntry'
> /usr/bin/ld: note: 'Tcl_NextHashEntry' is defined in DSO
> /usr/lib/libtcl8.5.so.0 so try adding it to the linker command line
> /usr/lib/libtcl8.5.so.0: could not read symbols: Invalid operation
> collect2: error: ld returned 1 exit status
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)