Subject: tools kernel: how to make lex.l
To: None <>
From: Hanspeter Roth <>
List: current-users
Date: 06/20/2005 13:21:31

I've downloaded NetBSD-Current as of June 18th.
While building tools and kernel, I get:

#      link  mdsetimage/mdsetimage
cc -O -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include  -I/usr/src/tools/mdsetimage/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  -I/usr/src/tools/binutils/obj/build/bfd -I/usr/src/gnu/dist/binutils/bfd -I/usr/src/gnu/dist/binutils/binutils -I/usr/src/gnu/dist/binutils/include   -o mdsetimage mdsetimage.lo -L/usr/src/tools/compat/obj -lnbcompat -lz -L/usr/src/tools/binutils/obj/build/bfd -lbfd -L/usr/src/tools/binutils/obj/build/libiberty -liberty
dependall ===> asn1_compile
nbmake: don't know how to make lex.l. Stop

nbmake: stopped in /usr/src/tools/asn1_compile

*** Failed target:  dependall-asn1_compile
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/tooldir.NetBSD-3.99.3-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget asn1_compile dependall
*** Error code 2

How can one fix this?