Summary: | ASTERISK-06311: Zaptel fails to compile | ||
Reporter: | Steve Sykes (stevesy) | Labels: | |
Date Opened: | 2006-02-14 08:55:51.000-0600 | Date Closed: | 2006-02-14 13:23:54.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | [root@localhost zaptel]# make clean; make install rm -f torisatool makefw tor2fw.h radfw.h rm -f ztcfg torisatool makefw ztmonitor ztspeed zttool zttest fxotune rm -f *.o ztcfg tzdriver sethdlc sethdlc-new rm -f zonedata.lo tonezone.lo libtonezone.so *.lo rm -f *.ko *.mod.c .*o.cmd rm -rf .tmp_versions rm -f gendigits tones.h rm -f libtonezone* rm -f tor2ee rm -f fxotune rm -f core rm -f ztcfg-shared fxstest cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c cc -o gendigits gendigits.o -lm ./gendigits cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file ./makefw pciradio.rbt radfw > radfw.h Loaded 42096 bytes from file cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c ar rcs libtonezone.a zonedata.lo tonezone.lo cc -o ztcfg ztcfg.o libtonezone.a -lm cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c cc -o torisatool torisatool.o cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c cc -o ztmonitor ztmonitor.o cc -o ztspeed.o -c ztspeed.c cc -o ztspeed ztspeed.o cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o zttool.o zttool.c cc -o zttool zttool.o -lnewt cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o zttest cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c cc -o fxotune fxotune.o -lm /lib/modules/2.6.15-1.1831_FC4/build make -C /lib/modules/2.6.15-1.1831_FC4/build SUBDIRS=/root/.Trash/zaptel modules make[1]: Entering directory `/usr/src/kernels/2.6.15-1.1831_FC4-i686' CC [M] /root/.Trash/zaptel/zaptel.o /root/.Trash/zaptel/zaptel.c: In function ‘zt_register’: /root/.Trash/zaptel/zaptel.c:4448: warning: passing argument 2 of ‘class_device_create’ makes pointer from integer without a cast /root/.Trash/zaptel/zaptel.c:4448: warning: passing argument 3 of ‘class_device_create’ makes integer from pointer without a cast /root/.Trash/zaptel/zaptel.c:4448: warning: passing argument 4 of ‘class_device_create’ from incompatible pointer type /root/.Trash/zaptel/zaptel.c:4448: error: too few arguments to function ‘class_device_create’ /root/.Trash/zaptel/zaptel.c: In function ‘zt_init’: /root/.Trash/zaptel/zaptel.c:6507: warning: passing argument 2 of ‘class_device_create’ makes pointer from integer without a cast /root/.Trash/zaptel/zaptel.c:6507: warning: passing argument 3 of ‘class_device_create’ makes integer from pointer without a cast /root/.Trash/zaptel/zaptel.c:6507: warning: passing argument 4 of ‘class_device_create’ from incompatible pointer type /root/.Trash/zaptel/zaptel.c:6507: error: too few arguments to function ‘class_device_create’ /root/.Trash/zaptel/zaptel.c:6508: warning: passing argument 2 of ‘class_device_create’ makes pointer from integer without a cast /root/.Trash/zaptel/zaptel.c:6508: warning: passing argument 3 of ‘class_device_create’ makes integer from pointer without a cast /root/.Trash/zaptel/zaptel.c:6508: warning: passing argument 4 of ‘class_device_create’ from incompatible pointer type /root/.Trash/zaptel/zaptel.c:6508: error: too few arguments to function ‘class_device_create’ /root/.Trash/zaptel/zaptel.c:6509: warning: passing argument 2 of ‘class_device_create’ makes pointer from integer without a cast /root/.Trash/zaptel/zaptel.c:6509: warning: passing argument 3 of ‘class_device_create’ makes integer from pointer without a cast /root/.Trash/zaptel/zaptel.c:6509: warning: passing argument 4 of ‘class_device_create’ from incompatible pointer type /root/.Trash/zaptel/zaptel.c:6509: error: too few arguments to function ‘class_device_create’ /root/.Trash/zaptel/zaptel.c:6510: warning: passing argument 2 of ‘class_device_create’ makes pointer from integer without a cast /root/.Trash/zaptel/zaptel.c:6510: warning: passing argument 3 of ‘class_device_create’ makes integer from pointer without a cast /root/.Trash/zaptel/zaptel.c:6510: warning: passing argument 4 of ‘class_device_create’ from incompatible pointer type /root/.Trash/zaptel/zaptel.c:6510: error: too few arguments to function ‘class_device_create’ make[2]: *** [/root/.Trash/zaptel/zaptel.o] Error 1 make[1]: *** [_module_/root/.Trash/zaptel] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.1831_FC4-i686' make: *** [linux26] Error 2 Any help would be greatly appreciated. | ||
Comments: | By: Steve Sykes (stevesy) 2006-02-14 09:07:54.000-0600 I'm using Fedora 4 with all the latest updates. Updates were accomplished using Yum Update By: Kevin P. Fleming (kpfleming) 2006-02-14 13:23:53.000-0600 This kernel probably includes unreleased changes from the 2.6.16 development kernel. If you can reproduce this problem on a vanilla released kernel, you can reopen this bug. If not, it's a problem with your distro kernel package. |