>> /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:

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to