preeta.pandey at wipro.com
2008-Jan-25 03:54 UTC
[asterisk-users] Finding difficulty in installing Asterisk
Hi all, Please help me in installing Asterisk. I am getting the following error when trying to install Libpri [treepr at CDC5S3FB-174202 Asterisk]$ cd libpri-1.4.2 [treepr at CDC5S3FB-174202 libpri-1.4.2]$ make clean rm -f *.o *.so *.lo *.so.1 *.so.1.0 rm -f testprilib libpri.a libpri.so.1.0 rm -f pritest pridump rm -f .depend [treepr at CDC5S3FB-174202 libpri-1.4.2]$ make install gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o copy_string.o copy_string.c gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o pri.o pri.c gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o q921.o q921.c gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o prisched.o prisched.c gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o q931.o q931.c In file included from q931.c:28: pri_internal.h:263: error: expected declaration specifiers or ?...? before ?size_t? q931.c: In function ?receive_calling_party_number?: q931.c:949: error: too many arguments to function ?libpri_copy_string? q931.c: In function ?transmit_keypad_facility?: q931.c:1425: error: too many arguments to function ?libpri_copy_string? q931.c: In function ?q931_keypad_facility?: q931.c:2492: error: too many arguments to function ?libpri_copy_string? q931.c: In function ?pri_release_finaltimeout?: q931.c:2667: error: too many arguments to function ?libpri_copy_string? q931.c: In function ?q931_setup?: q931.c:2817: error: too many arguments to function ?libpri_copy_string? q931.c:2820: error: too many arguments to function ?libpri_copy_string? q931.c:2837: error: too many arguments to function ?libpri_copy_string? q931.c:2854: error: too many arguments to function ?libpri_copy_string? q931.c:2860: error: too many arguments to function ?libpri_copy_string? q931.c: In function ?q931_receive?: q931.c:3314: error: too many arguments to function ?libpri_copy_string? q931.c:3315: error: too many arguments to function ?libpri_copy_string? q931.c:3316: error: too many arguments to function ?libpri_copy_string? q931.c:3318: error: too many arguments to function ?libpri_copy_string? q931.c:3319: error: too many arguments to function ?libpri_copy_string? q931.c:3320: error: too many arguments to function ?libpri_copy_string? q931.c:3321: error: too many arguments to function ?libpri_copy_string? q931.c:3322: error: too many arguments to function ?libpri_copy_string? q931.c:3323: error: too many arguments to function ?libpri_copy_string? q931.c:3324: error: too many arguments to function ?libpri_copy_string? q931.c:3351: error: too many arguments to function ?libpri_copy_string? q931.c:3381: error: too many arguments to function ?libpri_copy_string? q931.c:3395: error: too many arguments to function ?libpri_copy_string? q931.c:3396: error: too many arguments to function ?libpri_copy_string? q931.c:3482: error: too many arguments to function ?libpri_copy_string? q931.c:3510: error: too many arguments to function ?libpri_copy_string? q931.c:3545: error: too many arguments to function ?libpri_copy_string? q931.c:3573: error: too many arguments to function ?libpri_copy_string? q931.c:3599: error: too many arguments to function ?libpri_copy_string? q931.c:3607: error: too many arguments to function ?libpri_copy_string? q931.c:3608: error: too many arguments to function ?libpri_copy_string? q931.c: In function ?pri_internal_clear?: q931.c:3695: error: too many arguments to function ?libpri_copy_string? make: *** [q931.o] Error 1 Please help me out. Thanking you, Preeta Pandey Please do not print this email unless it is absolutely necessary. Spread environmental awareness. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080125/80b6e17e/attachment.htm
Mark Johnson
2008-Jan-25 04:16 UTC
[asterisk-users] Finding difficulty in installing Asterisk
preeta.pandey at wipro.com wrote:> > Hi all, > > Please help me in installing Asterisk. > > I am getting the following error when trying to install Libpri> > > Please help me out. > > Thanking you, > > Preeta PandeyYou aren't compiling the latest version of 1.4.3. Have you tried that? If that doesn't work, what are the specs of the machine you are on? OS? 32 or 64bit? etc... -- Mark Johnson http://www.astroshapes.com/information-technology/blog
Lyle Giese
2008-Jan-25 04:25 UTC
[asterisk-users] Finding difficulty in installing Asterisk
You need to do a 'make' before the 'make install'. Lyle preeta.pandey at wipro.com wrote:> > Hi all, > > Please help me in installing Asterisk. > > I am getting the following error when trying to install Libpri > > > [treepr at CDC5S3FB-174202 Asterisk]$ cd libpri-1.4.2 > [treepr at CDC5S3FB-174202 libpri-1.4.2]$ make clean > rm -f *.o *.so *.lo *.so.1 *.so.1.0 > rm -f testprilib libpri.a libpri.so.1.0 > rm -f pritest pridump > rm -f .depend > [treepr at CDC5S3FB-174202 libpri-1.4.2]$ make install > gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g > -fPIC -c -o copy_string.o copy_string.c >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080124/185e0cd1/attachment.htm
Joris Cras
2008-Jan-25 18:58 UTC
[asterisk-users] Finding difficulty in installing Asterisk
Tzafrir Cohen wrote:> On Fri, Jan 25, 2008 at 02:08:02PM +0530, preeta.pandey at wipro.com wrote: > >> Hi, >> >> I am using Fedora and I tried to install Libpri-1.4.3 but now I am getting error "AVC access denied". Its saying I need to disable SELinux protection. I do not know what to do. Please help me out. >> > > Again, what distrbution and vversion of it do you use? > >Just set the SELINUX=enforcing to SELINUX=disabled in /etc/selinux/config. Reboot and this will disable selinux completely. Then try again. Good luck. Greetings, Joris