LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-28-2008, 12:26 PM   #1
chirag123
LQ Newbie
 
Registered: Nov 2007
Posts: 11

Rep: Reputation: 0
problem in Asterisk


Hi All,
I have some problem configuring Asterisk. I am using 2.6.23.1-42.fc8 kernel version.

while installing asterisk getting this error :

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 `/root/Desktop/Asterisk/asterisk-1.2.13/res'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/res'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/channels'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/channels'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/pbx'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/pbx'
/bin/sh: curl-config: command not found
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/apps'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/apps'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/codecs'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/codecs'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/formats'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/formats'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/agi'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/agi'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/cdr'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/cdr'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/funcs'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/funcs'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/utils'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/utils'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/stdtime'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/stdtime'
cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="-O6" ./configure
make -C editline libedit.a
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/editline'
make[1]: `libedit.a' is up to date.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/editline'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/db1-ast'
make[1]: `libdb1.a' is up to date.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/db1-ast'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/stdtime'
make[1]: `libtime.a' is up to date.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/stdtime'
for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x || exit 1 ; done
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/res'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/res'
make[1]: Entering directory `/root/Desktop/Asterisk/asterisk-1.2.13/channels'
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -fPIC -c -o chan_phone.o chan_phone.c
chan_phone.c:41:29: error: linux/compiler.h: No such file or directory
make[1]: *** [chan_phone.o] Error 1
make[1]: Leaving directory `/root/Desktop/Asterisk/asterisk-1.2.13/channels'
make: *** [subdirs] Error 1
 
Old 01-28-2008, 12:50 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
So I'm assuming this is on Fedora Core 8? What step during the install are you getting this error? Are you really installing asterisk 1.2.13? You do realize they're now on 1.4.17? Anything else you need to mention during the install, like any special flags or options used? Details man or we're just as clueless as you are.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
asterisk echo problem Ammad Linux - General 2 01-15-2010 07:09 AM
Asterisk problem in Startup syedjanu Linux - Server 3 11-07-2007 02:12 PM
LXer: Installing The Asterisk PBX And The Asterisk Web-Based Provisioning GUI On Linu LXer Syndicated Linux News 0 09-25-2007 02:50 PM
asterisk configuration to make a call PC - PC through asterisk priya001 Linux - Server 0 11-08-2006 06:06 AM
LXer: VoIPowering Your Office with Asterisk: Shiny New Asterisk 1.4 LXer Syndicated Linux News 0 11-03-2006 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration