Posted: Thu Sep 20, 2007 2:46 am Post subject: [Bristuff-users] qozap warning not solve
hello, all of friends:
I am trying to compile my bristuff again, but i have no lucky. i checked the kernel and kernel-source. both of those are correct.
i run it: ln -s /usr/src/kernels/2.6.18-8.el5-i686/ /usr/src/linux- 2.6
under lib/modules, i have a kernel source. when i install qozap, i got warning and i can not find my card. last time, i did it few times without such problems.
thanks, Tzafrir Cohen. please give me a help.
below is my test and result after compiling qozap:
[root@new-host src]# cd /lib/modules/
[root@new-host modules]# ls
2.6.18-8.el5
[root@new-host modules]# cd 2.6.18-8.el5/
[root@new-host 2.6.18-8.el5]# ls
build kernel modules.alias modules.dep modules.inputmap modules.ofmap modules.seriomap modules.usbmap updates
extra misc modules.ccwmap modules.ieee1394map modules.isapnpmap modules.pcimap modules.symbols source weak-updates
[root@new-host 2.6.18-8.el5]# cd misc/
[root@new-host misc]# ls
cwain.ko tor2.ko wct1xxp.ko wctdm24xxp.ko wcte12xp.ko zaphfc.ko ztd-loc.ko ztgsm.ko
pciradio.ko torisa.ko wct4xxp wctdm.ko wcusb.ko zaptel.ko ztdummy.ko zttranscode.ko
qozap.ko wcfxo.ko wctc4xxp wcte11xp.ko xpp ztd-eth.ko ztdynamic.ko
[root@new-host misc]#
[root@new-host bristuff-0.3.0-PRE-1y-j]# cd qozap/
[root@new-host qozap]# ls
LICENSE Module.symvers qozap.h qozap.mod.c qozap.o zapata.conf zapata.conf.octoBRI zaptel.conf.duoBRI
Makefile qozap.c qozap.ko qozap.mod.o TODO zapata.conf.duoBRI zaptel.conf zaptel.conf.octoBRI
[root@new-host qozap]# make clean
rm -f qozap.o *.ko *.mod.c *.mod.o .*o.cmd *~
rm -rf .tmp_versions
[root@new-host qozap]# make
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/bristuff-0.3.0-PRE-1y-j/qozap ZAP=-I/usr/src/bristuff-0.3.0-PRE-1y-j/zaptel modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-8.el5-i686'
CC [M] /usr/src/bristuff- 0.3.0-PRE-1y-j/qozap/qozap.o
/usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.c: In function ‘qoz_findCards’:
/usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.c:1590: warning: cast to pointer from integer of different size
Building modules, stage 2.
MODPOST
WARNING: "zt_alarm_notify_no_master_change" [/usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.ko] undefined!
WARNING: "zt_receive" [/usr/src/bristuff-0.3.0-PRE-1y-j /qozap/qozap.ko] undefined!
WARNING: "zt_transmit" [/usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.ko] undefined!
WARNING: "zt_alarm_notify" [/usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.ko] undefined!
WARNING: "zt_unregister" [/usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.ko] undefined!
WARNING: "zt_ec_chunk" [/usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.ko] undefined!
WARNING: "zt_register" [/usr/src/bristuff- 0.3.0-PRE-1y-j/qozap/qozap.ko] undefined!
CC /usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.mod.o
LD [M] /usr/src/bristuff-0.3.0-PRE-1y-j/qozap/qozap.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18- 8.el5-i686'
[root@new-host qozap]#
[root@new-host ~]# cd /usr/src/bristuff-0.3.0-PRE-1y-j/
[root@new-host bristuff-0.3.0-PRE-1y-j]# ls
asterisk CHANGES download.sh ISDNguard libpri patches SAMPLES zaptel ztgsm
asterisk-1.2.23 compile.sh INSTALL libgsmat libpri-1.2.4 qozap TESTING zaptel-1.2.19
asterisk-1.2.23.tar cwain install.sh libgsmat-0.0.2 libpri-1.2.4.tar run_download.sh zaphfc zaptel-1.2.19.tar
[root@new-host bristuff-0.3.0-PRE-1y-j]# cd ..
[root@new-host src]# ls
bristuff-0.3.0-PRE-1y-j kernels linux-2.6 redhat
[root@new-host src]# cd /lib/modules/
[root@new-host modules]# ls
2.6.18-8.el5
[root@new-host modules]# cd 2.6.18-8.el5/
[root@new-host 2.6.18-8.el5]# ls
build kernel modules.alias modules.dep modules.inputmap modules.ofmap modules.seriomap modules.usbmap updates
extra misc modules.ccwmap modules.ieee1394map modules.isapnpmap modules.pcimap modules.symbols source weak-updates
[root@new-host 2.6.18-8.el5]# cd misc/
[root@new-host misc]# ls
cwain.ko tor2.ko wct1xxp.ko wctdm24xxp.ko wcte12xp.ko zaphfc.ko ztd-loc.ko ztgsm.ko
pciradio.ko torisa.ko wct4xxp wctdm.ko wcusb.ko zaptel.ko ztdummy.ko zttranscode.ko
qozap.ko wcfxo.ko wctc4xxp wcte11xp.ko xpp ztd-eth.ko ztdynamic.ko
[root@new-host misc]#
Posted: Thu Sep 20, 2007 6:11 am Post subject: [Bristuff-users] qozap warning not solve
On Thu, Sep 20, 2007 at 10:46:09AM +0800, james wrote:
Quote:
hello, all of friends:
I am trying to compile my bristuff again, but i have no lucky. i checked
the kernel and kernel-source. both of those are correct.
i run it: ln -s /usr/src/kernels/2.6.18-8.el5-i686/ /usr/src/linux-2.6
under lib/modules, i have a kernel source. when i install qozap, i got
warning and i can not find my card. last time, i did it few times without
such problems.
thanks, Tzafrir Cohen. please give me a help.
Please try the following:
1. cp qozap/qozap.[ch] zaptel
2. Edit zaptel/Makefile and add qozap to MODULES.
3. Edit compile.sh and remove the runs of make in qozap and other
modules directories.
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum