Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 1998 11:38:08 -0700 (PDT)
From:      "Michael V. Harding" <mvh@netcom.com>
To:        billy@idiom.com
Cc:        Fedor.Gubarev@itep.ru, freebsd-stable@FreeBSD.ORG
Subject:   Re: Failed to build kernel...
Message-ID:  <199808291838.LAA11273@netcom1.netcom.com>
In-Reply-To: <Pine.BSF.3.96.980829111647.21658A-100000@idiom.com> (message from Billy Thompson on Sat, 29 Aug 1998 11:18:47 -0700 (PDT))
References:   <Pine.BSF.3.96.980829111647.21658A-100000@idiom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

This has apparently just been fixed.

 Edit src/sys/kern/vfs_bio.c
  Add delta 1.104.2.11 98.08.29.17.39.39 luoqi
  Add delta 1.104.2.12 98.08.29.17.50.13 luoqi

The first patch breaks, the second fixes it.

  Date: Sat, 29 Aug 1998 11:18:47 -0700 (PDT)
   From: Billy Thompson <billy@idiom.com>
   cc: freebsd-stable@FreeBSD.ORG
   Content-Type: TEXT/PLAIN; charset=US-ASCII
   Sender: owner-freebsd-stable@FreeBSD.ORG
   X-Loop: FreeBSD.ORG
   X-UIDL: 6a099c726dbe53e07ecf1ee0c3c69426


   Either I missed the same thing you did, or there is a bug because I got
   the exact same error.

   On Sat, 29 Aug 1998, Fedor Gubarev wrote:

   > Hi,
   > I wonder if this is a bug or I'm missing something...
   > Today the "installworld" worked fine for me until
   > the kernel building:

   cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
   -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
   -nostdinc -I- -I. -I../.. -I../../../include -DCOMPAT_43 -DMSDOSFS -DMFS
   -DNFS -DFFS -DINET -DMD5 -DKERNEL  ../../kern/vfs_bio.c
   ../../kern/vfs_bio.c: In function `getblk':
   ../../kern/vfs_bio.c:1177: `LK_EXCLUSIVE' undeclared (first use this
   function)
   ../../kern/vfs_bio.c:1177: (Each undeclared identifier is reported only
   once
   ../../kern/vfs_bio.c:1177: for each function it appears in.)
   *** Error code 1

   > gcc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
   > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
   > -nostdinc -I- -I. -I../.. -I../../../include -DMSDOSFS -DNFS -DFFS -DINET
   > -DMD5 -DCOMPAT_43 -DKERNEL  ../../kern/vfs_bio.c
   > ../../kern/vfs_bio.c: In function `getblk':
   > ../../kern/vfs_bio.c:1177: `LK_EXCLUSIVE' undeclared (first use this
   > function)
   > ../../kern/vfs_bio.c:1177: (Each undeclared identifier is reported only
   > once
   > ../../kern/vfs_bio.c:1177: for each function it appears in.)
   > *** Error code 1
   > 
   > Stop.
   > -------------------------------------
   > 
   > At the moment it seems that there a list of other undeclared
   > macroses in the kernel src: LK_EXCLUSIVE, LK_RETRY, LK_INTERLOCK .....
   > 
   > The source tree was cvsup'ed today from cvsup.freebsd.org. 
   > 
   > Any suggestions ?
   > 
   >                        F.Gubarev.
   > 
   > 
   > To Unsubscribe: send mail to majordomo@FreeBSD.org
   > with "unsubscribe freebsd-stable" in the body of the message
   > 


   To Unsubscribe: send mail to majordomo@FreeBSD.org
   with "unsubscribe freebsd-stable" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808291838.LAA11273>