> -----Original Message-----
> From: David Cook [mailto:[EMAIL PROTECTED] 
> Sent: August 6, 2006 11:44 PM
> To: [email protected]
> Subject: [on-asterisk] OT: kernel compile RHEL3 -> RHEL4
> 
> Evening gang. An off topic one for you tonight. I just 
> upgraded a server from RHEL3 to RHEL4 via upgrade method. Now 
> I can't compile any kernel modules (1st up is a Cyclades 
> driver) so no Asterisk hence the writing to the list.

Not sure if this is it for you, but I get that similar kind of thing often,
and the cure for me is a reboot. Maybe an environment variable that doesn't
get set, but a reboot seems to force it to clue into the new order of
things.

Jim

> [EMAIL PROTECTED] build]# rpm -qa | grep kernel 
> kernel-doc-2.6.9-34.EL kernel-smp-2.6.9-34.EL 
> kernel-utils-2.4-13.1.80 kernel-devel-2.6.9-34.EL 
> kernel-2.6.9-34.EL kernel-smp-devel-2.6.9-34.EL
> 
> Plus kernel-2.6.9-34.EL.src.rpm
> 
> #cd /usr/src/redhat/SPECS/
> #rpmbuild -bp kernel-2.6.spec --target=i686
> 
> copied the module from
> /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/drivers/char/cyclades.c
> to /lib/modules/`uname -r`/build/drivers/char/ #make 
> menuconfig #make modules
> 
> [EMAIL PROTECTED] build]# make  modules
>   CHK     include/linux/version.h
>   SPLIT   include/linux/autoconf.h -> include/config/*
>   CHK     include/asm-i386/asm_offsets.h
> /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory
>   UPD     include/asm-i386/asm_offsets.h
> mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such 
> file or directory
> make: *** [include/asm-i386/asm_offsets.h] Error 1
> 
> 
> Any ideas??
> dbc.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.7/410 - Release 
> Date: 05/08/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/410 - Release Date: 05/08/2006
 

Reply via email to