[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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 1 09:07:14 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209920

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

After the cxgbe failed-inline error is cleared by removing the "inline" cxgbe
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=redundant-decls]
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list