FreeBSD-head ixgbe build failed

Stefano Garzarella stefanogarzarella at gmail.com
Mon Jun 22 19:07:54 UTC 2015


Hi all,
I tried to compile FreeBSD-head with only "device ix" (without "device
ixv") but the build failed.

I fixed this behavior using this patch:
diff --git a/sys/conf/files b/sys/conf/files
index 65606b0..279b161 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1774,25 +1774,25 @@ dev/ixgbe/if_ix.c               optional ix inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe -DSMP"
 dev/ixgbe/if_ixv.c             optional ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe -DSMP"
-dev/ixgbe/ix_txrx.c            optional ix ixv inet \
+dev/ixgbe/ix_txrx.c            optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe -DSMP"
-dev/ixgbe/ixgbe_phy.c          optional ix ixv inet \
+dev/ixgbe/ixgbe_phy.c          optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
-dev/ixgbe/ixgbe_api.c          optional ix ixv inet \
+dev/ixgbe/ixgbe_api.c          optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
-dev/ixgbe/ixgbe_common.c       optional ix ixv inet \
+dev/ixgbe/ixgbe_common.c       optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
-dev/ixgbe/ixgbe_mbx.c          optional ix ixv inet \
+dev/ixgbe/ixgbe_mbx.c          optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
-dev/ixgbe/ixgbe_vf.c           optional ix ixv inet \
+dev/ixgbe/ixgbe_vf.c           optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
-dev/ixgbe/ixgbe_82598.c                optional ix ixv inet \
+dev/ixgbe/ixgbe_82598.c                optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
-dev/ixgbe/ixgbe_82599.c                optional ix ixv inet \
+dev/ixgbe/ixgbe_82599.c                optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
-dev/ixgbe/ixgbe_x540.c         optional ix ixv inet \
+dev/ixgbe/ixgbe_x540.c         optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
-dev/ixgbe/ixgbe_x550.c         optional ix ixv inet \
+dev/ixgbe/ixgbe_x550.c         optional ix | ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"
 dev/ixgbe/ixgbe_dcb.c          optional ix ixv inet \
        compile-with "${NORMAL_C} -I$S/dev/ixgbe"

cheers,
Stefano

-- 
*Stefano Garzarella*
Software Engineer

e-mail: stefano.garzarella at gmail.com
github: http://github.com/stefano-garzarella
linkedin: http://it.linkedin.com/pub/stefano-garzarella
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freebsd_fix_ix.patch
Type: application/octet-stream
Size: 1827 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150622/a300a99e/attachment.obj>


More information about the freebsd-current mailing list