Re: Please help with hppa FTBFS in vdr-plugin-bitstreamout
Hello again,
I've replaced "-o /dev/null" with a tempfile and it still didn't compile
on hppa, so I took a more pragmatic approach and completely removed the
checks for the include files and libs, but it fails to build again.
The original code in the Makefile is:
cc-include = $(shell $(CC) $(INCLUDES) -include $(1) -S -o /dev/null -xc
/dev/null > /dev/null 2>&1 && echo "-D$(2)")
cc-library = $(shell echo 'int main () { return 0; }' |$(CC)
-l$(1:lib%=%) -o /dev/null -xc - > /dev/null 2>&1 && echo yes)
ifeq ($(call cc-library,libasound),yes)
LIBS += -lasound -lrt
else
$(error No libasound in linkage path please install alsa and
alsa-devel packages)
endif
I modified cc-include and cc-library to:
cc-include = $(shell echo "-D$(2)")
cc-library = $(shell echo yes)
...but it still throws the error. So it seems, the hppa-make doesn't
like the way 'call' and 'shell' are used here.
Any ideas on that?
Tobias
Reply to: