[Asterisk-Users] Build on Itanium fails
Derek Whitten
derek at kfuq.net
Tue Aug 9 11:19:57 MST 2005
why not go back into your * src tree and 'make samples'?
On Tue, 2005-08-09 at 10:59, Jonas Arndt wrote:
> Hi Zoa,
>
> Nope, I didn't. I thought I was VERY clear on that point. What I did was
> following the guidlines in the "An introduction to Asterisk" document.It
> told me to create certain conf files in /etc/asterisk and then start it,
> which I did.
>
> In any case, I find it EXTREMELY hard to believe that an application
> should SegFault from missing configuration files. There's gotta be
> something else going on here, wouldn't you agree?
>
> // Jonas
>
> Zoa wrote:
>
> >
> > Did you ever try asterisk on a non itanium ?
> >
> > You dont have a single configuration file on your machine, of course it
> > doesnt work :p
> >
> > zoa
> >
> > Jonas Arndt wrote:
> >
> >> Hi,
> >>
> >> The story never ends.... After a succesful buld without gsm codec, I
> >> installed it and ran:
> >>
> >> itanium:/etc/asterisk # /usr/sbin/asterisk -cvvv
> >> == Parsing '/etc/asterisk/asterisk.conf': Not found (No such file or
> >> directory)
> >> == Parsing '/etc/asterisk/extconfig.conf': Not found (No such file or
> >> directory)
> >> Asterisk CVS-HEAD, Copyright (C) 1999 - 2005 Digium.
> >> Written by Mark Spencer <markster at digium.com>
> >> =========================================================================
> >>
> >> == Parsing '/etc/asterisk/logger.conf': Not found (No such file or
> >> directory)
> >> Asterisk Event Logger Started /var/log/asterisk/event_log
> >> Asterisk Dynamic Loader loading preload modules:
> >> == Parsing '/etc/asterisk/modules.conf': Found
> >> == Manager registered action Ping
> >> == Manager registered action Events
> >> == Manager registered action Logoff
> >> == Manager registered action Hangup
> >> == Manager registered action Status
> >> == Manager registered action Setvar
> >> == Manager registered action Getvar
> >> == Manager registered action Redirect
> >> == Manager registered action Originate
> >> == Manager registered action Command
> >> == Manager registered action ExtensionState
> >> == Manager registered action AbsoluteTimeout
> >> == Manager registered action MailboxStatus
> >> == Manager registered action MailboxCount
> >> == Manager registered action ListCommands
> >> == Parsing '/etc/asterisk/manager.conf': Not found (No such file or
> >> directory)
> >> == Parsing '/etc/asterisk/cdr.conf': Not found (No such file or
> >> directory)
> >> == Parsing '/etc/asterisk/rtp.conf': Not found (No such file or
> >> directory)
> >> == RTP Allocating from port range 5000 -> 31000
> >> Asterisk PBX Core Initializing
> >> Registering builtin applications:
> >> [AbsoluteTimeout]
> >> == Registered application 'AbsoluteTimeout'
> >> [Answer]
> >> == Registered application 'Answer'
> >> [BackGround]
> >> == Registered application 'BackGround'
> >> [Busy]
> >> == Registered application 'Busy'
> >> [Congestion]
> >> == Registered application 'Congestion'
> >> [DigitTimeout]
> >> == Registered application 'DigitTimeout'
> >> [Goto]
> >> == Registered application 'Goto'
> >> [GotoIf]
> >> == Registered application 'GotoIf'
> >> [GotoIfTime]
> >> == Registered application 'GotoIfTime'
> >> [ExecIfTime]
> >> == Registered application 'ExecIfTime'
> >> [Hangup]
> >> == Registered application 'Hangup'
> >> [NoOp]
> >> == Registered application 'NoOp'
> >> [Prefix]
> >> == Registered application 'Prefix'
> >> [Progress]
> >> == Registered application 'Progress'
> >> [ResetCDR]
> >> == Registered application 'ResetCDR'
> >> [ResponseTimeout]
> >> == Registered application 'ResponseTimeout'
> >> [Ringing]
> >> == Registered application 'Ringing'
> >> [SayNumber]
> >> == Registered application 'SayNumber'
> >> [SayDigits]
> >> == Registered application 'SayDigits'
> >> [SayAlpha]
> >> == Registered application 'SayAlpha'
> >> [SayPhonetic]
> >> == Registered application 'SayPhonetic'
> >> [SetAccount]
> >> == Registered application 'SetAccount'
> >> [SetAMAFlags]
> >> == Registered application 'SetAMAFlags'
> >> [SetGlobalVar]
> >> == Registered application 'SetGlobalVar'
> >> [SetLanguage]
> >> == Registered application 'SetLanguage'
> >> [Set]
> >> == Registered application 'Set'
> >> [SetVar]
> >> == Registered application 'SetVar'
> >> [ImportVar]
> >> == Registered application 'ImportVar'
> >> [StripMSD]
> >> == Registered application 'StripMSD'
> >> [Suffix]
> >> == Registered application 'Suffix'
> >> [Wait]
> >> == Registered application 'Wait'
> >> [WaitExten]
> >> == Registered application 'WaitExten'
> >> Asterisk Dynamic Loader Starting:
> >> == Parsing '/etc/asterisk/modules.conf': Found
> >> [chan_modem.so] => (Generic Voice Modem Driver)
> >> == Parsing '/etc/asterisk/modem.conf': Found
> >> == Loading modem driver chan_modem_aopen.so => (A/Open (Rockwell
> >> Chipset) ITU-2 VoiceModem Driver)
> >> == Registered channel type 'Modem' (Generic Voice ModemChannel Driver)
> >> [res_musiconhold.so] => (Music On Hold Resource)
> >> == Registered application 'MusicOnHold'
> >> == Registered application 'WaitMusicOnHold'
> >> == Registered application 'SetMusicOnHold'
> >> == Registered application 'StartMusicOnHold'
> >> == Registered application 'StopMusicOnHold'
> >> == Parsing '/etc/asterisk/musiconhold.conf': Not found (No such file
> >> or directory)
> >> [res_agi.so] => (Asterisk Gateway Interface (AGI))
> >> == Registered application 'DeadAGI'
> >> == Registered application 'EAGI'
> >> == Registered application 'AGI'
> >> [res_adsi.so] => (ADSI Resource)
> >> == Parsing '/etc/asterisk/adsi.conf': Not found (No such file or
> >> directory)
> >> [res_features.so] => (Call Features Resource)
> >> == Parsing '/etc/asterisk/features.conf': Not found (No such file or
> >> directory)
> >> == Parsing '/etc/asterisk/parking.conf': Not found (No such file or
> >> directory)
> >> -- Registered extension context 'parkedcalls'
> >> -- Added extension '700' priority 1 to parkedcalls
> >> == Registered application 'ParkedCall'
> >> == Registered application 'Park'
> >> == Manager registered action ParkedCalls
> >> [res_crypto.so] => (Cryptographic Digital Signatures)
> >> -- Loaded PUBLIC key 'iaxtel'
> >> -- Loaded PUBLIC key 'freeworlddialup'
> >> [res_indications.so] => (Indications Configuration)
> >> == Parsing '/etc/asterisk/indications.conf': Not found (No such file
> >> or directory)
> >> == Registered application 'PlayTones'
> >> == Registered application 'StopPlayTones'
> >> [res_monitor.so] => (Call Monitoring Resource)
> >> == Registered application 'Monitor'
> >> == Registered application 'StopMonitor'
> >> == Registered application 'ChangeMonitor'
> >> == Manager registered action Monitor
> >> == Manager registered action StopMonitor
> >> == Manager registered action ChangeMonitor
> >> [chan_sip.so] => (Session Initiation Protocol (SIP))
> >> == Registered channel type 'SIP' (Session Initiation Protocol (SIP))
> >> == Parsing '/etc/asterisk/sip.conf': Not found (No such file or
> >> directory)
> >> == Unregistered channel type 'SIP'
> >> Segmentation fault
> >> itanium:/etc/asterisk
> >> #
> >>
> >>
> >> As you can see it ended with a SegFault.
> >>
> >> Any ideas? Did anybody build successfully on Itanium?
> >>
> >> Thanks,
> >>
> >> // Jonas
> >>
> >>
> >>
> >> Hi Again,
> >>
> >> I removed codec_gsm.so from codecs/Makefile and the build work. Like I
> >> said, I am not too familiar with Asterisk yet. What implications will
> >> this have to the functionality?
> >>
> >> Thanks,
> >>
> >> // Jonas
> >>
> >>
> >>
> >> Jonas Arndt wrote:
> >>
> >>> Thanks Guys,
> >>>
> >>> I should have mentioned that I have already tried to remove the flag.
> >>> What happens then is that I run into other issues.
> >>>
> >>> =========================================================================
> >>>
> >>>
> >>> gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> >>> -Wmissing-declarations
> >>> -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6
> >>> -DZAPTEL_OPTIMIZAT
> >>> IONS -fomit-frame-pointer -fPIC -c
> >>> -DNeedFunctionPrototypes=1 -fun
> >>> roll-loops -fPIC -O6 -DSASR -DNDEBUG -DWAV49 -I./inc src/table.c
> >>> as -o src/k6opt.o src/k6opt.s
> >>> src/k6opt.s: Assembler messages:
> >>> src/k6opt.s:9: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:10: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:11: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:12: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:13: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:14: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:15: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:16: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:17: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:18: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:19: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:20: Error: unknown pseudo-op: `.value'
> >>> src/k6opt.s:27: Error: Unknown opcode `pushl %ebp'
> >>> src/k6opt.s:28: Error: bad expression
> >>> src/k6opt.s:28: Error: Illegal operandseparator `e'
> >>> src/k6opt.s:29: Error: Unknown opcode `pushl %edi'
> >>> src/k6opt.s:30: Error: Unknown opcode `pushl %esi'
> >>> src/k6opt.s:31: Error: Unknown opcode `pushl %ebx'
> >>> src/k6opt.s:32: Error: Illegal operand separator `('
> >>> src/k6opt.s:33: Error: Illegal operand separator `('
> >>> src/k6opt.s:34: Error: bad expression
> >>> src/k6opt.s:34: Error: Illegal operand separator `e'
> >>> src/k6opt.s:35: Error: Unknown opcode `emms'
> >>> src/k6opt.s:36: Error: bad expression
> >>> src/k6opt.s:36: Error: Illegal operand separator `e'
> >>> src/k6opt.s:36: Error: Unknown opcode `movd %eax,%mm5'
> >>> src/k6opt.s:37: Error: Unknown opcode `movq coefs,%mm1'
> >>> src/k6opt.s:38: Error: Unknown opcode `movq coefs+8,%mm2'
> >>> src/k6opt.s:39: Error: Unknown opcode `movq coefs+16,%mm3'
> >>> src/k6opt.s:40: Error: Unknown opcode `xorl %esi,%esi'
> >>> src/k6opt.s:43: Error: Unknown opcode `movq (%ebx,%esi,2),%mm0'
> >>> src/k6opt.s:44: Error: Unknown opcode `pmaddwd %mm1,%mm0'
> >>> src/k6opt.s:46: Error: Unknown opcode `movq 8(%ebx,%esi,2),%mm4'
> >>> src/k6opt.s:47: Error: Unknown opcode `pmaddwd %mm2,%mm4'
> >>> src/k6opt.s:48: Error: Unknown opcode `paddd %mm4,%mm0'
> >>> src/k6opt.s:50: Error: Unknown opcode `movq 16(%ebx,%esi,2),%mm4'
> >>> src/k6opt.s:51: Error: Unknown opcode `pmaddwd %mm3,%mm4'
> >>> src/k6opt.s:52: Error: Unknown opcode `paddd %mm4,%mm0'
> >>> =========================================================================
> >>>
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> // Jonas
> >>>
> >>> Kevin P. Fleming wrote:
> >>>
> >>>> Jonas Arndt wrote:
> >>>>
> >>>>> The problem I am currently facing seem to be in the codecs/gsm
> >>>>> directory. I am getting the error:
> >>>>> ===============================================================
> >>>>> make[2]: Entering directory `/usr/src/asterisk/codecs/gsm'
> >>>>> if [ ! -d ./lib ] ; then mkdir ./lib ; fi
> >>>>> gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> >>>>> -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT
> >>>>> -D_GNU_SOURCE -O6 -DZAPTEL_OPTIMIZATIONS
> >>>>> -fomit-frame-pointer -fPIC -c -DNeedFunctionPrototypes=1
> >>>>> -funroll-loops -fPIC -O6 -march=ia64 -DSASR -DNDEBUG -DWAV49
> >>>>> -I./inc src/add.c
> >>>>> cc1: error: invalid option `arch=ia64'
> >>>>> ===============================================================
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> The GSM Makefile is somewhat stupid in this regard; it also fails on
> >>>> x86-64 machines. I'd suggest just editing codecs/gsm/Makefile to
> >>>> remove the 'arch' flag, since it really won't make a big difference,
> >>>> especially if you aren't doing GSM transcoding.
> >>>> _______________________________________________
> >>>> Asterisk-Users mailing list
> >>>> Asterisk-Users at 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 at 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 at 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 at 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 at 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
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/GIT> d-@ s+:+ a? C+++ BLHIS$ U+++ P+> L+++ !E W+++$ N++ o+ K w--
PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+> h---- r+++ y++++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050809/fbc1d5b6/attachment.pgp
More information about the asterisk-users
mailing list