Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROCKY/RHEL 9.5 - build issue #97

Open
AlexeySaff opened this issue Nov 25, 2024 · 4 comments
Open

ROCKY/RHEL 9.5 - build issue #97

AlexeySaff opened this issue Nov 25, 2024 · 4 comments

Comments

@AlexeySaff
Copy link

#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

@cyriljose22
Copy link

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

@AlexeySaff
Copy link
Author

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.

@AdiPircalabu
Copy link

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

@flare04
Copy link

flare04 commented Dec 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants