[TriLUG] problem compiling 2.4.13 with ext3 patch

Ed Hill ed at eh3.com
Thu Nov 1 17:10:46 EST 2001


rpjday wrote:


> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h   -c -o cpqfcTSinit.o cpqfcTSinit.c


> afield in the red hat mailing lists.  thanks.


So you're running Rat Hat?  One of the 7.x series?  And using the 

gcc compiler?  If so, you need to edit the Makefile so that you use

the "kgcc" compiler.  The Red Hat 7.x series standard gcc is not 

to be used for linux kernel compilation.


See the docs in the kernel src for specifics...

hth,
Ed

-- 
Edward H. Hill III, PhD
Post-Doctoral Researcher    |  Emails:   <ed at eh3.com>, <ehill at mines.edu>
Division of ESE             |  URL:      http://www.eh3.com
Colorado School of Mines    |  Phone:    303-273-3483
Golden, CO  80401           |  Fax:      303-273-3311




More information about the TriLUG mailing list