Subject: Re: HEADS UP: kernel mi machinery in the tree
To: Matthias Scheler <>
From: Andrew Brown <>
List: current-users
Date: 11/16/2001 08:15:16
>> i committed my machine independent kernel build machinery a little
>> while ago.
>Could your commit be the cause for this?


>cp /usr/src/sys/conf/param.c .

that's the param.c target...

>sh /usr/src/sys/kern/ cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DCRYPTO_MD_DES_ENC -DCRYPTO_MD_BF_ENC -DMSGBUFSIZE="0x8000" -DLKM -DDIAGNOSTIC -DNMBCLUSTERS="0x800" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT  -Di386   < /usr/src/sys/arch/i386/i386/ > assym.h.tmp &&  mv -f assym.h.tmp assym.h

that's the assym.h target...

>-x assembler-with-cpp -traditional-cpp -D_LOCORE -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DCRYPTO_MD_DES_ENC -DCRYPTO_MD_BF_ENC -DMSGBUFSIZE="0x8000" -DLKM -DDIAGNOSTIC -DNMBCLUSTERS="0x800" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT  -Di386 /usr/src/sys/arch/i386/i386/locore.s /usr/src/sys/arch/i386/i386/db_dbgreg.s /usr/src/sys/arch/i386/i386/in_cksum.s  /usr/src/sys/arch/i386/i386/microtime.s /usr/src/sys/crypto/des/arch/i386/des_enc.S  /usr/src/sys/crypto/blowfish/arch/i386/bf_enc.S  /usr/src/sys/arch/i386/i386/bioscall.s /usr/src/sys/arch/i386/i386/apmcall.s  /usr/src/sys/arch/i386/i386/linux_sigcode.s
>-x: not found
>*** Error code 127

that looks like the beginning of the .depend target...

>I get this when building either my customized or the generic kernel
>configuration. I've already rebuilt my toolchain, "/usr/sbin/config"
>and updated "/usr/share/mk". Nothing helped.

it looks like the definition for ${MKDEP} is empty.  hrm.  okay.  that
i expected to be part of the "toolchain".  i've added something to to take care of this for now.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."