From owner-freebsd-questions@FreeBSD.ORG Fri Feb 25 13:58:16 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37BF9106564A for ; Fri, 25 Feb 2011 13:58:16 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id C2D5F8FC0C for ; Fri, 25 Feb 2011 13:58:14 +0000 (UTC) Received: by fxm19 with SMTP id 19so1859889fxm.13 for ; Fri, 25 Feb 2011 05:58:13 -0800 (PST) Received: by 10.223.103.5 with SMTP id i5mr2795752fao.38.1298640812941; Fri, 25 Feb 2011 05:33:32 -0800 (PST) Received: from [10.114.122.47] ([92.90.20.41]) by mx.google.com with ESMTPS id r24sm285585fax.3.2011.02.25.05.33.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Feb 2011 05:33:31 -0800 (PST) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8A293) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (8A293) From: Damien Fleuriot Date: Fri, 25 Feb 2011 14:33:08 +0100 To: Redd Vinylene Cc: questions Subject: Re: Kernel compiling problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 13:58:16 -0000 Do not use a custom kern for your upgrade, build generic with pf and altq. I'm not sure your CPU type is correct ? I could be wrong, haven't used 32bits for a while. Make clean, then build the world, then your kern. Once you have generic working, make your custom kern --- Fleuriot Damien On 25 Feb 2011, at 12:21, Redd Vinylene wrote: > Heya! >=20 > Anybody know what's wrong with this? >=20 > ## make buildworld buildkernel KERNCONF=3DNINJA >=20 > cc -c -O2 -pipe -fno-strict-aliasing -std=3Dc99 -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith= > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=3D8000 --param inline-unit-growth=3D100 --param > large-function-growth=3D1000 -mno-align-long-strings > -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -Werror > /usr/src/sys/kern/sysv_msg.c > /usr/src/sys/kern/sysv_msg.c:163: error: invalid application of 'sizeof' t= o > incomplete type 'struct freebsd7_msgctl_args' > /usr/src/sys/kern/sysv_msg.c:163: error: 'freebsd7_msgctl' undeclared here= > (not in a function) > /usr/src/sys/kern/sysv_msg.c:1463: error: initializer element is not > constant > /usr/src/sys/kern/sysv_msg.c:1463: error: (near initialization for > 'msgcalls[0]') > cc1: warnings being treated as errors > /usr/src/sys/kern/sysv_msg.c:1507: warning: function declaration isn't a > prototype > /usr/src/sys/kern/sysv_msg.c: In function 'freebsd7_msgctl': > /usr/src/sys/kern/sysv_msg.c:1516: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1516: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1516: warning: comparison between pointer and= > integer > /usr/src/sys/kern/sysv_msg.c:1517: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1517: error: request for member 'buf' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1532: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1532: error: request for member 'msqid' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1532: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1532: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1532: warning: passing argument 2 of > 'kern_msgctl' makes integer from pointer without a cast > /usr/src/sys/kern/sysv_msg.c:1532: warning: passing argument 3 of > 'kern_msgctl' makes integer from pointer without a cast > /usr/src/sys/kern/sysv_msg.c:1535: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1535: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1535: warning: comparison between pointer and= > integer > /usr/src/sys/kern/sysv_msg.c:1548: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1548: error: request for member 'buf' in > something not a structure or union > *** Error code 1 >=20 > Stop in /usr/obj/usr/src/sys/NINJA. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. >=20 > ## /usr/obj/usr/src/sys/NINJA >=20 > cpu I586_CPU >=20 > ident NINJA >=20 > options SCHED_ULE >=20 > options PREEMPTION >=20 > options FFS >=20 > options SOFTUPDATES >=20 > options UFS_ACL >=20 > options UFS_DIRHASH >=20 > options UFS_GJOURNAL >=20 > options MD_ROOT >=20 > options MSDOSFS >=20 > options CD9660 >=20 > options PROCFS >=20 > options PSEUDOFS >=20 > options COMPAT_43 >=20 > options COMPAT_FREEBSD4 >=20 > options COMPAT_FREEBSD5 >=20 > options COMPAT_FREEBSD6 >=20 > options KTRACE >=20 > options SYSVSHM >=20 > options SYSVMSG >=20 > options SYSVSEM >=20 > options KBD_INSTALL_CDEV >=20 > options _KPOSIX_PRIORITY_SCHEDULING >=20 > device pci >=20 > device sio >=20 > device ata >=20 > device atadisk >=20 > device atapicd >=20 > options ATA_STATIC_ID >=20 > device fdc >=20 > device atkbdc >=20 > device atkbd >=20 > device psm >=20 > device vga >=20 > device splash >=20 > device sc >=20 > device sound >=20 > device ether >=20 > device miibus >=20 > device rl >=20 > device ep >=20 > device loop >=20 > device random >=20 > device tun >=20 > device pty >=20 > device md >=20 > options AUDIT >=20 > options INET >=20 > options INET6 >=20 > device gif >=20 > device faith >=20 > device bpf >=20 > device pf >=20 > device pflog >=20 > device pfsync >=20 > options ALTQ >=20 > options ALTQ_CBQ >=20 > options ALTQ_RED >=20 > options ALTQ_RIO >=20 > options ALTQ_HFSC >=20 > options ALTQ_PRIQ >=20 > ## uname -v >=20 > FreeBSD 7.0-STABLE #0: Thu Jul 24 18:57:08 CEST 2008 >=20 > ## /etc/cvsupfile >=20 > *default host=3Dcvsup.no.FreeBSD.org >=20 > *default base=3D/var/db >=20 > *default prefix=3D/usr >=20 > *default release=3Dcvs tag=3DRELENG_8 >=20 > *default delete use-rel-suffix >=20 > src-all >=20 > doc-all tag=3D. >=20 > Many thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g"