Hi Dave,

/lib/modules/`uname -r`/build is usually a symlink to your kernel source, i.e.
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9. So in theory, copying
cyclades.c over itself should have produced an error message...

Where is your /lib/modules/`uname -r`/build pointing to?

Cheers,
spd

On Sun, 6 Aug 2006, David Cook wrote:

> 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.
>
> [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]
>
>

Reply via email to