Re: Kernel Compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes I know that it is fairly old. The thing is I have
a new type of PCTel Modem (688T type)

the author of drivers for this type of modem Robert
Thornburrow said that he has a 

working driver for 2.2.26 kernel. He asked me to
install the 2.2 kernel and then try his 

driver. Thereby he asked me that I could provide some
details regarding the chipset and 

other valuable info that could help him developing a
driver for 2.4 and 2.6 kernel.

If you know in anyway I can install the 2.2 kernel Or
any other way to find out chipset 

details as such please let me know

I am fairly new to kernel compiling. So I couldn't get
the idea regarding modules and 

configuration. So can you please help to install the
2.2 kernel.
If possible can you just point out the steps that I
have to follow

thanks
aruran

--- Rick Stevens <rstevens@xxxxxxxxxxxxxxx> wrote:

> K Aruran wrote:
> > Hai all,
> > 
> > First of all excuse me for emailing this problem
> to
> > the fedora-list. I don't know the suitability of
> such
> > questions.....
> > 
> > I have a Fedora Core-1 with 2.4.22 kernel
> > 
> > I want to install 2.2.26 kernel for testing
> purpose of
> > my modem drivers. So I downloaded the combat files
> and
> > installed them.
> > 
> > The make config command went ok, but I couldn't
> find
> > the .config file where it is suppose to..
> > make dep..went smoothly.
> > make bzImage and make zImage gave me following
> error
> > message...I think it is mainly due to the fact
> that
> > compiler is not properly set. Do I have to do
> anything
> > else to make this work.
> > 
> > I would appreciate anykind of help...
> > 
> > 
> > [root@localhost linux-2.2.26]# make zImage
> > cc -D__KERNEL__ -I/usr/src/linux-2.2.26/include
> -Wall
> > -Wstrict-prototypes -O2 -fomit-frame-pointer
> > -fno-strict-aliasing -D__SMP__ -pipe
> > -fno-strength-reduce -m486 -malign-loops=2
> > -malign-jumps=2 -malign-functions=2 -DCPU=686  -c
> -o
> > init/main.o init/main.c
> > `-m486' is deprecated. Use `-march=i486' or
> > `-mcpu=i486' instead.
> > cc1: warning: -malign-loops is obsolete, use
> > -falign-loops
> > cc1: warning: -malign-jumps is obsolete, use
> > -falign-jumps
> > cc1: warning: -malign-functions is obsolete, use
> > -falign-functions
> > In file included from
> > /usr/src/linux-2.2.26/include/linux/string.h:37,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/signal.h:64,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/sched.h:23,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/mm.h:4,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/slab.h:14,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/malloc.h:4,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/proc_fs.h:5,
> >                  from init/main.c:15:
> > /usr/src/linux-2.2.26/include/asm/string.h:476:17:
> > missing terminating " character
> > In file included from
> > /usr/src/linux-2.2.26/include/linux/string.h:37,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/signal.h:64,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/sched.h:23,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/mm.h:4,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/slab.h:14,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/malloc.h:4,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/proc_fs.h:5,
> >                  from init/main.c:15:
> > /usr/src/linux-2.2.26/include/asm/string.h: In
> > function `memscan':
> > /usr/src/linux-2.2.26/include/asm/string.h:477:
> error:
> > syntax error before "repnz"
> > /usr/src/linux-2.2.26/include/asm/string.h:478:
> error:
> > `scasb' undeclared (first use in this function)
> > /usr/src/linux-2.2.26/include/asm/string.h:478:
> error:
> > (Each undeclared identifier is reported only once
> > /usr/src/linux-2.2.26/include/asm/string.h:478:
> error:
> > for each function it appears in.)
> > /usr/src/linux-2.2.26/include/asm/string.h:478:21:
> > invalid suffix "f" on integer constant
> > /usr/src/linux-2.2.26/include/asm/string.h:480:17:
> > missing terminating " character
> > In file included from
> > /usr/src/linux-2.2.26/include/linux/sched.h:23,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/mm.h:4,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/slab.h:14,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/malloc.h:4,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/proc_fs.h:5,
> >                  from init/main.c:15:
> > /usr/src/linux-2.2.26/include/linux/signal.h: In
> > function `siginitset':
> > /usr/src/linux-2.2.26/include/linux/signal.h:193:
> > warning: deprecated use of label at end of
> compound
> > statement
> > /usr/src/linux-2.2.26/include/linux/signal.h: In
> > function `siginitsetinv':
> > /usr/src/linux-2.2.26/include/linux/signal.h:205:
> > warning: deprecated use of label at end of
> compound
> > statement
> > In file included from
> > /usr/src/linux-2.2.26/include/linux/blkdev.h:6,
> >                  from
> > /usr/src/linux-2.2.26/include/linux/blk.h:4,
> >                  from init/main.c:23:
> > /usr/src/linux-2.2.26/include/linux/genhd.h: In
> > function `ptype':
> > /usr/src/linux-2.2.26/include/linux/genhd.h:83:
> > warning: deprecated use of label at end of
> compound
> > statement
> > init/main.c:251:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:255:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:258:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:261:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:264:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:267:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:270:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:273:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:276:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:279:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:282:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:285:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:294:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:892:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:895:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:898:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:901:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:904:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:907:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:910:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:913:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:916:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:919:8: warning: extra tokens at end of
> > #endif directive
> > init/main.c:922:8: warning: extra tokens at end of
> > #endif directive
> > make: *** [init/main.o] Error 1
> 
> Jeeze!  The 2.2 kernel tree has been dead for at
> least two years.  Why
> do you want to go back that far?
> 
> 2.2 kernels were designed to be built with the old
> gcc 2.96 system.
> The directives have changed between 2.96 and 3.x. 
> If you must go back,
> make sure you change the "GCC=" directive in the
> Makefile to use 
> "gcc296".  Also be aware that the 2.2 kernel uses a
> different module
> loading mechanism (/etc/conf.modules versus
> /etc/modules.conf) and the
> kernel-utils and modutils packages are quite
> different.
> 
> Unless you really know what you're doing, I wouldn't
> try 
=== message truncated ===



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux