LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-15-2005, 05:57 AM   #1
temm
LQ Newbie
 
Registered: May 2005
Location: Thessaloniki,Greece
Distribution: RHEL-3-U4
Posts: 18

Rep: Reputation: 0
make all - error


I'm trying to install QLogic host bus adapter drivers on RHEL V3.

When i execute the
#make all
i get a list of warnigs and error.
The
I've installed the Kernel Deveploment package as required but when i execute the
#make all
i get a list of warnings, invalid suffic and an error.

The beginning of the listing goes like this

rm -f qla2200.o qla2300.o qla2300_conf.o qla2200_conf.o qla_opts.o qla_opts
cc -D__KERNEL__ -DMODULE -Wall -O -g -DUDEBUG -DLINUX -Dlinux -DINTAPI -DEXPORT_SYMTAB -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h -I/usr/src/linux-2.4/include -I/usr/src/linux-2.4/include/../drivers/scsi -falign-functions=2 -falign-jumps=2 -falign-loops=2 -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -pipe -DCONFIG_X86_LOCAL_APIC -fno-strict-aliasing -fno-common -mpreferred-stack-boundary=2 -march=i686 -c qla2200.c -o qla2200.o
In file included from /usr/src/linux-2.4/include/linux/spinlock.h:56,
from /usr/src/linux-2.4/include/linux/module.h:11,
from qla2x00.c:36,
from qla2200.c:43:
/usr/src/linux-2.4/include/asm/spinlock.h:9: invalid suffix on integer constant
/usr/src/linux-2.4/include/asm/spinlock.h:9: syntax error before numeric constant
/usr/src/linux-2.4/include/asm/spinlock.h:10: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/asm/spinlock.h:10: warning: function declaration isn't a prototype

Can anyone help me on this.

Thank you.

Teo
 
Old 11-15-2005, 08:06 AM   #2
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
a program will usually run when it has warnings...try running just 'make' and then post the exact errors* you get
 
Old 11-15-2005, 08:38 AM   #3
temm
LQ Newbie
 
Registered: May 2005
Location: Thessaloniki,Greece
Distribution: RHEL-3-U4
Posts: 18

Original Poster
Rep: Reputation: 0
what do you mean by exact errors*
the file is quite long so i cannot post it.

All the errors are just like the one i posted:

syntax error before numeric constant

also the file ends like this:

qla2x00.c:19082: called object is not a function
make: *** [qla2200.o] Error 1


Teo
 
Old 03-18-2007, 12:44 AM   #4
mail2joshi
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Hi,
Are you able to compile the qlogic driver. I can compile it on Intel-32bit but on AMD 64bit I am still facing the problem you posted.

Thanks

Quote:
Originally Posted by temm
what do you mean by exact errors*
the file is quite long so i cannot post it.

All the errors are just like the one i posted:

syntax error before numeric constant

also the file ends like this:

qla2x00.c:19082: called object is not a function
make: *** [qla2200.o] Error 1


Teo
 
  


Reply



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
Really, really Weird trouble with make (make error 2) flyeater SUSE / openSUSE 5 06-20-2005 12:05 PM
xprobe2 "make" error make[1]: *** [config_set.o] Error 1 rsharma2000 Linux - Security 1 11-24-2004 04:10 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 03:08 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:54 AM.

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
Open Source Consulting | Domain Registration