exanic-software icon indicating copy to clipboard operation
exanic-software copied to clipboard

ROCKY/RHEL 9.5 - build issue

Open AlexeySaff opened this issue 1 year ago • 4 comments

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 2, 0) static int exanic_phc_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) #else static int exanic_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta)

but in 9.5 adjfreq has been removed and the kernel is still 5.14

also

AlexeySaff avatar Nov 25 '24 03:11 AlexeySaff

We are facing following error during make.

[root@localhost exanic-software-master]# make
make -C modules/exanic
make[1]: Entering directory '/root/exanic-software-master/modules/exanic'
make -C /lib/modules/`uname -r`/build M=$PWD modules
make[2]: Entering directory '/usr/src/kernels/5.14.0-503.14.1.el9_5.x86_64'
  CC [M]  /root/exanic-software-master/modules/exanic/exanic-main.o
/root/exanic-software-master/modules/exanic/exanic-main.c: In function ‘exanic_probe’:
/root/exanic-software-master/modules/exanic/exanic-main.c:1062:5: error: implicit declaration of function ‘pci_enable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
 1062 |     pci_enable_pcie_error_reporting(pdev);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/exanic-software-master/modules/exanic/exanic-main.c:1887:5: error: implicit declaration of function ‘pci_disable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
 1887 |     pci_disable_pcie_error_reporting(pdev);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:249: /root/exanic-software-master/modules/exanic/exanic-main.o] Error 1
make[2]: *** [Makefile:1944: /root/exanic-software-master/modules/exanic] Error 2
make[2]: Leaving directory '/usr/src/kernels/5.14.0-503.14.1.el9_5.x86_64'
make[1]: *** [Makefile:20: default] Error 2
make[1]: Leaving directory '/root/exanic-software-master/modules/exanic'
make: *** [Makefile:9: modules] Error 2

cyriljose22 avatar Nov 28 '24 07:11 cyriljose22

that one has been fixed with patch for el94, please check https://github.com/cisco/exanic-software/files/15427480/exanic-software_el9_4.patch.gz

but 9.5 gives another set of errors

and shame on CISCO, zero support from their side.

AlexeySaff avatar Dec 03 '24 04:12 AlexeySaff

The source that builds on 9.4 fails on 9.5, see the attachment. make.log.gz

AdiPircalabu avatar Dec 06 '24 00:12 AdiPircalabu

This is the issue https://lore.kernel.org/netdev/[email protected]/T/

flare04 avatar Dec 09 '24 06:12 flare04