svn commit: r312905 - head/sys/net

Sean Bruno sbruno at freebsd.org
Sat Jan 28 15:32:07 UTC 2017


>> /export/home/cy/freebsd/svn/ip6-cksum/sys/net/iflib.c:2363:1: error: 
>> function definition is not allowed here
>> {
>> ^
>> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 
> My initial email about this was correct. It does fail when building i386 only. (It builds for amd64.)
> 
> 

Hmmm ... ok.  Does Hiren's suggestion fix your build error?

Index: sys/net/iflib.c
===================================================================
--- sys/net/iflib.c     (revision 312909)
+++ sys/net/iflib.c     (working copy)
@@ -1536,8 +1536,8 @@
                                goto fail;
                        }
                }
+#endif
        }
-#endif
        return (0);

 fail:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170128/20c2da10/attachment.sig>


More information about the svn-src-all mailing list