https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412016-09-21T08:26:34Zlighty labsLighttpd - Bug #2752: vector_realloc missing when linking test_configfilehttps://redmine.lighttpd.net/issues/2752?journal_id=104872016-09-21T08:26:34Zpetrs
<ul></ul><p>If it cannot be read from above the fix is mainly to add vector.$(OBJEXT) to am_test_configfile_OBJECTS.</p> Lighttpd - Bug #2752: vector_realloc missing when linking test_configfilehttps://redmine.lighttpd.net/issues/2752?journal_id=104882016-09-21T08:51:49Zgstrauss
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Patch Pending</i></li><li><strong>Target version</strong> changed from <i>1.4.x</i> to <i>1.4.42</i></li></ul><p>Updating Makefile.am would be better, as Makefile.in is generated. Does the following work for you?</p>
<pre>
diff --git a/src/Makefile.am b/src/Makefile.am
index f87e9e5..0470c33 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -417,7 +417,7 @@ test_buffer_LDADD = $(LIBUNWIND_LIBS)
test_base64_SOURCES = test_base64.c base64.c buffer.c
test_base64_LDADD = $(LIBUNWIND_LIBS)
-test_configfile_SOURCES = test_configfile.c buffer.c array.c data_string.c keyvalue.c log.c
+test_configfile_SOURCES = test_configfile.c buffer.c array.c data_string.c keyvalue.c vector.c log.c
test_configfile_LDADD = $(PCRE_LIB) $(LIBUNWIND_LIBS)
noinst_HEADERS = $(hdr)
</pre> Lighttpd - Bug #2752: vector_realloc missing when linking test_configfilehttps://redmine.lighttpd.net/issues/2752?journal_id=104892016-09-21T10:55:57Zpetrs
<ul></ul><p>gstrauss wrote:</p>
<blockquote>
<p>Updating Makefile.am would be better, as Makefile.in is generated. Does the following work for you?</p>
</blockquote>
<p>It does. Thank you!</p> Lighttpd - Bug #2752: vector_realloc missing when linking test_configfilehttps://redmine.lighttpd.net/issues/2752?journal_id=104952016-09-22T17:45:06Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Patch Pending</i> to <i>Fixed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[autobuild] test_configfile might need vector.c (fixes #2752) needed to build on Solaris using O..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/2af88b23573bfe025a4a4892bd76b7e321d82c8d">2af88b23573bfe025a4a4892bd76b7e321d82c8d</a>.</p>