[ https://issues.apache.org/jira/browse/TS-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862520#action_12862520 ]
George Paul commented on TS-328: -------------------------------- I ran into problems trying to do build in a separate build directory which I do by default i.e. not in the same directory as source is located. It looks like the include directories and source locations need to be prefixed with $(top_srcdir) in the Makefile.am(s). i.e. mkdir build; cd build; ../configure make e.g. traffic/example/Makefile.am ... API_INC=$(top_srcdir)/proxy/api/include .... ln -sfn . $(top_srcdir)/proxy/api/include/ts e.g. traffic/example/add-header/Makefile.am ... $(CC) $(CFLAGS) -I$(API_INC) -o add-header.o -c $(top_srcdir)/example/add-header/add-header.c ... > add the example directory into the build and fix and compilation bugs > --------------------------------------------------------------------- > > Key: TS-328 > URL: https://issues.apache.org/jira/browse/TS-328 > Project: Traffic Server > Issue Type: Bug > Reporter: Bryan Call > Assignee: Bryan Call > Fix For: 2.1.0 > > Attachments: 001-example-bcall.patch, 002-example-bcall.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.