LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   rocketraid 2320 opensource driver compilation problem (https://www.linuxquestions.org/questions/linux-hardware-18/rocketraid-2320-opensource-driver-compilation-problem-911264/)

azraell 11-01-2011 10:19 AM

rocketraid 2320 opensource driver compilation problem
 
Hi,

I've been trying to get this rocketraid 2320 raid controller to work under debian squeeze but for some reason I am unable to run make successfully, when i download the drivers and follow the instructions in the readme I get the following output. I have no idea how to fix this issue. Could someone please advise me on this.

make
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-686'
CC [M] /root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.o
In file included from /root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.c:6:
/root/rr232x-linux-src-v1.8/osm/linux/osm_linux.h:144: error: conflicting types for ‘irqreturn_t’
/usr/src/linux-headers-2.6.32-5-common/include/linux/irqreturn.h:16: error: previous declaration of ‘irqreturn_t’ was here
In file included from /root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.c:6:
/root/rr232x-linux-src-v1.8/osm/linux/osm_linux.h:147:1: warning: "IRQ_RETVAL" redefined
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/pci.h:55,
from /root/rr232x-linux-src-v1.8/osm/linux/osm_linux.h:30,
from /root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.c:6:
/usr/src/linux-headers-2.6.32-5-common/include/linux/irqreturn.h:17:1: warning: this is the location of the previous definition
/root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.c: In function ‘refresh_sd_flags’:
/root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.c:255: error: too many arguments to function ‘blkdev_get’
/root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.c:275: error: too few arguments to function ‘blkdev_put’
/root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.c:278: error: too few arguments to function ‘blkdev_put’
make[4]: *** [/root/rr232x-linux-src-v1.8/product/rr232x/linux/.build/os_linux.o] Error 1
make[3]: *** [_module_/root/rr232x-linux-src-v1.8/product/rr232x/linux/.build] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-686'
make: *** [rr232x.ko] Error 2

allend 11-02-2011 03:56 AM

You may find some help here. http://www.linuxquestions.org/questi...37-4-a-869636/


All times are GMT -5. The time now is 11:09 PM.