lerwys / FPGA_PCIe_drivers

FPGA_PCIe_drivers
13 stars 8 forks source link

Error during Compiling other_tests #1

Closed patelalap11 closed 11 years ago

patelalap11 commented 11 years ago

$make other_tests DEPEND testDMAc.c DEPEND testPCIeBoard.cpp DEPEND testDMA.cpp CC testPCIeBoard.cpp testPCIeBoard.cpp: In function ‘void testDirectIO(pciDriver::PciDevice)’: testPCIeBoard.cpp:143:61: error: ‘memcpy’ was not declared in this scope testPCIeBoard.cpp: In function ‘void testDMA(pciDriver::PciDevice_)’: testPCIeBoard.cpp:208:44: error: ‘memset’ was not declared in this scope testPCIeBoard.cpp: In function ‘void* inthandler(void)’: testPCIeBoard.cpp:398:25: error: no matching function for call to ‘pciDriver::PciDevice::waitForInterrupt()’ testPCIeBoard.cpp:398:25: note: candidate is: /home/svm2/Desktop/PCI/FPGA_PCIe_drivers-master/opencores_driver/include/lib/PciDevice.h:71:7: note: void pciDriver::PciDevice::waitForInterrupt(unsigned int) /home/svm2/Desktop/PCI/FPGA_PCIe_drivers-master/opencoresdriver/include/lib/PciDevice.h:71:7: note: candidate expects 1 argument, 0 provided make[1]: ** [/home/svm2/Desktop/PCI/FPGA_PCIe_drivers-master/opencores_driver/obj/testPCIeBoard.o] Error 1 make: *\ [other_tests] Error 2

How to compile it ?

lerwys commented 11 years ago

Hello,

You can find all the information needed in the original site: http://li5.ziti.uni-heidelberg.de/mprace/

Or download it directly from: http://li5.ziti.uni-heidelberg.de/mprace/pciDriver.tar.gz

I just got it from there and posted here on Github. All of the code was written by Guillermo Marcus (guillermo.marcus at ziti.uni-heidelberg.de)

Regards,

Lucas