Bug#399970: Asterisk and chan_misdn
Lee Garrett
lee-in-berlin at web.de
Fri Aug 1 22:45:15 UTC 2008
Victor Seva wrote:
> Hi all,
>
[snip]
> I have now a version [0] of misdn-[kernel | user] with I can finally
> build chan_misdn [1] only adding the proper build-depends (
> libisdnnet-dev ). misdn-user builds static libraries as Simon point me
> to do.
>
>> I would like to note that I'm open to testing patches on this matter
>> and reporting back a fail or success to this bug.
>
> Please, test and report misdn-* and chan_misdn bugs or success. I
> maintain _my_ misdn-[user | kernel] packaging on pkg-voip svn [2].
>
> [0] http://linuxmaniac.torreviejawireless.org/debian/misdn-kernel/1.1.8/
> http://linuxmaniac.torreviejawireless.org/debian/misdn-user/1.1.8/
>
> [1]
> http://linuxmaniac.torreviejawireless.org/debian/asterisk+misdn_backports/
>
> [2] svn://svn.debian.org/svn/pkg-voip/misdn-kernel
> svn://svn.debian.org/svn/pkg-voip/misdn-user
>
> PD: Simon, can you take a look over those changes and comment them?
> Maybe a working 1.1.8 version on experimental will be nice.
>
Thanks for the work. AFAICS all packages are buildable via dpkg-buildpackage.
But: I installed misdn-source and tried to build a modules_image and it blew
up. See below:
randall at batou:~/My_Stuff/kernel-sources/aramaki-2.6.25$ make-kpkg --rootcmd
fakeroot modules_image --added-modules misdn
exec debian/rules DEBIAN_REVISION=2008.08.02 KPKG_SELECTED_MODULES="misdn"
ROOT_CMD=fakeroot modules_image
for module in /usr/src/modules/misdn ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.6.25.14-tarpit+imq-aramaki"
KSRC="/home/randall/My_Stuff/kernel-sources/aramaki-2.6.25" \
KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="unknown at unconfigured.in.etc.kernel-pkg.conf" \
KPKG_DEST_DIR="/home/randall/My_Stuff/kernel-sources/aramaki-2.6.25/.." \
KPKG_MAINTAINER="Unknown Kernel Package
Maintainer" \
KPKG_EXTRAV_ARG="" \
ARCH="i386" \
KDREV="2008.08.02" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
if [ "Xfakeroot" != "X" ]; then \
echo "Perhaps $module does not understand --rootcmd?"; \
echo "If you see messages that indicate that it is not"; \
echo "in fact being built as root, please file a bug "; \
echo "against $module."; \
fi; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
else \
echo "Module $module does not exist"; \
echo "Hit return to Continue?"; \
fi; \
done
make[1]: Entering directory `/usr/src/modules/misdn'
/usr/bin/make -w -f debian/rules KERNELRELEASE=2.6.25.14-tarpit+imq-aramaki
binary-modules
make[2]: Entering directory `/usr/src/modules/misdn'
dh_testdir
/usr/bin/make -C /home/randall/My_Stuff/kernel-sources/aramaki-2.6.25 \
M=/usr/src/modules/misdn \
\
KERNELRELEASE=2.6.25.14-tarpit+imq-aramaki \
CONFIG_MISDN_DRV=m CONFIG_MISDN_AVM_FRITZ=m CONFIG_MISDN_HFCPCI=m
CONFIG_MISDN_HFCUSB=m CONFIG_MISDN_SPEEDFAX=m CONFIG_MISDN_W6692=m
CONFIG_MISDN_HFCMULTI=m CONFIG_MISDN_NETJET=m CONFIG_MISDN_DSP=m
CONFIG_MISDN_HFCMINI=m CONFIG_MISDN_XHFC=m
EXTRA_CFLAGS=-I/usr/src/modules/misdn/include \
modules
make[3]: Entering directory `/home/randall/My_Stuff/kernel-sources/aramaki-2.6.25'
/usr/src/modules/misdn/avm_fritz.c: In function ‘init_card’:
/usr/src/modules/misdn/avm_fritz.c:879: error: ‘SA_SHIRQ’ undeclared (first
use in this function)
/usr/src/modules/misdn/avm_fritz.c:879: error: (Each undeclared identifier is
reported only once
/usr/src/modules/misdn/avm_fritz.c:879: error: for each function it appears in.)
/usr/src/modules/misdn/avm_fritz.c:889: warning: passing argument 2 of
‘request_irq’ from incompatible pointer type
/usr/src/modules/misdn/avm_fritz.c:895: warning: passing argument 2 of
‘request_irq’ from incompatible pointer type
make[4]: *** [/usr/src/modules/misdn/avm_fritz.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/modules/misdn/hfc_multi.c: In function ‘hfcmulti_leds’:
/usr/src/modules/misdn/hfc_multi.c:1201: warning: ISO C90 forbids mixed
declarations and code
/usr/src/modules/misdn/hfc_multi.c:2800:6: warning: #warning this is
dangerous, the skb should never used to transfer a pointer please use a message
/usr/src/modules/misdn/hfc_multi.c: In function ‘init_card’:
/usr/src/modules/misdn/hfc_multi.c:3302: error: ‘SA_SHIRQ’ undeclared (first
use in this function)
/usr/src/modules/misdn/hfc_multi.c:3302: error: (Each undeclared identifier is
reported only once
/usr/src/modules/misdn/hfc_multi.c:3302: error: for each function it appears in.)
/usr/src/modules/misdn/hfc_multi.c:3302: warning: passing argument 2 of
‘request_irq’ from incompatible pointer type
/usr/src/modules/misdn/hfc_multi.c: In function ‘release_ports_hw’:
/usr/src/modules/misdn/hfc_multi.c:3640: warning: ISO C90 forbids mixed
declarations and code
make[4]: *** [/usr/src/modules/misdn/hfc_multi.o] Error 1
make[3]: *** [_module_/usr/src/modules/misdn] Error 2
make[3]: Leaving directory `/home/randall/My_Stuff/kernel-sources/aramaki-2.6.25'
make[2]: *** [build-modules] Error 2
make[2]: Leaving directory `/usr/src/modules/misdn'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/misdn'
Module /usr/src/modules/misdn failed.
Perhaps /usr/src/modules/misdn does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug
against /usr/src/modules/misdn.
Hit return to Continue
More information about the Pkg-voip-maintainers
mailing list