Can't compile either I have the oh323 v 0.6.4 I downloaded both openh323 Janus v4 and pwlib Janus v4 on inAccessNet website untared it, applied the patch. and compile both pwlib and open h323 (this version compiles much much faster than the other version that seems VERY weird to me
I believe i specified the right path in my Makefile file. It starts compilation and i get all kind of error see snip down .. /usr/include/stdlib.h:837: error: storage class specified for parameter `wctomb' /usr/include/stdlib.h:841: error: erreur de syntaxe before '*' token /usr/include/stdlib.h:842: error: storage class specified for parameter `mbstowcs' /usr/include/stdlib.h:845: error: erreur de syntaxe before '*' token /usr/include/stdlib.h:846: error: storage class specified for parameter `wcstombs' In file included from chan_oh323.c:53: /usr/include/arpa/inet.h:35: error: storage class specified for parameter `inet_addr' /usr/include/arpa/inet.h:38: error: storage class specified for parameter `inet_lnaof' /usr/include/arpa/inet.h:43: error: storage class specified for parameter `inet_makeaddr' /usr/include/arpa/inet.h:46: error: storage class specified for parameter `inet_netof' /usr/include/arpa/inet.h:50: error: storage class specified for parameter `inet_network' /usr/include/arpa/inet.h:54: error: storage class specified for parameter `__dont__use__inet_ntoa__use__ast_inet_ntoa__instead__' /usr/include/arpa/inet.h:60: error: storage class specified for parameter `inet_pton' /usr/include/arpa/inet.h:67: error: storage class specified for parameter `inet_ntop' In file included from /usr/include/fcntl.h:33, from chan_oh323.c:54: /usr/include/bits/fcntl.h:186: error: storage class specified for parameter `readahead' In file included from chan_oh323.c:54: /usr/include/fcntl.h:63: error: storage class specified for parameter `fcntl' . . . . chan_oh323.c:4831: error: redeclaration of `codectmp' chan_oh323.c:4348: error: `codectmp' previously declared here chan_oh323.c:4832: error: redeclaration of `exttmp' chan_oh323.c:4349: error: `exttmp' previously declared here chan_oh323.c:4833: error: redeclaration of `i' chan_oh323.c:4354: error: `i' previously declared here chan_oh323.c:4836: error: erreur de syntaxe before "regtmp" chan_oh323.c:4945: error: redeclaration of `regtmp' chan_oh323.c:4347: error: `regtmp' previously declared here chan_oh323.c:4946: error: redeclaration of `codectmp' chan_oh323.c:4831: error: `codectmp' previously declared here chan_oh323.c:4947: error: redeclaration of `i' chan_oh323.c:4833: error: `i' previously declared here chan_oh323.c:4947: error: redeclaration of `j' chan_oh323.c:1017: error: `j' previously declared here chan_oh323.c:4948: error: redeclaration of `res' chan_oh323.c:4193: error: `res' previously declared here chan_oh323.c:4952: error: erreur de syntaxe before "ast_mutex_init" make[1]: *** [chan_oh323.o] Erreur 1 make[1]: Leaving directory `/usr/src/asterisk-oh323-0.6.4/asterisk-driver' make: *** [subdirs_build] Erreur 1 What am I missing here.. K. ----- Original Message ----- From: "Michael Manousos" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[EMAIL PROTECTED]> Sent: Thursday, November 25, 2004 11:47 AM Subject: Re: [Asterisk-Users] oh323 compile issue > administrator tootai wrote: > > Michael Manousos a ιcrit : > > > >> administrator tootai wrote: > >> > >>> Hi all, > >>> > >>> I want to give a try to oh323 (currently nufone h323 channel is setup > >>> and compiling fine) on a yesterday CVS update of asterisk. I have > >>> _pwlib 1.8.1_ and _openh323 1.15.1_ What I made: > >> > >> > >> > >> Wrong, wrong, wrong! > >> > >> 1) Read the README. > > > > > > Done > > > >> > >> 2) Get the right versions of OpenH323/Pwlib. > > > > > > Can't come back to an earlier version > > > Use the OH323STAT flag in the top-level Makefile to build > a channel driver with staically linked the libraries if you > can't setup multiple OpenH323/Pwlib versions on one machine. > > > > >> > >> 3) Follow the instructions. > > > > > > Give up the test of oh323. You told me to test it, I try it ;-) If my > > configuration don't meet the required one, too bad. > > > > You can do it. Just try harder! > > > Michael. > > > _______________________________________________ > 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