Modify

Opened 4 years ago

Closed 3 years ago

#14027 closed defect (wontfix)

zaptel-1.4.x fails due to kernel define changes in 3.8

Reported by: lee.essen@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: zaptel Cc:

Description

The zaptel-1.4.x package fails to build due to specific defines that have been removed in the 3.8 kernel tree.

Also the kmod_zaptel14 package requires a kmod-lib-crc-ccitt dependency.

The following works for me, but probably needs tidying...

New patch ...

$ cat 400-dev_defines.patch
--- a/kernel/zaptel.h
+++ b/kernel/zaptel.h
@@ -165,6 +165,14 @@

#define ZT_CODE 'J'


+/* dev* were removed in 3.8. They still have effect in 2.6.18. */
+#ifndef
devinit
+# define devinit
+# define
devinitdata
+# define devexit
+# define
devexit_p(x) x
+#endif
+

/* Default chunk size for conferences and such -- static right now, might make

variable sometime. 8 samples = 1 ms = most frequent service interval possible
for a USB device */

Change to the Makefile to add the dependency....

diff --git a/libs/zaptel-1.4.x/Makefile b/libs/zaptel-1.4.x/Makefile
index 7d6ba2e..fe7d6be 100644
--- a/libs/zaptel-1.4.x/Makefile
+++ b/libs/zaptel-1.4.x/Makefile
@@ -28,7 +28,7 @@ endef

define KernelPackage/zaptel14/Default

TITLE:=Zaptel (kernel module)
SUBMENU:=Voice over IP

  • DEPENDS:=

+ DEPENDS:= +kmod-lib-crc-ccitt

endef


define KernelPackage/zaptel14

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by zloop

Isn't zaptel too old and got replaced in Asterisk upstream ?
see: (Asterisk DAHDI zaptel via google)

apparently Asterisk 1.8 or Asterisk 11.5 is used in feeds

so it seems one should use DAHDI

PS: Spam got detected - so no links :(

comment:2 Changed 3 years ago by slachta

  • Resolution set to wontfix
  • Status changed from new to closed

Hi,

zaptel was moved to repository for abandoned packages due to open CVE's and missing maintainer. Zaptel is currently obsolete and incompatible with current kernels thus it will not be as a part of Barrier Breaker release.

I am planning to add dahdi packages within several weeks to telephony repository for current trunk. Dahdi is currently compilable and seems to work, but it has not been fully tested yet.

Jiri

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.