Re: Kernel Build Failure in kern/subr_disk.c

2001-05-29 Thread Christoph Sold



clemensF schrieb:
 
  Kris Kennaway:
 
  Please read the handbook for the relevant information on how to
  download, compile and upgrade FreeBSD.
 
 i did.  it does not answer the question.

Well, then read again. Possible causes are
- you downloaded the wrong sources (there are lots of kernel versions on
FreeBSD)
- your kernel sources were not in sync with your system (i.e. it is not
possible to build 4.3-Release with a 2.x world)

You may glimpse at
http://www.freebsd.org/doc/en_US.ISO_8859-1/books/handbook/cutting-edge.html
to learn how to get the relevant sources, and at
http://www.de.freebsd.org/handbook/kernelconfig.html
to learn how to conifgure and compile a kernel.

If this still does not get you up to speed, please include some basic
information (output of uname -a, what did you download, which commands
did you use, what ws the exact error message).

HTH
-CHristoph Sold

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: Build failure (long), was Re: Kernel Build Failure in kern/subr_disk.c

2001-05-29 Thread clemensF

 Christoph Sold:

 to learn how to conifgure and compile a kernel.

i've done lots of kernels, to play around, get features i wanted and throw
out those i didn't need.  but i may have patched the sources of the kernel
to death by following every security advisory (eg. the tcp-sequence patch,
the poll(2) bug...).  but i could always build and run kernels, up until i
wanted to upgrade from 4.0 release to (finally) 4.3 stable.  note that i
didn't change anything in /usr/include or /sys/src myself.

 If this still does not get you up to speed, please include some basic
 information (output of uname -a, what did you download, which commands
 did you use, what ws the exact error message).

FreeBSD spotteswoode.yi.org 4.0-RELEASE FreeBSD 4.0-RELEASE #11: Tue May 22 19:29:45 
CEST 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/DSLMFS  i386

i went to ftp://releng4.freebsd.org/pub/FreeBSD/snapshots/i386/; and took
the snapshot of may 24, 2001 (src/).  then i used install.sh contained
therein to install right on top of the sources in there after i made sure
that the --unlink flag was given to it's tar() command.

the command used was make buildworld.

now to the error messages.  hmm...  there were so many.  this is an excerpt
from the protocols i make on a regular bases so i know from where to start:

8--
.
.
.

cc  -pipe -pipe -pipe  -I. -I/usr/src/usr.sbin/config -Wall -Wunused
-Wmissing-prototypes -Wredundant-decls
-I/usr/obj/usr/src/i386/usr/include -c lang.c
/usr/src/usr.sbin/config/lang.l:53: `AT' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:53: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:53: (near initialization for
`key_words[0].kt_val')
/usr/src/usr.sbin/config/lang.l:54: `BUS' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:54: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:54: (near initialization for
`key_words[1].kt_val')
/usr/src/usr.sbin/config/lang.l:55: `CONFLICTS' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:55: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:55: (near initialization for
`key_words[2].kt_val')
/usr/src/usr.sbin/config/lang.l:57: `CONTROLLER' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:57: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:57: (near initialization for
`key_words[4].kt_val')
/usr/src/usr.sbin/config/lang.l:60: `DISABLE' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:60: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:60: (near initialization for
`key_words[7].kt_val')
/usr/src/usr.sbin/config/lang.l:61: `DISK' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:61: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:61: (near initialization for
`key_words[8].kt_val')
/usr/src/usr.sbin/config/lang.l:62: `DRIVE' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:62: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:62: (near initialization for
`key_words[9].kt_val')
/usr/src/usr.sbin/config/lang.l:63: `DRQ' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:63: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:63: (near initialization for
`key_words[10].kt_val')
/usr/src/usr.sbin/config/lang.l:64: `FLAGS' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:64: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:64: (near initialization for
`key_words[11].kt_val')
/usr/src/usr.sbin/config/lang.l:66: `IOMEM' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:66: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:66: (near initialization for
`key_words[13].kt_val')
/usr/src/usr.sbin/config/lang.l:67: `IOSIZ' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:67: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:67: (near initialization for
`key_words[14].kt_val')
/usr/src/usr.sbin/config/lang.l:68: `IRQ' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:68: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:68: (near initialization for
`key_words[15].kt_val')
/usr/src/usr.sbin/config/lang.l:72: `NEXUS' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:72: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:72: (near initialization for
`key_words[19].kt_val')
/usr/src/usr.sbin/config/lang.l:75: `PORT' undeclared here (not in a
function)
/usr/src/usr.sbin/config/lang.l:75: initializer element is not constant
/usr/src/usr.sbin/config/lang.l:75: (near initialization for
`key_words[22].kt_val')
/usr/src/usr.sbin/config/lang.l:76: `PSEUDO_DEVICE' undeclared here (not in
a function)
/usr/src/usr.sbin/config/lang.l:76: