Mailing List archive

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

[linux-dvb] Re: Problem MAKEing DVB Driver on RH9



Monday Jun 2 14:42:30 +0200 2003 Holger Waechtler <holger@convergence.de> wrote:
> Holden McGroin wrote:
> > Hi!
> > 
> > Thanks for your help.
> > 
> >> 1.) Don't change kernel-location but create a link "linux" on 
> >> linux-2.4.20-8, DVB-driver Make should autodetect path.
> >>
> >> 3.) Copy the config-file from /boot into kernel-sources as ".config", 
> >> run a "make menuconfig" and make dep.

Shouldn't that be `make oldconfig' and make dep.

> >>
> >> 5.) Try to compile DVB-driver.
> > 
> > 
> > OK, i've done 1,3 and 5.
> > 
> >> 2.) Check, that kernel-sources and binaries are the same and complete
> >>
> >> 4.) Check you use the same compiler and version kernel was compiled with.
> > 
> > 2 and 4 I don't know how to do but given that i'm using a fresh install 
> > of RedHat, i'd assume that they're both true. I certainly haven't 
> > updated the compiler or kernel sources since I installed Red Hat if that 
> > helps.

$ cat /proc/version

Linux version 2.4.20-9 (bhcompile@stripples.devel.redhat.com) (gcc version
3.2.2 20030313 (Red Hat Linux 3.2.2-10)) #1 Wed Apr 2 13:42:50 EST 2003

$ ls -l /usr/src 
...
lrwxrwxrwx    1 root     domo           14 May 12 16:55 linux -> linux-2.4.20-9
...

$ gcc -v 
...
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)


... I have matching versions (well almost, 3.2.2-5 != 3.2.2-10)...

> 
> RedHat uses heavily patched kernels without a clean versioning scheme. 
> If you're still in troubles then you might try to fetch a fresh kernel 
> source tarball from http://www.kernel.org/.


... I've always been able to compile DVB modules to work with Redhat linux
kernels, and since it is so much easier to use that than start from
"scratch" with fresh kernels (I'd like compiling fresh kernels, but barely
have time to do so...), I suggest every RH user first try with RH provided
sources and if every try fails, then consider fresh kernels.

> 
> All other steps are the same as above.
> 
> Holger


Tomi


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index