RE: [Asterisk-Users] cannot make app_prepaid
try to vi the app_prepaid.c and there is a line #include postgresql/libpq.h and edit it and make #include libpq.h this problem exist in modifyed app_prepaid only. Best Regards Hekuran Doli Eureka... i must edit the Makefile hehe... yes correct, i must mantion about the psql lib -L /usr/local/pgsql/lib Thnx. Regards, Freddy Setiawan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joshua McClintock Sent: Tuesday, June 29, 2004 12:56 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] cannot make app_prepaid I believe libpq is a postgres dev library. You probally need a psql-dev package of some sort. - Original Message - From: Freddy Setiawan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 28, 2004 9:34 PM Subject: [Asterisk-Users] cannot make app_prepaid hai there, today i tried to implement the prepaid application to my * box. I do the step that mantion in to voip-info. i copy the app_prepaid.c and Make file to my asteris/apps, then i run the make. but it show an error like : gcc -shared -Xlinker -x -o app_prepaid.so app_prepaid.o -lpq /usr/bin/ld: cannot find -lpq collect2: ld returned 1 exit status make[1]: *** [app_prepaid.so] Error 1 make[1]: Leaving directory '/usr/src/asterisk/apps' make: *** [subdirs] Error 1 Any sugestion what should i do? Best Regards, Freddy Setiawan ___ Asterisk-Users mailing list [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] cannot make app_prepaid
I believe libpq is a postgres dev library. You probally need a psql-dev package of some sort. - Original Message - From: Freddy Setiawan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 28, 2004 9:34 PM Subject: [Asterisk-Users] cannot make app_prepaid hai there, today i tried to implement the prepaid application to my * box. I do the step that mantion in to voip-info. i copy the app_prepaid.c and Make file to my asteris/apps, then i run the make. but it show an error like : gcc -shared -Xlinker -x -o app_prepaid.so app_prepaid.o -lpq /usr/bin/ld: cannot find -lpq collect2: ld returned 1 exit status make[1]: *** [app_prepaid.so] Error 1 make[1]: Leaving directory '/usr/src/asterisk/apps' make: *** [subdirs] Error 1 Any sugestion what should i do? Best Regards, Freddy Setiawan ___ Asterisk-Users mailing list [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] cannot make app_prepaid
Eureka... i must edit the Makefile hehe... yes correct, i must mantion about the psql lib -L /usr/local/pgsql/lib Thnx. Regards, Freddy Setiawan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joshua McClintock Sent: Tuesday, June 29, 2004 12:56 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] cannot make app_prepaid I believe libpq is a postgres dev library. You probally need a psql-dev package of some sort. - Original Message - From: Freddy Setiawan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 28, 2004 9:34 PM Subject: [Asterisk-Users] cannot make app_prepaid hai there, today i tried to implement the prepaid application to my * box. I do the step that mantion in to voip-info. i copy the app_prepaid.c and Make file to my asteris/apps, then i run the make. but it show an error like : gcc -shared -Xlinker -x -o app_prepaid.so app_prepaid.o -lpq /usr/bin/ld: cannot find -lpq collect2: ld returned 1 exit status make[1]: *** [app_prepaid.so] Error 1 make[1]: Leaving directory '/usr/src/asterisk/apps' make: *** [subdirs] Error 1 Any sugestion what should i do? Best Regards, Freddy Setiawan ___ Asterisk-Users mailing list [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users