Hi!
I tried install-misdn.tgz from http://www.beronet.com/download/ , some
minutes ago. Also I switched to an older kernel (2.6.8), but I get the
same error.
I think that I made the correct changes in the Makefiles, but I will
attach them to this e-mail, maybe you see something wrong.
Greets, Christian
Johann Steinwendtner schrieb:
This error would occur if you compile chan_misdn against Asterisk
stable and not specifying it in the makefile of chan_misdn.
Check the makefile of chan_misdn.
Hans
Christian Wengel schrieb:
Hi all!
I'm getting an error when I try to start asterisk with chan_misdn.
I patched my kernel (2.6.12.4), and compiled the whole stuff (kernel,
mISDNuser, asterisk, chan_misdn). I got mISDN from
http://isdn.jolly.de/download/v3.0/
I'm using a CVS Snapshot of asterisk, which was checked out about 5
hours ago.
This is the error:
[chan_misdn.so]Aug 15 14:13:29 WARNING[4929]: loader.c:314
__load_resource: /usr/lib/asterisk/modules/chan_misdn.so: undefined
symbol: ast_pickup_call
Aug 15 14:13:29 WARNING[4929]: loader.c:488 load_modules: Loading
module chan_misdn.so failed!
I have no idea where to start solving this problem. Has anybody a
hint for me?
If you need more information, feel free to ask for it.
Greets, Christian
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
#touched_by_crich
CFLAGS+=-I/usr/src/install-misdn/mISDNuser/include
-I/usr/src/install-misdn/mISDN/include
-I/usr/src/install-misdn/mISDNuser/i4lnet/
CFLAGS+=$(EXTRA_CFLAGS)
#
# The following line tells the makefile where to install the module,
# if necessary, please edit it
#
INSTALL_MODPATH=/usr/lib/asterisk/modules
#
# The following line tells the makefile where to find the asterisk src, so
# please edit this one if necessary
#
ASTERISKSRC=../../asterisk
#
# The following line tells the makefile where to put in the configfile
# of this module
#
AST_CONFIG_DIR=/etc/asterisk/
#
# The Includes are Set appropriatly
#
ASTERISKINC=$(ASTERISKSRC)/include
#
# mISDNuser PATHS
#
#MISDNUSER=/usr/src/install-misdn/mISDNuser
MISDNUSER=/usr/src/install-misdn/mISDNuser
MISDNUSERINC=$(MISDNUSER)/include
MISDNUSERLIB=$(MISDNUSER)/lib
#
# mISDNuser Version
#
# If you dont use the Jolly mISDNuser version above 2.7 then comment this
#
CFLAGS+=-DMISDNUSER_JOLLY
#
# ASTERISK Version
# If you are using a asterisk version above from stable (v1-0)
# then comment the following line out (good luck)
#
#CFLAGS+=-DASTERISK_STABLE
#CFLAGS+=-DUSE_ZT_EC
#LINUXROOT=/usr/src/linux-2.6
LINUXROOT=/lib/modules/$(shell uname -r)/build
#
# Wether to use asterisk dsp for dtmf tone detection
#
#CFLAGS+=-DMISDN_CHECK_DTMFS
#
# Linux Includes (must be patched with mISDN!)
#
LINUXINC=$(LINUXROOT)/include
#
# chan_misdn_version
#
CFLAGS+=-DCHAN_MISDN_VERSION=\$(shell cat VERSION)\
#CFLAGS+=-DCHAN_MISDN_VERSION=\AsteriskVersion\
CFLAGS+=-ggdb -Wall -D_GNU_SOURCE
CFLAGS+=-Wno-missing-prototypes -Wno-missing-declarations
CFLAGS+=-I$(MISDNUSERINC) -I$(MISDNUSER)/i4lnet/ -I$(LINUXINC)
CFLAGS+=-fPIC -I$(ASTERISKINC) -DAST_CONFIG_DIR=\$(AST_CONFIG_DIR)\
-I$(MISDNUSERINC) -I$(MISDNUSER)/i4lnet/ -Wall
MISDNOBJS=chan_misdn.o isdn_lib.o ec.o isdn_msg_parser.o
#config.o
ADDOBJS+=$(MISDNUSER)/i4lnet/libisdnnet.a $(MISDNUSER)/lib/libmISDN.a
all: chan_misdn.so app_v110.so app_ptyfork.so app_waitfordigits.so
$(ADDOBJS):
@if [ ! -f $(MISDNUSER)/i4lnet/libisdnnet.a -o ! -f
$(MISDNUSER)/lib/libmISDN.a ] ; then echo -e \nYou need mISDNuser to compile
chan_misdn!\nPlease read the README\nOr just type: make misdn_install\n ; exit
1; fi
chan_misdn.so: $(ADDOBJS) $(MISDNOBJS)
$(CC) -shared -Xlinker -x -o $@ $(MISDNOBJS) $(ADDOBJS)
testphone: testphone.c
$(CC) -I$(MISDNUSERINC) -I$(MISDNUSER)/i4lnet/ testphone.c
$(MISDNUSERLIB)/libmISDN.a -o testphone
#-I$(LINUXINC)
install: chan_misdn.so app_v110.so app_ptyfork.so app_waitfordigits.so
install -m 644 chan_misdn.so $(INSTALL_MODPATH)/
install -m 644 app_v110.so $(INSTALL_MODPATH)/
install -m 644 app_ptyfork.so $(INSTALL_MODPATH)/
install -m 644 app_waitfordigits.so $(INSTALL_MODPATH)/
if [ ! -f $(AST_CONFIG_DIR)/misdn.conf ] ; then cp misdn.conf
$(AST_CONFIG_DIR)/; fi
if [ ! -e /dev/mISDN ] ; then mknod /dev/mISDN c 46 0; fi
@echo
@echo INSTALLATION SUCCEEDED
app_v110.so: app_v110.o
$(CC) -shared -Xlinker -x -o $@ app_v110.o
app_ptyfork.so: app_ptyfork.o
$(CC) -shared