tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting NetBSD to Eco32



On Sun, 07 Sep 2014, Jens Mehler wrote:
The problem with
nbmake:
"/hdd/home/okarin/eco32/netbsd-on-eco32/usr/src/share/mk/bsd.files.mk"
line 110: Wrong number of words (3) in .for substitution list with 2 vars
still pops up.

BUILDSYMLINKS needs to contain an even number of "words", but it contains an odd number. There's might be a "BUILDSYMLINKS += ..." line with only one file name instead of two, or (more likely) a "BUILDSYMLINKS += ..." line that uses variable expansion, and a variable is undefined or empty instead of containing the value you expect. I would start by printing the unexpanded and expanded values of BUILDSYMLINKS using "make -V BUILDSYMLINKS" and "make -V '${BUILDSYMLINKS}'", and then track down how those values were set.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index