Re: my kernel builds seem to be failing this morning.

From: Andre Guibert de Bruet (andy_at_siliconlandmark.com)
Date: 09/30/04

  • Next message: Tillman Hodgson: "Re: HEADS UP: named now runs chroot'ed by default"
    Date: Thu, 30 Sep 2004 11:36:23 -0400 (EDT)
    To: eculp <eculp@prodigy.net.mx>
    
    
    

    On Thu, 30 Sep 2004, eculp wrote:

    > my kernel builds seem to be failing this morning with the following:
    >
    > KERNEL -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 -ffreestanding -Werror /usr/src/sys/kern/subr_turnstile.c
    > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -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 -ffreestanding -Werror /usr/src/sys/kern/subr_unit.c
    > /usr/src/sys/kern/subr_unit.c:165: warning: "struct unhdr" declared inside parameter list
    > /usr/src/sys/kern/subr_unit.c:165: warning: its scope is only this definition or declaration, which is probably not what you want
    > /usr/src/sys/kern/subr_unit.c: In function `new_unrhdr':
    > /usr/src/sys/kern/subr_unit.c:215: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type
    > /usr/src/sys/kern/subr_unit.c: In function `alloc_unr':
    > /usr/src/sys/kern/subr_unit.c:251: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type
    > /usr/src/sys/kern/subr_unit.c:281: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type
    > /usr/src/sys/kern/subr_unit.c:290: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type
    > /usr/src/sys/kern/subr_unit.c:311: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type

    Let me guess, you don't have DIAGNOSTIC defined in your kernel config
    file? :) I attached the patch that I posted just a few minutes ago.

    Regards,
    Andy

    | Andre Guibert de Bruet | Enterprise Software Consultant >
    | Silicon Landmark, LLC. | http://siliconlandmark.com/ >

    
    
    

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



  • Next message: Tillman Hodgson: "Re: HEADS UP: named now runs chroot'ed by default"

    Relevant Pages

    • Re: 2.6.21-rc7-mm2 -- x86_64 VDSO compile error II
      ... Kernel config here: http://test.kernel.org/abat/85358/build/dotconfig ... Backing out x86_64-mm-vdso.patch allowed this kernel to build and boot ... Or please try this simple patch. ... your call on whether it's a valid fix or not but it might point out the ...
      (Linux-Kernel)
    • RE: atheros driver: countrycode and athdebug
      ... r/w but it appears you can only set via the tunable api (kenv ... The dev.ath mib must be r/o since ... Yes, you told me, I can feel free to supply a patch for IFS slottime ... option ATH_DEBUG is required in your kernel config. ...
      (freebsd-current)
    • if_bridge for 5-STABLE ready for testing
      ... You can find the patch here ... Add 'device if_bridge' to your kernel config ... Do the "buildworld, buildkernel, installkernel, installworld"-dance ...
      (freebsd-stable)
    • Re: 2.6.21-rc7-mm2 -- x86_64 VDSO compile error II
      ... Kernel config here: http://test.kernel.org/abat/85358/build/dotconfig ... successful on the machine in question (elm3b6). ... Or please try this simple patch. ...
      (Linux-Kernel)