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

building TiBook connexant modem driver against kernel 2.6.8-9

Hello everyone!

I am trying to complete an new installation of Sarge
and was hoping to find someone who has succesfully
installed the linuxant hcf modem driver on a Nov. 2002
TiBook running kernel 2.6.8-9.  When the
configure/install script asks for the location of the
source build directory matching the installed kernel I
direct it to /usr/src/kernel-headers-2.6.8
(automatically installed by aptitude as a dependency
for 'kernel-build-2.6.8-powerpc' installed to

The script complains that: 

"The kernel version (2.6.8) defined in
does not match the currently running kernel
(2.6.8-powerpc).  The cause of this problem is an
incorrect kernel source path."

Indeed, the version record in kernel-headers-2.6.8
differs slightly from the record in
kernel-build-2.6.8-powerpc-- they are identical except
for the suffix "-powerpc":


#define UTS_RELEASE "2.6.8"
#define LINUX_VERSION_CODE 132616
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) <<
8) + (c))


#define UTS_RELEASE "2.6.8-powerpc"
#define LINUX_VERSION_CODE 132616
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) <<
8) + (c))

The configure/install script also fails after I
naively alter .../kernel-headers-2.6.8/.../version.h
to match .../kernel-build-2.6.8-powerpc/.../version.h.
 The buildlog says:

../modules/kernelcompiler.sh: cannot determine
version, using gcc
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c
.*.cmd GPL/.*.cmd

GCC -DEXPORT_SYMTAB -o mod_osspec.o mod_osspec.c
<command line>:29:1:
No such file or directory
In file included from mod_osspec.c:319:
warning: #warning FILEIDNUM not defined
make: *** [mod_osspec.o] Error 1

Being new to linux and the module build process I
don't know how to interpret the script's complaint.
Linuxant support suggested that the kernel headers
package may not be correctly packaged, and that I
install kernel 2.6.10 and try again.  Surely there
must be a way to build a module against my 2.6.8-9
installation...?  Thanks for reading through this
email.  Any assistance would be mightily appreciated.

Atul Shah

Do you Yahoo!? 
All your favorites on one personal page ? Try My Yahoo!

Reply to: