ファイルエラー***インテルイーサネットドライバーを作成するときに区切り文字がありません。

ファイルエラー***インテルイーサネットドライバーを作成するときに区切り文字がありません。

こんにちは、読んでくれてありがとう。

最近Ubuntu MATE 16.0.4をインストールし、Intel I219-Vイーサネットドライバをインストールしようとしました。https://downloadcenter.intel.com/product/82186/Intel-Ethernet-Connection-I219-V

内部のMakefileを使用して作成できないまでReadmeをフォローしていましたが、Makefile:3:*** Missing delimiterというエラーが発生しました。止まる

スペースをタブなどに変更してみましたが、Linuxに関する短い知識では何が間違っているのか分からないようです。誰が私を助けることができますか?以下は現在の行3のmakeファイルです。

#$FreeBSD$

.include <bsd.own.mk>

.PATH:  ${.CURDIR}

KMOD    = if_em
SRCS    = device_if.h bus_if.h pci_if.h
SRCS    += $(CORE_SRC) $(COMMON_SHARED) $(LEGACY_SHARED) $(PCIE_SHARED)
CORE_SRC = if_em.c if_lem.c e1000_osdep.c em_compat.c
# Shared
COMMON_SHARED = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c
PCIE_SHARED = e1000_80003es2lan.c e1000_ich8lan.c e1000_82571.c
LEGACY_SHARED = e1000_82540.c e1000_82542.c e1000_82541.c e1000_82543.c

# These flags are only used when in a standalone tarball build
CFLAGS  += -DINET -DINET6 -DEM_STANDALONE_BUILD

# Uncomment this to disable Fast interrupt handling.
#CFLAGS  += -DEM_LEGACY_IRQ

# DEVICE_POLLING for a non-interrupt-driven method
#CFLAGS  += -DDEVICE_POLLING

# Uncomment this to enable the stack multiqueue routines
# with this driver you do not get multiple tx queues,
# but it does provide input queuing. Testing has shown
# some stability issues so its off by default.
# NOTE: it has been found that UDP intensive traffic
#       actually does better with the old stack interface
#       and so it seems better to have this off by default.
#       however it works fine, and some workloads may benefit
#       having it on.
#CFLAGS  += -DEM_MULTIQUEUE

clean:
    rm -f opt_bdg.h device_if.h bus_if.h pci_if.h setdef*
    rm -f *.o *.kld *.ko
    rm -f @ machine export_syms x86
    rm -f ${CLEANFILES}

.include <bsd.kmod.mk>

ベストアンサー1

インテルのWebサイトの「オペレーティングシステム」列に表示されているものに関係なく、ダウンロードするドライバーはFreeBSDドライバーです(Webサイトの名前には、「FreeBSD用インテル®ネットワークアダプターギガビット基本ドライバー」と表示されます)。 Linuxでは動作しません。

Linuxでは何もインストールする必要はありません。e1000eカーネルのドライバは、少なくともバージョン4.1からi219チップセットをサポートしています。

おすすめ記事