[Home]

Summary:ASTERISK-01376: CONFIG_ZAPATA_NET fails to build on Linux 2.6
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2004-04-08 11:46:47Date Closed:2004-09-25 02:52:13
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The HDLC structures have apparently changed enough on Linux 2.6 that attempting to configure zaptel with CONFIG_ZAPATA_NET fails when building the zaptel kernel module.

****** ADDITIONAL INFORMATION ******

make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
 CHK     include/asm-i386/asm_offsets.h
 CC [M]  /usr/src/zaptel/zaptel.o
In file included from /usr/src/zaptel/zaptel.c:82:
/usr/src/zaptel/zaptel.h:55:2: warning: #warning "Zaptel doesn't support DEVFS in post 2.4 kernels.  Disabling DEVFS in zaptel"
/usr/src/zaptel/zaptel.c: In function `zt_xmit':
/usr/src/zaptel/zaptel.c:1343: warning: comparison of distinct pointer types lacks a cast
/usr/src/zaptel/zaptel.c: In function `zt_ctl_ioctl':
/usr/src/zaptel/zaptel.c:3014: error: structure has no member named `ioctl'
make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1
make[1]: *** [/usr/src/zaptel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-4mdk'
make: *** [linux26] Error 2
Comments:By: James Golovich (jamesgolovich) 2004-04-08 22:13:35

Great.  Looks like between 2.6.3 and 2.6.5 they changed the hdlc interface yet again.  So now we have 3 different versions to support

By: Mark Spencer (markster) 2004-04-09 10:51:39

Is there a test we can do?

By: Mark Spencer (markster) 2004-04-09 13:53:19

Okay I'm not setting the ioctl field if we're at 2.6.4 or later.

By: Mark Spencer (markster) 2004-04-09 13:54:36

Fixed in CVS