[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:33948] AQtionの10GbEのdriver
-
From:Takehiko Ogata
-
Date:Tue, 10 May 2022 11:27:06 +0900 (JST)
- Subject: [plamo:33948] AQtionの10GbEのdriver
- From: Takehiko Ogata <e7103b1ae@xxxxxxxxxxxxxxxx>
- Date: Tue, 10 May 2022 11:27:05 +0900
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101Thunderbird/45.8.0
尾形です。
AQtionのAQC107 10GbEのdriverでIO-DATA ET10G-PCIEBのNICを
利用するため以下からdownloadしてmakeしています。
https://github.com/Aquantia/AQtion
(元記事: https://qiita.com/Ikwus/items/0aa87e196738746dd485)
Plamo-7.3ではmakeに成功しましたが、Plamo-7.4では以下のエラーで失敗
しています。これは簡単に修正できるようなものでしょうか。
==> Plamo-7.4によるエラー <==
make -C /lib/modules/5.15.35-plamo64/build
M="/home/ogata1/src_plamo7/driver/AQtion-master" modules
make[1]: ディレクトリ '/usr/src/linux-5.15.35' に入ります
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 11.2.0
You are using: gcc (GCC) 11.3.0
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_main.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_nic.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_pci_func.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_vec.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_ring.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_ptp.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_filters.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_hw_utils.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_ethtool.o
/home/ogata1/src_plamo7/driver/AQtion-master/aq_ethtool.c:1473:32: エラー: \
initialization of ‘int (*)(struct net_device *, struct
ethtool_coalesce *, struct kernel_ethtool_coalesce *, \
struct netlink_ext_ack *)’ from incompatible pointer type ‘int
(*)(struct net_device *, struct ethtool_coalesce *)’ \
[-Werror=incompatible-pointer-types]
1473 | .get_coalesce = aq_ethtool_get_coalesce,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/ogata1/src_plamo7/driver/AQtion-master/aq_ethtool.c:1473:32: 備考:
(‘aq_ethtool_ops.get_coalesce’ 用の初期化付近)
/home/ogata1/src_plamo7/driver/AQtion-master/aq_ethtool.c:1474:32: エラー: \
initialization of ‘int (*)(struct net_device *, struct
ethtool_coalesce *, struct kernel_ethtool_coalesce *, \
struct netlink_ext_ack *)’ from incompatible pointer type ‘int
(*)(struct net_device *, struct ethtool_coalesce *)’ \
[-Werror=incompatible-pointer-types]
1474 | .set_coalesce = aq_ethtool_set_coalesce,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/ogata1/src_plamo7/driver/AQtion-master/aq_ethtool.c:1474:32: 備考:
(‘aq_ethtool_ops.set_coalesce’ 用の初期化付近)
cc1: いくつかの警告はエラーとして取り扱われます
make[2]: *** [scripts/Makefile.build:277:
/home/ogata1/src_plamo7/driver/AQtion-master/aq_ethtool.o] エラー 1
make[1]: *** [Makefile:1868:
/home/ogata1/src_plamo7/driver/AQtion-master] エラー 2
make[1]: ディレクトリ '/usr/src/linux-5.15.35' から出ます
make: *** [Makefile:37: all] エラー 2
==> Plamo-7.3成功 <==
make -C /lib/modules/5.10.31-plamo64/build
M="/home/ogata1/src_plamo7/driver/AQtion-master" modules
make[1]: ディレクトリ '/usr/src/linux-5.10.31' に入ります
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_main.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_nic.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_pci_func.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_vec.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_ring.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_ptp.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_filters.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_hw_utils.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_ethtool.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_drvinfo.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_trace.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_phy.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_compat.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_tsn.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_sysfs.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/hw_atl/hw_atl_a0.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/hw_atl/hw_atl_b0.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/hw_atl/hw_atl_utils.o
CC [M]
/home/ogata1/src_plamo7/driver/AQtion-master/hw_atl/hw_atl_utils_fw2x.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/hw_atl/hw_atl_llh.o
CC [M]
/home/ogata1/src_plamo7/driver/AQtion-master/hw_atl/hw_atl_fw_hostboot.o
CC [M]
/home/ogata1/src_plamo7/driver/AQtion-master/hw_atl/hw_atl_fw_image.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/hw_atl2/hw_atl2_llh.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/hw_atl2/hw_atl2.o
CC [M]
/home/ogata1/src_plamo7/driver/AQtion-master/hw_atl2/hw_atl2_utils.o
CC [M]
/home/ogata1/src_plamo7/driver/AQtion-master/hw_atl2/hw_atl2_utils_fw.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/macsec/macsec_api.o
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/aq_macsec.o
LD [M] /home/ogata1/src_plamo7/driver/AQtion-master/atlantic.o
MODPOST /home/ogata1/src_plamo7/driver/AQtion-master/Module.symvers
CC [M] /home/ogata1/src_plamo7/driver/AQtion-master/atlantic.mod.o
LD [M] /home/ogata1/src_plamo7/driver/AQtion-master/atlantic.ko
make[1]: ディレクトリ '/usr/src/linux-5.10.31' から出ます
- Follow-Ups
-
- [plamo:33950] Re: [plamo:33948] AQtionの10GbEのdriver, KATOH Yasufumi
- [plamo:33951] Re: AQtionの10GbEのdriver, KOJIMA Mitsuhiro
[検索ページ]
[メール一覧]
Plamo ML 公開システム