[asterisk-bugs] [Zaptel 0010515]: Build fails on kernel 2.4 (wctdm24xxp)
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Aug 21 10:09:34 CDT 2007
A NOTE has been added to this issue.
======================================================================
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: assigned
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-21-2007 10:09 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
======================================================================
----------------------------------------------------------------------
mattf - 08-21-07 10:09
----------------------------------------------------------------------
I'm going to try to fix this so that it still compiles and works on 2.4.
Stand by for more info :-)
Issue History
Date Modified Username Field Change
======================================================================
08-21-07 10:09 mattf Note Added: 0069175
======================================================================
More information about the asterisk-bugs
mailing list