Details
Description
Even though --disable-webui is default, adding it to the ./configure line seems to trigger something that should be #ifdef-0-ed out.
Here's how to repro:
i.galic@panic ~/Projects/asf/trafficserver (svn)-[trunk:1042718] % svn co https://.... i.galic@panic ~/Projects/asf/trafficserver (svn)-[trunk:1042718] % autoreconf -i --force i.galic@panic ~/Projects/asf/trafficserver (svn)-[trunk:1042718] % ./configure --enable-layout=opt --prefix=/opt/bw --with-pic --with-user=www --with-group=www --disable-webui i.galic@panic ~/Projects/asf/trafficserver (svn)-[trunk:1042718] % make .... invalid-offsetof -rdynamic -o traffic_manager traffic_manager-Error.o traffic_manager-AddConfigFilesHere.o traffic_manager-Alarms.o traffic_manager-AutoConf.o traffic_manager-BaseManager.o traffic_manager-BaseRecords.o traffic_manager-FileManager.o traffic_manager-LMRecords.o traffic_manager-LocalManager.o traffic_manager-Main.o traffic_manager-MgmtDBM.o traffic_manager-MultiFile.o traffic_manager-RecordsConfig.o traffic_manager-Rollback.o traffic_manager-StatAggregation.o traffic_manager-WebPluginList.o cluster/libcluster.a preparse/libpreparse.a stats/libstats.a web2/libweb.a cli/libcli_lm.a api2/libmgmtapilocal.a utils/libutils_lm.a ../../proxy/hdrs/libhdrs.a ../../lib/records/libreclocal.a ../../proxy/mgmt2/tools/libinksysapi.a ../../proxy/mgmt2/tools/libinkconfigapi.a ../../iocore/utils/libinkutils.a ../../lib/ts/libts.a /usr/lib/libexpat.so -lpcre -lssl -lcrypto /usr/lib/libsqlite3.so -ltcl8.4 -ldl -lnsl -lresolv -lpthread -lrt -lcap -lz cluster/libcluster.a(ClusterCom.o): In function `ClusterCom::handleMultiCastFilePacket(char*, char*)': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/cluster/ClusterCom.cc:1219: undefined reference to `WebHttpTreeRebuildJsTree()' web2/libweb.a(WebOverview.o): In function `overviewPage::generateTable(WebHttpContext*)': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebOverview.cc:1033: undefined reference to `WebHttpGetLink_Xmalloc(char const*)' web2/libweb.a(WebOverview.o): In function `overviewPage::generateAlarmsSummary(WebHttpContext*)': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebOverview.cc:943: undefined reference to `WebHttpGetLink_Xmalloc(char const*)' web2/libweb.a(WebHttp.o): In function `WebHttpHandleConnection(WebHttpConInfo*)': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttp.cc:4215: undefined reference to `WebHttpTreeReturnRefresh(char*)' web2/libweb.a(WebHttp.o): In function `handle_submit_otw_upgrade': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttp.cc:3653: undefined reference to `WebHttpGetLink_Xmalloc(char const*)' web2/libweb.a(WebHttp.o): In function `handle_submit_update': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttp.cc:2887: undefined reference to `WebHttpGetLink_Xmalloc(char const*)' /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttp.cc:2994: undefined reference to `WebHttpTreeRebuildJsTree()' web2/libweb.a(WebHttp.o): In function `handle_submit_snapshot_to_floppy': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttp.cc:2492: undefined reference to `WebHttpGetLink_Xmalloc(char const*)' web2/libweb.a(WebHttp.o): In function `WebHttpInit()': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttp.cc:4150: undefined reference to `WebHttpTreeInit()' web2/libweb.a(WebHttpRender.o): In function `handle_tab_object': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttpRender.cc:803: undefined reference to `WebHttpRenderTabs(textBuffer*, int)' web2/libweb.a(WebHttpRender.o): In function `handle_host_redirect_url': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttpRender.cc:2546: undefined reference to `WebHttpGetLink_Xmalloc(char const*)' web2/libweb.a(WebHttpRender.o): In function `handle_html_tab_object': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttpRender.cc:825: undefined reference to `WebHttpRenderHtmlTabs(textBuffer*, char*, int)' web2/libweb.a(WebHttpRender.o): In function `handle_link_query': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttpRender.cc:1993: undefined reference to `WebHttpGetLinkQuery_Xmalloc(char*)' web2/libweb.a(WebHttpRender.o): In function `handle_ssl_redirect_url': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttpRender.cc:2512: undefined reference to `WebHttpGetLink_Xmalloc(char const*)' web2/libweb.a(WebHttpRender.o): In function `handle_help_link': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttpRender.cc:1894: undefined reference to `WebHttpTreeReturnHelpLink(char*)' web2/libweb.a(WebHttpRender.o): In function `handle_link': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttpRender.cc:1950: undefined reference to `WebHttpGetLink_Xmalloc(char const*)' web2/libweb.a(WebHttpRender.o): In function `handle_tree_object': /home/i.galic/Projects/asf/trafficserver/proxy/mgmt2/web2/WebHttpRender.cc:938: undefined reference to `WebHttpRenderJsTree(textBuffer*, char*)' collect2: ld returned 1 exit status make[3]: *** [traffic_manager] Error 1 make[3]: Leaving directory `/home/i.galic/Projects/asf/trafficserver/proxy/mgmt2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/i.galic/Projects/asf/trafficserver/proxy/mgmt2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/i.galic/Projects/asf/trafficserver/proxy' make: *** [all-recursive] Error 1