LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2012, 02:58 PM   #1
Facepalm41
LQ Newbie
 
Registered: Nov 2011
Posts: 8

Rep: Reputation: Disabled
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.
 
Old 01-29-2012, 08:47 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Well. Usually source code is compiled by make command, not ./Makefile. If you have ever compiled source code by yourself, you should know it. And if you have never did it before, maybe you should read some guide?
 
Old 01-29-2012, 10:51 PM   #3
tollingalong
Member
 
Registered: Nov 2011
Posts: 42

Rep: Reputation: Disabled
I'm sort of surprised your drivers didn't automatically load drivers on boot.
I'd recommend performing an "fdisk -l" to see which disks you have available. You'll probably have to mount the disks but I would be shocked if the drivers aren't already there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installation of Libre office 3.3 on ubuntu 10.04 (LTS),on a x86 machine Nabeel Ubuntu 1 12-07-2010 12:44 PM
cross compiling for x86 x86_64, for RHEL, Ubuntu, SLES deadeyes Linux - General 11 04-21-2010 07:50 AM
problem while compiling driver Makefile biswajit.2k3 Linux - Newbie 1 07-06-2009 07:34 AM
compiling x64 application from ubuntu x86 using gcc compiler samitpmc Programming 9 07-21-2008 05:53 AM
Problem Compiling in Solaris x86 Koven Solaris / OpenSolaris 1 01-13-2006 02:05 AM


All times are GMT -5. The time now is 04:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration