virendra bhati
2012-Nov-22 09:05 UTC
[asterisk-users] Facing issue in installation of asterisk ...
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>