Subject: Re: howto smp with i386?
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Christian Groessler <cpg@aladdin.de>
List: tech-smp
Date: 06/08/2001 02:03:50
On 06/07/2001 02:44:24 AM ZE2 Hubert Feyrer wrote:
>
>On 7 Jun 2001, Christian Groessler wrote:
>> Which branch should I check out from cvs?
>> What options should I set in the kernel config file?
>> What else should I look for?
>
>IIRC the branch is sommerfeld_i386mp_1, and everything that needs to be
>defined is in sys/arch/i386/conf/GENERIC.MP. For more information, check
>the list archive at http://mail-index.netbsd.org/tech-smp.

When I try to compile the kernel, I get this error:

cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
 -Wpointer-arith -Wno-uninitialized  -Wno-main -I. -I../../../../arch
-I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -Di386  -c
../../../../kern/tty.c 
../../../../kern/tty.c: In function `ttioctl':
../../../../kern/tty.c:747: `TIOCLBIC' undeclared (first use in this function)
../../../../kern/tty.c:747: (Each undeclared identifier is reported only once
../../../../kern/tty.c:747: for each function it appears in.)
../../../../kern/tty.c:748: `TIOCLBIS' undeclared (first use in this function)
../../../../kern/tty.c:749: `TIOCLSET' undeclared (first use in this function)
../../../../kern/tty.c:750: `TIOCSETC' undeclared (first use in this function)
../../../../kern/tty.c:751: `OTIOCSETD' undeclared (first use in this function)
../../../../kern/tty.c:752: `TIOCSETN' undeclared (first use in this function)
../../../../kern/tty.c:753: `TIOCSETP' undeclared (first use in this function)
../../../../kern/tty.c:754: `TIOCSLTC' undeclared (first use in this function)


I checked out syssrc using "cvs up -Pdf -r sommerfeld_i386mp_1", I
added the "f", because otherwise many files have been deleted. Was
this correct? 

regards,
chris

(please remember to cc any responses to me personally)