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 <reddvinyl...@gmail.com> wrote:

> Heya!
> 
> Anybody know what's wrong with this?
> 
> ## make buildworld buildkernel KERNCONF=NINJA
> 
> cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -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=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -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' to
> 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
> 
> Stop in /usr/obj/usr/src/sys/NINJA.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> ## /usr/obj/usr/src/sys/NINJA
> 
> cpu I586_CPU
> 
> ident NINJA
> 
> options SCHED_ULE
> 
> options PREEMPTION
> 
> options FFS
> 
> options SOFTUPDATES
> 
> options UFS_ACL
> 
> options UFS_DIRHASH
> 
> options UFS_GJOURNAL
> 
> options MD_ROOT
> 
> options MSDOSFS
> 
> options CD9660
> 
> options PROCFS
> 
> options PSEUDOFS
> 
> options COMPAT_43
> 
> options COMPAT_FREEBSD4
> 
> options COMPAT_FREEBSD5
> 
> options COMPAT_FREEBSD6
> 
> options KTRACE
> 
> options SYSVSHM
> 
> options SYSVMSG
> 
> options SYSVSEM
> 
> options KBD_INSTALL_CDEV
> 
> options _KPOSIX_PRIORITY_SCHEDULING
> 
> device pci
> 
> device sio
> 
> device ata
> 
> device atadisk
> 
> device atapicd
> 
> options ATA_STATIC_ID
> 
> device fdc
> 
> device atkbdc
> 
> device atkbd
> 
> device psm
> 
> device vga
> 
> device splash
> 
> device sc
> 
> device sound
> 
> device ether
> 
> device miibus
> 
> device rl
> 
> device ep
> 
> device loop
> 
> device random
> 
> device tun
> 
> device pty
> 
> device md
> 
> options AUDIT
> 
> options INET
> 
> options INET6
> 
> device gif
> 
> device faith
> 
> device bpf
> 
> device pf
> 
> device pflog
> 
> device pfsync
> 
> options ALTQ
> 
> options ALTQ_CBQ
> 
> options ALTQ_RED
> 
> options ALTQ_RIO
> 
> options ALTQ_HFSC
> 
> options ALTQ_PRIQ
> 
> ## uname -v
> 
> FreeBSD 7.0-STABLE #0: Thu Jul 24 18:57:08 CEST 2008
> 
> ## /etc/cvsupfile
> 
> *default host=cvsup.no.FreeBSD.org
> 
> *default base=/var/db
> 
> *default prefix=/usr
> 
> *default release=cvs tag=RELENG_8
> 
> *default delete use-rel-suffix
> 
> src-all
> 
> doc-all tag=.
> 
> Many thanks!
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to