[Asterisk-Users] Compile error with CVS HEAD zaptel
Whisker, Peter
Peter.Whisker at logicacmg.com
Wed Jun 30 04:06:38 MST 2004
I get a compile warning when building zaptel (current CVS head) against
2.4.18 kernel (Debian stable dist)
zaptel.c: In function `zt_net_close':
zaptel.c:1238: warning: implicit declaration of function `hdlc_close'
It completes but fails to install with modprobe finding unresolved
references.
This error was introduced with the introduction of the second clause of the
statement below in zconfig.h
#if defined(CONFIG_HDLC) || defined(CONFIG_HDLC_MODULE)
========================^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Clearly there is a problem building against the kernel modules in 2.14.18 as
hdlc_close does not exist. There is no problem if I comment out the second
part from and including the || above.
It builds ok against 2.4.23 but I need to keep 2.4.18 for cnxadsl
compatibility.
Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
More information about the asterisk-users
mailing list