LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2006, 08:56 PM   #1
lrukieh
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
Failure to Compile aic7xxx in 2.4.21-286 Kernel source


I have installed the 2.4.21-286 kernel source on IBM x220. The aic7xxx are needed to read the SCSI Hard drives. Upon running the make install I get the following error as it get to the aic7xxx.

make[5]: Entering directory `/usr/src/linux-2.4.21-286/drivers/scsi/aic7xxx/aicasm'
gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm -ldb
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm.c:49:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
from /usr/include/sys/types.h:26,
from aicasm.c:44:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_symbol.c:54:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
from /usr/include/sys/types.h:26,
from aicasm_symbol.c:45:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_gram.y:49:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
from /usr/include/sys/types.h:26,
from aicasm_gram.y:46:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_macro_gram.y:49:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
from /usr/include/sys/types.h:26,
from aicasm_macro_gram.y:46:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_scan.l:50:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
from /usr/include/stdio.h:28,
from aicasm_scan.c:12:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_macro_scan.l:50:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
from /usr/include/stdio.h:28,
from aicasm_macro_scan.c:31:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition
/tmp/ccWPKPC0.o: In function `symtable_open':
/tmp/ccWPKPC0.o(.text+0x1c9): undefined reference to `dbopen'
collect2: ld returned 1 exit status
make[5]: *** [aicasm] Error 1
make[5]: Leaving directory `/usr/src/linux-2.4.21-286/drivers/scsi/aic7xxx/aicasm'
make[4]: *** [aicasm/aicasm] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.21-286/drivers/scsi/aic7xxx'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.21-286/drivers/scsi/aic7xxx'
make[2]: *** [_subdir_aic7xxx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-286/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-286/drivers'
make: *** [_dir_drivers] Error 2
 
Old 01-21-2006, 09:46 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Why do you need to use an outdated version? 2.4.21 is old and subject to very serious exploit, I would really recommand to use the latest 2.4.X kernel. Maybe there is a bug in this module in this exact version, trying another one might work.
 
Old 01-22-2006, 10:30 AM   #3
lrukieh
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Ths problem is that SAP requires this level of Linux (ironically I'm not SAP savy and this my first install), and the problem I faced was with the Linux Kernel.
Thanks
 
  


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
Failure of sound and PCMCIA modem after Kernel compile iainagray Ubuntu 3 11-29-2005 02:16 PM
compile a kernel from source??? vbtalent Fedora 5 11-22-2005 03:29 PM
Kernel-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 12:15 AM
Kernel 2.6.3-rc2 compile error/Failure- Any Ideas? wrc1944 Linux - General 2 02-15-2004 03:38 PM
Compile kernel source andy18 Linux - Newbie 4 02-14-2004 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:24 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