[asterisk-bugs] [Zaptel 0010515]: Build fails on kernel 2.4 (wctdm24xxp)

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Aug 24 02:39:05 CDT 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=10515 
====================================================================== 
Reported By:                thimm
Assigned To:                mattf
====================================================================== 
Project:                    Zaptel
Issue ID:                   10515
Category:                   wctdm24xxp
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Zaptel Version:             1.4.4  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-21-2007 09:06 CDT
Last Modified:              08-24-2007 02:39 CDT
====================================================================== 
Summary:                    Build fails on kernel 2.4 (wctdm24xxp)
Description: 
There are a couple of quirks, first wctdm24xxp is not built and the build
fails due to not finding it (it is in its own subdir). The following patch
addresses this:

@@ -384,7 +386,8 @@
 
 wctdm.o: wctdm.h
 
-wctdm24xxp.o: wctdm.h
+wctdm24xxp/wctdm24xxp.o: wctdm.h
+       $(MAKE) -C wctdm24xxp KFLAGS="$(KFLAGS) -I.." CFLAGS="$(CFLAGS)
-I.."
 
 pciradio.o: radfw.h
 


But then it fails with

 make[1]: Leaving directory
`/var/tmp/bach-build/BUILD/zaptel-1.4.5/wct4xxp'
make -C wctdm24xxp
KFLAGS="-I/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/include -O6 -DMODULE
-D__KERNEL__ -DEXPORT_SYMTAB
-I/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/drivers/net -Wall -I.
-Wstrict-prototypes -fomit-frame-pointer
-I/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/drivers/net/wan
-I/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/include/net -DMODVERSIONS
-include
/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/include/linux/modversions.h 
-mcmodel=kernel -DSTANDALONE_ZAPATA -I.." CFLAGS="-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -I. -O4 -g -Wall
-DBUILDING_TONEZONE   -m64 -DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -I.."
make[1]: Entering directory
`/var/tmp/bach-build/BUILD/zaptel-1.4.5/wctdm24xxp'
/usr/bin/gcc -I/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/include -O6
-DMODULE -D__KERNEL__ -DEXPORT_SYMTAB
-I/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/drivers/net -Wall -I.
-Wstrict-prototypes -fomit-frame-pointer
-I/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/drivers/net/wan
-I/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/include/net -DMODVERSIONS
-include
/kernelsrc/el3-x86_64/2.4.21-51.EL-x86_64/include/linux/modversions.h 
-mcmodel=kernel -DSTANDALONE_ZAPATA -I.. -o base.o -c base.c
base.c:45:28: linux/firmware.h: No such file or directory
In file included from base.c:52:
GpakCust.h:24:28: linux/firmware.h: No such file or directory
base.c: In function `vpm150m_config_hw':
base.c:3475: warning: implicit declaration of function
`create_singlethread_workqueue'
base.c:3475: warning: assignment makes pointer from integer without a
cast
base.c: In function `wctdm_vpm150m_init':
base.c:3590: warning: implicit declaration of function `request_firmware'
base.c:3590: structure has no member named `dev'
base.c:3602: warning: implicit declaration of function `release_firmware'
base.c:3616: warning: implicit declaration of function `msleep'
make[1]: *** [base.o] Error 1
make[1]: Leaving directory
`/var/tmp/bach-build/BUILD/zaptel-1.4.5/wctdm24xxp'
make: *** [wctdm24xxp/wctdm24xxp.o] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 tzafrir - 08-24-07 02:39  
---------------------------------------------------------------------- 
The fix is now included in Zaptel 1.4.5.1 / 1.2.20.1 .

athmm, could you please verify it works for you? 

Thanks 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-24-07 02:39  tzafrir        Note Added: 0069352                          
08-24-07 02:39  tzafrir        Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list