On 11/15/2013 01:11 PM, simendsjo wrote:
I thrid compiling thrift 0.9.1 from github with d support, but there's a
bug in the makefile it seems.
$(addprefix.log: $(addprefix
@p='$(addprefix'; \
b='$(addprefix'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS)
$(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
The error is reported at the first line with the message:
Makefile:1206: *** unterminated variable reference. Stop.
Can anyone spot the error? (And preferably send a pull request so I
don't take the credit :) )
addprefix is a make function:
http://www.gnu.org/software/make/manual/html_node/File-Name-Functions.html
$(addprefix prefix,names...)
None of the addprefix calls in that excerpt look correct. :-/
Ali