Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2015 21:07:32 +0200
From:      Stefano Garzarella <stefanogarzarella@gmail.com>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>,  Luigi Rizzo <rizzo@iet.unipi.it>, jfv@freebsd.org, erj@freebsd.org
Subject:   FreeBSD-head ixgbe build failed
Message-ID:  <CAO0mX5YDajOjfvu8AZMZqSWdqqsTGbN4qp9tciZG3AofSpSaFQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--047d7b62273e936ea005191ffdb6
Content-Type: text/plain; charset=UTF-8

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@gmail.com
github: http://github.com/stefano-garzarella
linkedin: http://it.linkedin.com/pub/stefano-garzarella

--047d7b62273e936ea005191ffdb6
Content-Type: application/octet-stream; name="freebsd_fix_ix.patch"
Content-Disposition: attachment; filename="freebsd_fix_ix.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ib89w96u0

ZGlmZiAtLWdpdCBhL3N5cy9jb25mL2ZpbGVzIGIvc3lzL2NvbmYvZmlsZXMKaW5kZXggNjU2MDZi
MC4uMjc5YjE2MSAxMDA2NDQKLS0tIGEvc3lzL2NvbmYvZmlsZXMKKysrIGIvc3lzL2NvbmYvZmls
ZXMKQEAgLTE3NzQsMjUgKzE3NzQsMjUgQEAgZGV2L2l4Z2JlL2lmX2l4LmMJCW9wdGlvbmFsIGl4
IGluZ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cHRpb25h
bCBpeCBpeHYgaW5ldCBcCiAJY29tcGlsZS13aXRoICIke05PUk1BTF9DfSAtSSRTL2Rldi9peGdi
ZSIK
--047d7b62273e936ea005191ffdb6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO0mX5YDajOjfvu8AZMZqSWdqqsTGbN4qp9tciZG3AofSpSaFQ>