Build fails with --enable-standalone-iocore
-------------------------------------------

                 Key: TS-823
                 URL: https://issues.apache.org/jira/browse/TS-823
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.1.8, 3.1.0
            Reporter: Igor Galić
             Fix For: 3.1.0


When enabling ./configuring the build with --enable-standalone-iocore the build 
fails with:
{noformat}
igalic@bawnb976 ~/Projects/asf/trafficserver/iocore/dns (svn)-[trunk:1132769] % 
make
g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem 
-I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
-I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
-I../../iocore/dns -I../../lib/records -D_LARGEFILE64_SOURCE=1 
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dlinux -I/usr/include/tcl8.4 
 -march=native -mtune=native -march=i586 -g -pipe -Wall -Werror -O3 
-feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -MT 
DNS.o -MD -MP -MF .deps/DNS.Tpo -c -o DNS.o DNS.cc
DNS.cc: In member function 'virtual int DNSProcessor::start(int)':
DNS.cc:132:7: error: 'SplitDNSConfig' has not been declared
DNS.cc:134:5: error: 'SplitDNSConfig' has not been declared
DNS.cc: In member function 'void DNSEntry::init(const char*, int, int, 
Continuation*, DNSHandler*, int)':
DNS.cc:261:19: error: 'INK_NOWARN' was not declared in this scope
make: *** [DNS.o] Error 1
{noformat}

This is due to missing dependencies in Makefile.am: Even though we include 
"P_DNS.h", which includes "libts.h", which in turn includes "ink_config.h" the 
compiler doesn't seem to be able to resolve "SPLIT_DNS".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to