[asterisk-bugs] [Zaptel 0010515]: Build fails on kernel 2.4 (wctdm24xxp)
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Aug 31 14:24:43 CDT 2007
The following issue has been CLOSED
======================================================================
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: closed
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 08-21-2007 09:06 CDT
Last Modified: 08-31-2007 14:24 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
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
08-31-07 14:24 mattf Status resolved => closed
======================================================================
More information about the asterisk-bugs
mailing list