Subject: Re: MP Howto?
To: Zafer Aydogan <zafer@gmx.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 03/17/2004 23:00:33
On Wed, Mar 17, 2004 at 09:24:24PM +0100, 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?

Should be the same as for a UP kernel.
How old are your binaries ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--