Subject: Re: MP Howto?
To: Zafer Aydogan <zafer@gmx.org>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-kern
Date: 03/18/2004 16:58:12
Zafer Aydogan wrote:
> Dear Newsgroup,
>
> when trying to build an MP Kernel on i386, make depend fails with this:
> --snip--
> .c  ../../../../dev/usb/ukbdmap.c ../../../../dev/usb/ums.c
> ../../../../dev/usb/ulpt.c  ../../../../dev/usb/umass.c
> ../../../../dev/usb/umass_isdata.c
> ../../../../dev/usb/umass_quirks.c ../../../../dev/usb/umass_scsipi.c
> ../../../../dev/usb/uirda.c ../../../../dev/usb/ustir.c
> ../../../../dev/usb/urio.c
> ../../../../dev/usb/uvisor.c ../../../../dev/usb/uyap.c
> ../../../../dev/usb/udsbr.c  ../../../../dev/usb/if_aue.c
> ../../../../dev/usb/if_cue.c
> ../../../../dev/usb/if_kue.c  ../../../../dev/usb/if_upl.c
> ../../../../dev/usb/if_url.c
> ../../../../dev/usb/if_uax.c  ../../../../dev/usb/if_udav.c
> ../../../../dev/usb/umodem.c ../../../../dev/usb/uftdi.c
> ../../../../dev/usb/uplcom.c
> ../../../../dev/usb/umct.c ../../../../dev/usb/uvscom.c
> ../../../../dev/usb/ubsa.c
> ../../../../dev/usb/uscanner.c ../../../../dev/usb/usscanner.c 
> swapnetbsd.c cc: Ambiguous abbreviation --
> cat ../../../../arch/i386/i386/genassym.cf  |  sh
> ../../../../kern/genassym.sh mkdep -f assym.dep --       -ffreestanding
> -g -O2 -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.
> -I../../../../arch
> -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32
> -D_KERNEL -D_KERNEL_OPT
> cc: Ambiguous abbreviation --
> -bash-2.05b$
>
> I downloaded the latest source. whats wrong?
> Can somebody write a step-by-step howto on compiling an MP Kernel?

You need to update mkdep. From src/UPDATING:

20031111:
        A newer mkdep is needed.  Error noting that is
                cc: Ambiguous abbreviation --

Jun-Young