Subject: cross-build problem with -current
To: None <>
From: Chuck Tuffli <>
List: current-users
Date: 02/13/2004 12:16:20
I'm trying to build -current under 4.7 FreeBSD for i386 and am hitting
an error in asn1_compile. The tail-end of the compile output is below.
Should something have already generated lex.l, or am I missing an app
that make is trying to use to create lex.l, or ??? Thanks for any


[793] uname -a
FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Nov 13 09:48:07 PST 2002  i386
[794] ./ -U -D /opt/netbsd -m i386 -V MKCATPAGES=no -V MKDOC=no -V MKINFO=no -V MKMAN=no tools kernel=GENERIC

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

nbmake: stopped in /usr/home/ctuffli/dev/netbsd/src/tools/asn1_compile

*** Failed target:  dependall-asn1_compile
*** Failed command: targ=dependall;dir=asn1_compile; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/home/ctuffli/dev/netbsd/src/tooldir.FreeBSD-4.7-RELEASE-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/usr/home/ctuffli/dev/netbsd/src/tools/$dir"; /usr/home/ctuffli/dev/netbsd/src/tooldir.FreeBSD-4.7-RELEASE-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 2

nbmake: stopped in /usr/home/ctuffli/dev/netbsd/src/tools

ERROR: Failed to make tools

Chuck Tuffli
Agilent Technologies, Storage Area Networking