zoom$ cat Makefile # $NetBSD$ NOMAN= # defined .include HOSTPROGNAME= ${_TOOL_PREFIX}dtc HOST_SRCDIR= external/gpl2/dtc/usr.bin/dtc FDTOBJ!= cd ${.CURDIR}/../libfdt && ${PRINTOBJDIR} LDADD+= -L${FDTOBJ} -lfdt .include "${.CURDIR}/../Makefile.nbincludes" .include "${.CURDIR}/../Makefile.host" zoom$ I-search: zoom$ nbmake-evbearmv7hf-el # compile dtc/dtc-parser.lo cc -O -I/wrk/commit/src/../tools/include -I/wrk/commit/src/../tools/include/nbinclude -I/wrk/commit/src/../tools/include/compat -I/wrk/commit/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/wrk/commit/src/tools/dtc/../../external/gpl2/dtc/usr.bin/dtc -I/wrk/commit/src/external/gpl2/dtc/dist -I/wrk/commit/src/external/gpl2/dtc/dist/libfdt -c -o dtc-parser.lo.o dtc-parser.c dtc-parser.c: In function 'yyparse': dtc-parser.c:110:36: error: 'yylloc' undeclared (first use in this function) #define YYERROR_DECL() yyerror(YYLTYPE *loc, const char *s) ^ dtc-parser.c:739:5: note: in expansion of macro 'YYERROR_CALL' } ^ dtc-parser.c:110:36: note: each undeclared identifier is reported only once for each function it appears in #define YYERROR_DECL() yyerror(YYLTYPE *loc, const char *s) ^ dtc-parser.c:739:5: note: in expansion of macro 'YYERROR_CALL' } ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:156:19: error: 'YYSTACKDATA' has no member named 'p_mark' ERROR(&@3, "Label or path %s not found", $3); ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:34:17: note: in definition of macro 'ERROR' srcpos_error((loc), "Error", __VA_ARGS__); \ ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:166:19: error: 'YYSTACKDATA' has no member named 'p_mark' ERROR(&@2, "Label or path %s not found", $2); ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:34:17: note: in definition of macro 'ERROR' srcpos_error((loc), "Error", __VA_ARGS__); \ ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:176:19: error: 'YYSTACKDATA' has no member named 'p_mark' ERROR(&@3, "Label or path %s not found", $3); ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:34:17: note: in definition of macro 'ERROR' srcpos_error((loc), "Error", __VA_ARGS__); \ ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:294:19: error: 'YYSTACKDATA' has no member named 'p_mark' ERROR(&@2, "Array elements must be" ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:34:17: note: in definition of macro 'ERROR' srcpos_error((loc), "Error", __VA_ARGS__); \ ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:320:20: error: 'YYSTACKDATA' has no member named 'p_mark' ERROR(&@2, "Value out of range for" ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:34:17: note: in definition of macro 'ERROR' srcpos_error((loc), "Error", __VA_ARGS__); \ ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:335:19: error: 'YYSTACKDATA' has no member named 'p_mark' ERROR(&@2, "References are only allowed in " ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:34:17: note: in definition of macro 'ERROR' srcpos_error((loc), "Error", __VA_ARGS__); \ ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:455:18: error: 'YYSTACKDATA' has no member named 'p_mark' ERROR(&@2, "Properties must precede subnodes"); ^ /wrk/commit/src/external/gpl2/dtc/dist/dtc-parser.y:34:17: note: in definition of macro 'ERROR' srcpos_error((loc), "Error", __VA_ARGS__); \ ^ *** Failed target: dtc-parser.lo *** Failed command: cc -O -I/wrk/commit/src/../tools/include -I/wrk/commit/src/../tools/include/nbinclude -I/wrk/commit/src/../tools/include/compat -I/wrk/commit/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/wrk/commit/src/tools/dtc/../../external/gpl2/dtc/usr.bin/dtc -I/wrk/commit/src/external/gpl2/dtc/dist -I/wrk/commit/src/external/gpl2/dtc/dist/libfdt -c -o dtc-parser.lo.o dtc-parser.c *** Error code 1 Stop. nbmake: stopped in /wrk/commit/src/tools/dtc zoom$