Subject: Problem recompiling lkm
To: None <netbsd-help@netbsd.org>
From: None <roberto@redix.it>
List: netbsd-help
Date: 05/10/2004 16:35:40
Date: 10 may 2004

I'm using netbsd 162. I've no problem compiling the kernel, but when
trying to complile a single lkm I got the following error:

root@netbsd:/sys/lkm/netinet/if_ipl# make
/usr/src/tools/tools.NetBSD-1.6.2-i386/bin/i386--netbsdelf-gcc -O2
-ffreestanding  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized  -Werror  -DIPFILTER_LOG
-I/usr/src/sys/netinet -DUSE_INET6 -DIPFILTER_LKM -nostdinc -I.
-I/sys/lkm/netinet/if_ipl -isystem /usr/src/sys -isystem /usr/src/sys/arch
-D_KERNEL -D_LKM  -c /usr/src/sys/netinet/ip_fil.c
make: exec(/usr/src/tools/tools.NetBSD-1.6.2-i386/bin/i386--netbsdelf-gcc)
failed (No such file or directory)
*** Error code 1

Stop.
make: stopped in /sys/lkm/netinet/if_ipl
root@netbsd:/sys/lkm/netinet/if_ipl#


Maybe I'm wrong or I forgot something odds?

Ragards,
Roberto