[Asterisk-Users] Eicon Diva - problems building new v3 melware
driver
Klaus Darilion
klaus.mailinglists at pernau.at
Mon May 15 10:02:07 MST 2006
Hi!
I've now tried on another server with a custom 2.6 kernel. It fails with
other errors.
regards
klaus
darilion at pb94:~/asterisk/divas4linux-melware-3.0.e-106.622-1$ make
Searching for configured kernel in /usr/src/linux
Kernel version is 2.6.14
Building divas4linux kernel modules...
Using kernel 2.6 build mechanism of /usr/src/linux...
make[1]: Entering directory `/usr/src/linux-2.6.14.2'
CC [M]
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/kcapi.o
CC [M]
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capiutil.o
CC [M]
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capilib.o
CC [M]
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/kcapi_proc.o
LD [M]
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/kernelcapi.o
CC [M]
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.o
CC [M]
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capifs.o
Building modules, stage 2.
MODPOST
*** Warning: "capi20_get_serial"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
*** Warning: "capi20_get_version"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
*** Warning: "capi20_get_profile"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
*** Warning: "capi20_manufacturer"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
*** Warning: "capi20_get_manufacturer"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
*** Warning: "capi20_isinstalled"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
*** Warning: "capi20_register"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
*** Warning: "capi20_put_message"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
*** Warning: "capi20_release"
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.ko]
undefined!
CC
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.o
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.c:9:
error: variable `__this_module' has initializer but incomplete type
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.c:10:
error: unknown field `name' specified in initializer
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.c:10:
warning: excess elements in struct initializer
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.c:10:
warning: (near initialization for `__this_module')
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.c:11:
error: unknown field `init' specified in initializer
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.c:11:
warning: excess elements in struct initializer
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.c:11:
warning: (near initialization for `__this_module')
/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.c:9:
error: storage size of `__this_module' isn't known
make[2]: ***
[/home/darilion/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/capi.mod.o]
Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14.2'
make: *** [kernel] Error 1
Klaus Darilion wrote:
> Hi Armin!
>
> I have problems on debian sarge with standard 2.6.8-2-386 kernel.
>
> I've installed the packages:
> kernel-headers-2.6.8-2
> kernel-headers-2.6.8-2-386
> kernel-image-2.6.8-2-386
> kernel-kbuild-2.6-3
> kernel-source-2.6.8
>
> Then I unpacked the kernel sources into /usr/src/kernel-source-2.6.8 and
> made a symlink from /usr/src/linux --> kernel-source-2.6.8
>
> Then I entered /usr/src/linux, started "make menuconfig", loaded the
> configuration from /boot/config-2.6.8-2-386 and exited from the config
> application.
>
> I think now I should have configured kernel sources.
>
> But if I start compiling, I got lots of errors (see below)
>
> Help is appreciated :-)
>
> thanks
> klaus
More information about the asterisk-users
mailing list