Date: Fri, 25 Feb 2011 14:33:08 +0100 From: Damien Fleuriot <ml@my.gd> To: Redd Vinylene <reddvinylene@gmail.com> Cc: questions <questions@freebsd.org> Subject: Re: Kernel compiling problems Message-ID: <DFF48758-40A2-4266-BE88-25E6255D4E16@my.gd> In-Reply-To: <AANLkTinMWa5y2mFq8bO%2BuN%2B0ucaQU7zCTJQJAB4_yM4F@mail.gmail.com> References: <AANLkTinMWa5y2mFq8bO%2BuN%2B0ucaQU7zCTJQJAB4_yM4F@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <reddvinylene@gmail.com> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFF48758-40A2-4266-BE88-25E6255D4E16>