Facepalm41 |
01-28-2012 01:58 PM |
Problem compiling driver from makefile on Ubuntu 10.04 LTS x86
Hi! I am having an issue compiling a driver for my SCSI controller on Ubuntu 10.04 LTS x86. My SCSI card is an Adaptec SCSI Card 39160 as seen here: http://www.adaptec.com/en-us/support...160/asc-39160/
The driver is found here: http://www.adaptec.com/en-us/speed/s...ux-2_6_tgz.htm and is for version 2.6 kernels. Latest available driver from Adaptec.
The problem? I get this here error message:
Code:
jack@jack-desktop:~/aic7xxx-2.6$ ./Makefile
./Makefile: line 9: subdir-: command not found
./Makefile: line 11: CONFIG_SCSI_AIC7XXX: command not found
./Makefile: line 11: obj-: command not found
./Makefile: line 12: CONFIG_SCSI_AIC79XX: command not found
./Makefile: line 12: obj-: command not found
./Makefile: line 15: aic7xxx-y: command not found
./Makefile: line 17: CONFIG_EISA: command not found
./Makefile: line 17: aic7xxx-: command not found
./Makefile: line 18: CONFIG_PCI: command not found
./Makefile: line 18: aic7xxx-: command not found
./Makefile: line 19: CONFIG_AIC7XXX_REG_PRETTY_PRINT: command not found
./Makefile: line 19: aic7xxx-: command not found
./Makefile: line 22: aic7xxx-y: command not found
./Makefile: line 24: CONFIG_EISA: command not found
./Makefile: line 24: aic7xxx-: command not found
./Makefile: line 25: CONFIG_PCI: command not found
./Makefile: line 25: aic7xxx-: command not found
./Makefile: line 28: aic79xx-y: command not found
./Makefile: line 30: CONFIG_AIC79XX_REG_PRETTY_PRINT: command not found
./Makefile: line 30: aic79xx-: command not found
./Makefile: line 33: aic79xx-y: command not found
./Makefile: line 37: EXTRA_CFLAGS: command not found
./Makefile: line 38: ifdef: command not found
./Makefile: line 39: EXTRA_CFLAGS: command not found
./Makefile: line 40: endif: command not found
./Makefile: line 44: clean-files: command not found
./Makefile: line 45: clean-files: command not found
./Makefile: line 49: obj: command not found
./Makefile: line 49: obj: command not found
./Makefile: line 49: /aic7xxx_core.o:: No such file or directory
./Makefile: line 50: obj: command not found
./Makefile: line 50: obj: command not found
./Makefile: line 50: /aic79xx_core.o:: No such file or directory
./Makefile: line 51: obj: command not found
./Makefile: line 51: src: command not found
./Makefile: line 51: /aic79xx_reg_print.c:: No such file or directory
./Makefile: line 52: obj: command not found
./Makefile: line 52: src: command not found
./Makefile: line 52: /aic7xxx_reg_print.c:: No such file or directory
./Makefile: line 54: obj: command not found
./Makefile: line 54: aic7xxx-y: command not found
./Makefile: line 54: addprefix: command not found
./Makefile: line 54: obj: command not found
./Makefile: line 55: obj: command not found
./Makefile: line 55: aic79xx-y: command not found
./Makefile: line 55: addprefix: command not found
./Makefile: line 55: obj: command not found
./Makefile: line 57: CONFIG_AIC7XXX_BUILD_FIRMWARE: command not found
./Makefile: line 57: obj: command not found
./Makefile: line 57: obj: command not found
./Makefile: line 57: aic7xxx-gen-: command not found
./Makefile: line 59: CONFIG_AIC7XXX_REG_PRETTY_PRINT: command not found
./Makefile: line 59: obj: command not found
./Makefile: line 59: aic7xxx-gen-: command not found
./Makefile: line 61: CONFIG_AIC7XXX_REG_PRETTY_PRINT: command not found
./Makefile: line 61: obj: command not found
./Makefile: line 61: aicasm-7xxx-opts-: command not found
./Makefile: line 64: syntax error near unexpected token `$(CONFIG_AIC7XXX_BUILD_FIRMWARE),y'
./Makefile: line 64: `ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)'
jack@jack-desktop:~/aic7xxx-2.6$
I essentially get a ton of "Command not found" lines, then the makefile ends. Is there some sort of library that I am missing?
Some background info on my machine: I am running a relatively clean install of Ubuntu 10.04 x86 that was only installed about a month ago. The only things the install has aside from the components that came with the OS are OpenJRE and Apache. It is installed on a server machine as a temporary OS so that I can recover a corrupt RAID array, and is running off of a cheap SATA laptop HDD. The machine has 8GB RAM (I know, I can only use about half that, didn't have time for x64 DVD) and has 4 physical AMD Opteron CPUs. I'm installing the driver to hopefully fix a "Not enough devices available to start the array" message that I get when trying to start my array from Ubuntu Disk Manager. I am installing the drivers through command line with a PuTTY (SSH) terminal on my Windows Vista PC.
|