SCIENTIFIC-LINUX-USERS Archives

August 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Thu, 3 Aug 2006 14:40:47 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (64 lines)
If you want to just compile a kernel module, that can be different than 
recompiling the whole kernel.

https://www.scientificlinux.org/documentation/faq/sl4x

This gives some information, although it really is mostly straight from 
RedHat's documentation.

Troy

Francois Colonna wrote:
> Jan Iven wrote:
>> On Thu, 2006-08-03 at 16:30 +0200, Francois Colonna wrote:
>>  
>>> Where can I find instructions to recompile the kernel  
>>> 2.6.9-34.0.2.ELsmp  of  SL 4.3  ?
>>>     
>>
>> Please check whether 
>> https://twiki.cern.ch/twiki/bin/view/LinuxSupport/RecompileSLC4Kernel
>> is sufficient to answer your question (s/SLC/SL/g).
>>
>> regards
>> jan
>>
>>
>>   
> it seems.
> 
> I wanted to add a fresh alsa-driver-1.0.11 module
> but the alsa compilation gives :
> 
> make -C /lib/modules/2.6.9-34.0.2.ELsmp/source 
> SUBDIRS=/usr/local/DRIVERS/alsa-driver-1.0.11 
> O=/lib/modules/2.6.9-34.0.2.ELsmp/build modules
> make[1]: Entering directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-i686'
>  CC [M]  /usr/local/DRIVERS/alsa-driver-1.0.11/acore/memalloc.o
> In file included from 
> /usr/local/DRIVERS/alsa-driver-1.0.11/acore/memalloc.inc:13,
>                 from 
> /usr/local/DRIVERS/alsa-driver-1.0.11/acore/memalloc.c:1:
> /usr/local/DRIVERS/alsa-driver-1.0.11/include/adriver.h:219: erreur: 
> types conflictuels pour « gfp_t »
> include/linux/gfp.h:134: erreur: déclaration précédente de « gfp_t » 
> était ici
> make[4]: *** [/usr/local/DRIVERS/alsa-driver-1.0.11/acore/memalloc.o] 
> Erreur 1
> make[3]: *** [/usr/local/DRIVERS/alsa-driver-1.0.11/acore] Erreur 2
> make[2]: *** [_module_/usr/local/DRIVERS/alsa-driver-1.0.11] Erreur 2
> make[1]: *** [modules] Erreur 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-i686'
> make: *** [compile] Erreur 2
> 
> has someone an idea of what is wrong ?
> 
> François Colonna


-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2