[HELP] Zaptel 1.2.8 compilaton problem (Fedora Core 5)

I’ve got problem with installing Zaptel :frowning:

I did
make clean - went just fine
make…

/usr/src/zaptel-1.2.8/wcusb.c:1452: error: unknown field 'owner' specified in initializer
/usr/src/zaptel-1.2.8/wcusb.c:1452: warning: initialization from incompatible pointer type
make[2]: *** [/usr/src/zaptel-1.2.8 /wcusb.o] Error 1
make[1]: *** [_module_/usr/src/zaptel-1.2.8] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-smp-i686'
make: *** [linux26] Error 2

I’ve got no clue what the problem might be :frowning:

Please, help…

I had to compile the 2.6.16.1 kernel to get mine to work properly. If you don’t want to go that route, you might even try “yum install kernel-devel” or something along those lines. It is probably just looking for the kernel source. But, as I mention above, it didn’t work right until I manually compiled the 2.6.16.1 kernel and restarted the machine with that kernel. Hope that helps.

probably kernel-source does not match kernel?

do yum install kernel kernel-devel
that should get you latest kernel and source…

cd zaptel
vi wcusb.c
find these lines

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) owner: THIS_MODULE, #endif
change them to

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) // owner: THIS_MODULE, #endif

Same should be done to xpp/xpp_usb.c