OpenWrt Forum Archive

Topic: mpd build error. Possible makefile error?

The content of this topic has been archived on 2 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

My first attempt at building the image and I enocunter a syntax error problem which I traced back to the /kamikaze/build_dir/target-mipsel_uClibc-0.9.29/mpd-0.14.2/src/makefile.

Starting at line 345...

MPD_CFLAGS =  -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -pedantic
MPD_LIBS =  -lnsl -lm
OBJEXT = o
OGGVORBIS_CFLAGS = ARGET_CPPFLAGS)

Looking at the last line, it seems like maybe it should be .... = (TARGET_CPPFLAGS)?

Could anyone confirm? I have no idea how it got into there in the first place...

Thanks a million. CJ

Yes, fixed in trunk.

The discussion might have continued from here.