[Asterisk-Users] Compiling Asterisk 1.2 from Source on Debian Sarge- Problems

gincantalupo gincantalupo at fgasoftware.com
Thu Dec 1 03:08:56 MST 2005


Hi Marcus,
haven't you got an "Unable to initialize mISDN" error during asterisk 
startup?
I have a problem with chan_misdn....I'm trying to understand where is 
the prob...I haven't recompiled my kernel with mISDN support because 
Digium claims it is inside Asterisk 1.2, maybe it's my kernel.....my 
kernel is  2.6.8-2-386 which is yours?
Have you installed a particular package like for example 
/misdn-kernel-headers/ or /misdn-kernel-source ??/

TIA

Giorgio Incantalupo


Marcus Deluigi (intern) wrote:

>Hi!
>
>I just built Asterisk on Debian Sarge myself and it worked without any
>problems.
>Can you cut 'n paste the error messages?
>I can't make any sense from the output ...
>
>Greetings,
>Marcus
>
>  
>
>>-----Original Message-----
>>From: asterisk-users-bounces at lists.digium.com 
>>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
>>Hagen Rode
>>Sent: Wednesday, November 30, 2005 6:38 PM
>>To: asterisk-users at lists.digium.com
>>Subject: [Asterisk-Users] Compiling Asterisk 1.2 from Source 
>>on Debian Sarge- Problems
>>
>>
>>
>>Hi
>>
>>I am trying to compile Asterisk 1.2 from source on Debian 
>>Sarge but am getting errors. I have looked at the errors, 
>>Googled extensively and now at a last resort am posting on 
>>this list. Believe me I have tried, but have come up with 
>>nothing. I've also installed the following packages from 
>>Debian Sarge "UNSTABLE": 
>>
>>gcc
>>kernel-headers-2.4.27
>>bison
>>openssl
>>libssl0.9.7: 
>>libssl-dev
>>libeditline0
>>libeditline-dev
>>libedit-dev
>>libedit2
>>libncurses5
>>libncurses5-dev
>>zlib1g-dev (Note: needed for cvs head)
>>
>>as well as numerous other packages that I have now lost track 
>>of. The error remains the same. It would be great if someone 
>>could help me out. I'm aware that I can apt-get Asterisk, but 
>>I want to do some tweaking in the code before installing.  
>>
>>Here is the first bit of the install message:
>>
>>build_tools/make_version_h > include/asterisk/version.h.tmp 
>>if cmp -s include/asterisk/version.h.tmp 
>>include/asterisk/version.h ; then echo; else \
>>	mv include/asterisk/version.h.tmp 
>>include/asterisk/version.h ; \ fi
>>
>>rm -f include/asterisk/version.h.tmp
>>if cmp -s .cleancount .lastclean ; then echo ; else \
>>	make clean; cp -f .cleancount .lastclean;\ fi
>>
>>build_tools/make_defaults_h > defaults.h.tmp if cmp -s 
>>defaults.h.tmp defaults.h ; then echo ; else \
>>	mv defaults.h.tmp defaults.h ; \
>>fi
>>
>>rm -f defaults.h.tmp
>>for x in res channels pbx apps codecs formats agi cdr funcs 
>>utils stdtime; do make -C $x depend || exit 1 ; done
>>make[1]: Entering directory `/opt/asterisk-1.2.0/res'
>>make[1]: Nothing to be done for `depend'.
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/res'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/channels'
>>make[1]: Nothing to be done for `depend'.
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/channels'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/pbx'
>>make[1]: Nothing to be done for `depend'.
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/pbx'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/apps'
>>../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
>>-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude 
>>-I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 
>>-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer  -fPIC `ls *.c`
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/apps'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/codecs'
>>../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
>>-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude 
>>-I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 
>>-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer  -fPIC `ls *.c`
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/codecs'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/formats'
>>../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
>>-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude 
>>-I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 
>>-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer  -fPIC `ls *.c`
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/formats'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/agi'
>>../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
>>-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude 
>>-I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 
>>-DZAPTEL_OPTIMIZATIONS
>>-fomit-frame-pointer   `ls *.c`
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/agi'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/cdr'
>>../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
>>-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude 
>>-I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 
>>-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer  -fPIC `ls *.c`
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/cdr'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/funcs'
>>../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
>>-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude 
>>-I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 
>>-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer  -fPIC `ls *.c`
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/funcs'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/utils'
>>../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
>>-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude 
>>-I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 
>>-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer  -DNO_AST_MM `ls *.c`
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/utils'
>>make[1]: Entering directory `/opt/asterisk-1.2.0/stdtime'
>>../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
>>-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude 
>>-I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 
>>-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer  *.c
>>make[1]: Leaving directory `/opt/asterisk-1.2.0/stdtime'
>>cd editline && unset CFLAGS LIBS && test -f config.h || 
>>./configure creating cache ./config.cache checking for gcc... 
>>gcc checking whether the C compiler (gcc  ) works... yes 
>>checking whether the C compiler (gcc  ) is a 
>>cross-compiler... no checking whether we are using GNU C... 
>>yes checking whether gcc accepts -g... yes checking how to 
>>run the C preprocessor... gcc -E checking host system type... 
>>i686-pc-linux-gnu checking for a BSD compatible install... 
>>install checking for ranlib... ranlib checking for ar... 
>>/usr/bin/ar checking for tgetent in -ltermcap... yes checking 
>>for termcap.h... yes checking for sys/cdefs.h... yes checking 
>>for vis.h... no checking for issetugid... no checking for 
>>strlcat... no checking for strlcpy... no checking for 
>>fgetln... no checking for strvis... no checking for 
>>strunvis... no updating cache ./config.cache creating 
>>./config.status creating Makefile creating config.h make -C 
>>editline libedit.a
>>make[1]: Entering directory `/opt/asterisk-1.2.0/editline'
>>/bin/sh makelist -h common.c > common.h
>>/bin/sh makelist -h emacs.c> emacs.h
>>/bin/sh makelist -h vi.c > vi.h
>>/bin/sh makelist -fh common.h emacs.h vi.h > fcns.h /bin/sh 
>>makelist -fc common.h emacs.h vi.h > fcns.c if uname -s | 
>>grep -qi cygwin; then cat fcns.c | sed -e 
>>s/"sys\.h"/"config.h"/g > fcns.c.copy; mv --force fcns.c.copy 
>>fcns.c; fi /bin/sh makelist -bh common.c emacs.c vi.c > 
>>help.h /bin/sh makelist -bc common.c emacs.c vi.c > help.c if 
>>uname -s | grep -qi cygwin; then cat help.c | sed -e 
>>s/"sys\.h"/"config.h"/g > help.c.copy; mv --force help.c.copy 
>>help.c; fi /bin/sh makelist -e common.c emacs.c vi.c chared.c 
>>el.c hist.c key.c map.c parse.c prompt.c read.c refresh.c 
>>search.c sig.c term.c tty.c fcns.c help.c
>>    
>>
>>>editline.c
>>>      
>>>
>>gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)='
>>'-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a 
>>
>>And then late on it says:
>>
>>Dereferencing pointer to incomplete type
>>
>>Any thoughts?
>>
>>Hagen
>>
>>
>>
>>_______________________________________________
>>--Bandwidth and Colocation provided by Easynews.com --
>>
>>Asterisk-Users mailing list
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>    
>>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>Asterisk-Users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>  
>




More information about the asterisk-users mailing list