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

Re: scull driver from ldd3 book , insmod , error



Iman Darabi spiffera, alle Thursday 01 November 2007 circa:
> i got scull driver from http://examples.oreilly.com/linuxdrive3/
> it needs linux-2.6.10 , but i've gentoo with linux-2.6.22.9 ( and gcc
> version 4.1.1 )
>
> so i used 2.6.10 header files to compile scull like this :

No, you must compile it against a 2.6.22 kernel, so you have to:
- download the 2.6.22 version sources, 
- modify the makefile in order to point to the right sources.
- try to compile it again ;)

bye!
-- 
-gaspa-
-----------------------------------------------
--------- http://launchpad.net/~gaspa ---------
------ HomePage: iogaspa.altervista.org -------
-Il lunedi'dell'arrampicatore: www.lunedi.org -

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ