Date: Sun, 8 Jul 2001 10:59:48 -0700 (PDT) From: Alex Lee <alee@2win.com> To: Sergey Solyanik <solik@sumy.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: upgrade from 3.5 stable to 4.0 stable Message-ID: <Pine.BSF.4.21.0107081042390.6672-100000@ns1.2win.com> In-Reply-To: <20010705082229.A40101@solikus.sumy.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Sergey, Thanks a lot for your help. Installing gcc295 port helped me get through the buildworld. I was able to follow the UPDATING procedure to get one server upgraded to 4.3 successfully. But on the other server which is almost identical, I got another errors while trying to build kernel with "make buildkernel KERNCONF=xxxxxx" ... <something scrolling up of screen> /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: `nostop' undeclared here (not in a function) /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: initializer element is not constant /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: (near initialization for `bktr_cdevsw.d_poll') /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: `nullreset' undeclared here (not in a function) /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: initializer element is not constant /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: (near initialization for `bktr_cdevsw.d_mmap') /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: `nodevtotty' undeclared here (not in a function) /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: initializer element is not constant /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:849: (near initialization for `bktr_cdevsw.d_strategy') /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:850: warning: initial ization from incompatible pointer type /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:850: warning: initial ization makes integer from pointer without a cast /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:850: warning: initial ization from incompatible pointer type /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c: In function `bktr_drvinit': /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:863: warning: passing arg 1 of `cdevsw_add' from incompatible pointer type /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:863: too many arguments to function `cdevsw_add' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c: At top level: /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:875: redefinition of `bktr_probe' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:822: `bktr_probe' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:901: redefinition of `bktr_attach' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:823: `bktr_attach' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c: In function `bktr_attach': /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:931: structure has no member named `tag' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:938: structure has no member named `phys_base' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c: At top level: /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:1029: redefinition of `get_bktr_mem' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:526: `get_bktr_mem' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:1065: redefinition of `bktr_open' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:560: `bktr_open' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:1128: redefinition of `bktr_close' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:640: `bktr_close' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:1155: redefinition of `bktr_read' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:679: `bktr_read' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:1180: redefinition of `bktr_write' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:707: `bktr_write' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:1189: redefinition of `bktr_ioctl' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:717: `bktr_ioctl' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:1219: redefinition of `bktr_mmap' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:749: `bktr_mmap' previously defined here /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:1243: redefinition of `bktr_poll' /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:778: `bktr_poll' previously defined here {standard input}: Assembler messages: {standard input}:1340: Fatal error: Symbol bktr_intr already defined. *** Error code 1 Stop. This is strange. Any idea what's going wrong? Alex On Thu, 5 Jul 2001, Sergey Solyanik wrote: > On Wed, Jul 04, 2001 at 03:36:52PM -0700, Alex Lee wrote: > > > I finally decided to upgrade the server from 3.5 stable to 4.0. I tried to > > following the procedure in UPDATING. But when I do "make buildworld > > -DNOPERL", I got the following messages: > [...] > > Any help is great appreciated. > > You need to install gcc295 port, and execute make like this > CC=gcc295 CXX=gcc295 CPP=g++295 make buildworld -DNOPERL > and may be you need to modify PATH in Makefile, > to include /usr/local/{bin,sbin} > > At least this works for me, when I do 3.4-R -> 4.3-S... > YMMV. > > -- > Could anyone translate "I'll see you on the dark side of the moon" > to Manx and send it back to me? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0107081042390.6672-100000>