cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
525 Views
Registered: ‎12-04-2019

Compilation Error : PCIe drivers for Linux

Jump to solution

Hello everyone

 

I am trying to install PCIe drivers in my Linux host machine and there is a compilation error when I run make install. It says implicit declaration of function "mmiowb()". I am using Linux version 5.3.0-28-generic. 

Please let me know if there any fixes for this.

 

Regards

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
472 Views
Registered: ‎12-04-2019

Re: Compilation Error : PCIe drivers for Linux

Jump to solution

Solved it by commenting out the mmiowb() functions in libxdma.c and cdev_xvc.c. 

View solution in original post

4 Replies
Highlighted
Adventurer
Adventurer
473 Views
Registered: ‎12-04-2019

Re: Compilation Error : PCIe drivers for Linux

Jump to solution

Solved it by commenting out the mmiowb() functions in libxdma.c and cdev_xvc.c. 

View solution in original post

Highlighted
214 Views
Registered: ‎08-20-2019

Re: Compilation Error : PCIe drivers for Linux

Jump to solution

Hi,

   I ran into the same problem. Does the driver work correctly after you commented out the function call? That memory barrier is there for a reason. I wonder if there is any ill-effect if you just take it out.

 

thanks,

 

Simon

0 Kudos
Highlighted
Adventurer
Adventurer
204 Views
Registered: ‎12-04-2019

Re: Compilation Error : PCIe drivers for Linux

Jump to solution

Hello

The driver worked fine after the commenting the code.

Tags (1)
0 Kudos
Highlighted
198 Views
Registered: ‎08-20-2019

Re: Compilation Error : PCIe drivers for Linux

Jump to solution
Great! thanks for the info.

Simon