From owner-freebsd-current@FreeBSD.ORG Mon Oct 28 21:33:24 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BCC58395 for ; Mon, 28 Oct 2013 21:33:24 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 89B272092 for ; Mon, 28 Oct 2013 21:33:24 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id wo20so4272934obc.39 for ; Mon, 28 Oct 2013 14:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Ak0NsGLyS4qG2qrEAVo5/GqWH42n6gOO77bWosr1c48=; b=PMaBPmLsU5ihzWFzwuxkSJpt0ztkqz4BQN4Hz3JwfKebU/JOSj0a51osQv1IcKmist LTJvPPNAmORGbLxKqU+tAFNs+dSQFJdzTF25SM2V0ryJYkGxYrI3/AOU7pXiIeZqyfxH ol3DoUn8smDTrK9BnMq0Cw+RZvrv5iCftT/vq2EC4i5ZFEgH3zpDp6ua8Z+j5nUSris3 ZjiD4SeIrOXfhZ0rDEop5Rou7Vl4Mao6wMp75lwBGH0/WeoY2PCDJFmJhX74oyz1sq+M 0T7CkmqJdBm5/G0YQkbG/1/1XQXfGFaHCLSH5csUWgUtlvi+svqsOaGdwskE7zs4L0Lf clXA== MIME-Version: 1.0 X-Received: by 10.182.129.42 with SMTP id nt10mr16318371obb.19.1382996003691; Mon, 28 Oct 2013 14:33:23 -0700 (PDT) Received: by 10.76.19.115 with HTTP; Mon, 28 Oct 2013 14:33:23 -0700 (PDT) Date: Mon, 28 Oct 2013 17:33:23 -0400 Message-ID: Subject: CUURENT kernel build broken - /usr/src/sys/dev/xen/netback/netback.c From: Outback Dingo To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 21:33:24 -0000 cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/xen/control/control.c ctfconvert -L VERSION -g control.o cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/xen/netback/netback.c /usr/src/sys/dev/xen/netback/netback.c:588:7: error: incomplete definition of type 'struct mbuf' if (m->m_flags & M_PKTHDR) { ~^ /usr/src/sys/net/ethernet.h:367:8: note: forward declaration of 'struct mbuf' struct mbuf; ^ /usr/src/sys/dev/xen/netback/netback.c:588:19: error: use of undeclared identifier 'M_PKTHDR' if (m->m_flags & M_PKTHDR) { ^ /usr/src/sys/dev/xen/netback/netback.c:591:11: error: incomplete definition of type 'struct mbuf' m->m_pkthdr.flowid, (int)m->m_pkthdr.csum_flags, ~^ /usr/src/sys/net/ethernet.h:367:8: note: forward declaration of 'struct mbuf' struct mbuf; ^ /usr/src/sys/dev/xen/netback/netback.c:594:11: error: incomplete definition of type 'struct mbuf' m->m_pkthdr.rcvif, m->m_pkthdr.len); ~^ /usr/src/sys/net/ethernet.h:367:8: note: forward declaration of 'struct mbuf' struct mbuf; ^ /usr/src/sys/dev/xen/netback/netback.c:597:10: error: incomplete definition of type 'struct mbuf' m->m_next, m->m_nextpkt, m->m_data); ~^ /usr/src/sys/net/ethernet.h:367:8: note: forward declaration of 'struct mbuf' struct mbuf; ^ /usr/src/sys/dev/xen/netback/netback.c:599:10: error: incomplete definition of type 'struct mbuf' m->m_len, m->m_flags, m->m_type); ~^ /usr/src/sys/net/ethernet.h:367:8: note: forward declaration of 'struct mbuf' struct mbuf; ^ /usr/src/sys/dev/xen/netback/netback.c:601:9: error: incomplete definition of type 'struct mbuf' len = m->m_len; ~^ /usr/src/sys/net/ethernet.h:367:8: note: forward declaration of 'struct mbuf' struct mbuf; ^ /usr/src/sys/dev/xen/netback/netback.c:602:6: error: implicit declaration of function 'mtod' is invalid in C99 [-Werror,-Wimplicit-function-declaration] d = mtod(m, uint8_t*); ^ /usr/src/sys/dev/xen/netback/netback.c:602:14: error: unexpected type name 'uint8_t': expected expression d = mtod(m, uint8_t*); ^ /usr/src/sys/dev/xen/netback/netback.c:602:22: error: expected expression d = mtod(m, uint8_t*); ^ /usr/src/sys/dev/xen/netback/netback.c:1071:3: error: implicit declaration of function 'if_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if_free(xnb->xnb_ifp); ^ /usr/src/sys/dev/xen/netback/netback.c:1213:24: error: implicit declaration of function 'if_alloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ifp = xnb->xnb_ifp = if_alloc(IFT_ETHER); ^ /usr/src/sys/dev/xen/netback/netback.c:1213:22: error: incompatible integer to pointer conversion assigning to 'struct ifnet *' from 'int' [-Werror,-Wint-conversion] ifp = xnb->xnb_ifp = if_alloc(IFT_ETHER); ^ ~~~~~~~~~~~~~~~~~~~ /usr/src/sys/dev/xen/netback/netback.c:1214:6: error: incomplete definition of type 'struct ifnet' ifp->if_softc = xnb; ~~~^ /usr/src/sys/net/if_arp.h:106:10: note: forward declaration of 'struct ifnet' struct ifnet *ac_ifp; /* network-visible interface */ ^ /usr/src/sys/dev/xen/netback/netback.c:1215:3: error: implicit declaration of function 'if_initname' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if_initname(ifp, "xnb", device_get_unit(dev)); ^ /usr/src/sys/dev/xen/netback/netback.c:1216:6: error: incomplete definition of type 'struct ifnet' ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ~~~^ /usr/src/sys/net/if_arp.h:106:10: note: forward declaration of 'struct ifnet' struct ifnet *ac_ifp; /* network-visible interface */ ^ /usr/src/sys/dev/xen/netback/netback.c:1217:6: error: incomplete definition of type 'struct ifnet' ifp->if_ioctl = xnb_ioctl; ~~~^ /usr/src/sys/net/if_arp.h:106:10: note: forward declaration of 'struct ifnet' struct ifnet *ac_ifp; /* network-visible interface */ ^ /usr/src/sys/dev/xen/netback/netback.c:1218:6: error: incomplete definition of type 'struct ifnet' ifp->if_output = ether_output; ~~~^ /usr/src/sys/net/if_arp.h:106:10: note: forward declaration of 'struct ifnet' struct ifnet *ac_ifp; /* network-visible interface */ ^ /usr/src/sys/dev/xen/netback/netback.c:1219:6: error: incomplete definition of type 'struct ifnet' ifp->if_start = xnb_start; ~~~^ /usr/src/sys/net/if_arp.h:106:10: note: forward declaration of 'struct ifnet' struct ifnet *ac_ifp; /* network-visible interface */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. bmake[2]: stopped in /usr/obj/usr/src/sys/GENERIC *** Error code 1 Stop. bmake[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src