[asterisk-users] Facing issue in installation of asterisk ...

virendra bhati virbhati at gmail.com
Thu Nov 22 03:05:12 CST 2012


Hi Team,

That's 1st time I had that issue with installation.. I tried with 1.4,1.6
but the same issue and after log of googling I drop an e-mail...

I am sure that not asterisk product issue, but I want to know what
module,rpm I missed on that process...

Below are the error details on centof 5.8 with asterisk 1.4 and 1.6 issue
....



mkdir -p /var/lib/asterisk/agi-bin
make -C sounds install
make[1]: Entering directory `/usr/src/asterisk/asterisk-1.6.2.23/sounds'
mkdir -p /var/lib/asterisk/sounds/en
mkdir -p /var/lib/asterisk/sounds/en_AU
mkdir -p /var/lib/asterisk/sounds/es
mkdir -p /var/lib/asterisk/sounds/fr
mkdir -p /var/lib/asterisk/moh
make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.6.2.23/sounds'
mkdir -p /usr/lib/asterisk/modules
mkdir -p /usr/sbin
mkdir -p /etc/asterisk
mkdir -p /var/run/asterisk
mkdir -p /var/spool/asterisk/voicemail
mkdir -p /var/spool/asterisk/dictate
mkdir -p /var/spool/asterisk/system
mkdir -p /var/spool/asterisk/tmp
mkdir -p /var/spool/asterisk/meetme
mkdir -p /var/spool/asterisk/monitor
make[1]: Warning: File `/usr/include/linux/limits.h' has modification time
2e+05 s in the future
   [CC] eagi-test.c -> eagi-test.o
In file included from eagi-test.c:8:
/usr/include/asterisk.h:21:33: error: asterisk/autoconfig.h: No such file
or directory
/usr/include/asterisk.h:27:29: error: asterisk/compat.h: No such file or
directory
In file included from eagi-test.c:8:
/usr/include/asterisk.h:195: error: expected declaration specifiers or
â...â before âuint64_tâ
/usr/include/asterisk.h:196: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âast_profileâ
/usr/include/asterisk.h:197: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âast_markâ
eagi-test.c: In function âread_environmentâ:
eagi-test.c:27: error: âstdinâ undeclared (first use in this function)
eagi-test.c:27: error: (Each undeclared identifier is reported only once
eagi-test.c:27: error: for each function it appears in.)
eagi-test.c:32: warning: incompatible implicit declaration of built-in
function âstrlenâ
eagi-test.c:36: warning: incompatible implicit declaration of built-in
function âstrchrâ
eagi-test.c:38: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c:38: error: âstderrâ undeclared (first use in this function)
eagi-test.c:45: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c: In function âwait_resultâ:
eagi-test.c:57: error: âfd_setâ undeclared (first use in this function)
eagi-test.c:57: error: expected â;â before âfdsâ
eagi-test.c:63: error: âfdsâ undeclared (first use in this function)
eagi-test.c:64: error: âSTDIN_FILENOâ undeclared (first use in this
function)
eagi-test.c:65: error: âSTDERR_FILENOâ undeclared (first use in this
function)
eagi-test.c:67: error: âNULLâ undeclared (first use in this function)
eagi-test.c:69: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c:69: error: âstderrâ undeclared (first use in this function)
eagi-test.c:69: error: âerrnoâ undeclared (first use in this function)
eagi-test.c:73: error: âstdinâ undeclared (first use in this function)
eagi-test.c:77: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c:80: warning: incompatible implicit declaration of built-in
function âstrlenâ
eagi-test.c:81: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c: In function ârun_commandâ:
eagi-test.c:105: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c:105: error: âstdoutâ undeclared (first use in this function)
eagi-test.c: In function ârun_scriptâ:
eagi-test.c:114: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c:114: error: âstderrâ undeclared (first use in this function)
eagi-test.c:117: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c: In function âmainâ:
eagi-test.c:151: error: âstdinâ undeclared (first use in this function)
eagi-test.c:152: error: âstdoutâ undeclared (first use in this function)
eagi-test.c:154: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c:154: error: âstderrâ undeclared (first use in this function)
eagi-test.c:154: error: âerrnoâ undeclared (first use in this function)
eagi-test.c:155: warning: incompatible implicit declaration of built-in
function âexitâ
eagi-test.c:157: warning: assignment makes pointer from integer without a
cast
eagi-test.c:159: warning: incompatible implicit declaration of built-in
function âsscanfâ
eagi-test.c:163: warning: incompatible implicit declaration of built-in
function âfprintfâ
eagi-test.c:164: warning: incompatible implicit declaration of built-in
function âexitâ
eagi-test.c:168: warning: incompatible implicit declaration of built-in
function âexitâ
make[1]: *** [eagi-test.o] Error 1
make: *** [agi-install] Error 2
[root at localhost asterisk-1.6.2.23]#


-- 

Thanks and regards

 Virendra Bhati
+91-9250078532
Asterisk Developer
E-mail-: virbhati at gmail.com
Skype id:- virbhati2
New Delhi(India)
[image: View my profile on
LinkedIn]<http://in.linkedin.com/pub/virendra-bhati/6/a30/755>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121122/9e5a7473/attachment.htm>


More information about the asterisk-users mailing list