Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jun 2016 09:07:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 209920] 11.0 -r300944 buildkernel via amd64-gcc fails for: .../dev/cxgb/ulp/tom/cxgb_listen.c:926:13: error: redundant redeclaration of 'tcp_dooptions'; a different cxbge issue too
Message-ID:  <bug-209920-8-6YQonwG5qh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209920-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209920-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209920

--- Comment #4 from Mark Millard <markmi@dsl-only.net> ---
(In reply to Mark Millard from comment #3)

After the cxgbe failed-inline error is cleared by removing the "inline" cxg=
be
then gets another error:

--- t4_listen.o ---
/usr/src/sys/modules/cxgbe/tom/../../../dev/cxgbe/tom/t4_listen.c:669:13:
error: redundant redeclaration of 'tcp_dooptions' [-Werror=3Dredundant-decl=
s]
extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);
            ^
In file included from
/usr/src/sys/modules/cxgbe/tom/../../../dev/cxgbe/tom/t4_listen.c:61:0:
/usr/src/sys/netinet/tcp_var.h:769:7: note: previous declaration of
'tcp_dooptions' was here
void  tcp_dooptions(struct tcpopt *, u_char *, int, int);
      ^

. . .
--- t4_listen.o ---
cc1: all warnings being treated as errors
*** [t4_listen.o] Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209920-8-6YQonwG5qh>