Paul
2004-Dec-29 05:37 UTC
[Asterisk-Users] Impossible to compile last version of Asterisk
Hi, I worked with Asterisk 0.7 without problems until I tryed to load H323. I downloaded the last version and after some try I compile it. I followed the description in /asterisk/channels/h323/Readme and the compilation of this part was good. But the new compilation of Asterisk was impossible (problem with chan_h323.so). I search info with Google and I read that the problem could be with the different kind of version. Today I downloaded the last version of Zaptel, Libpri and Asterisk from cvs and I followed the description in http://www.voip-info.org/wiki-Asterisk+Zaptel+Installation. For Zaptel and Libpri it's ok. but I can' t compile Asterisk... somebody can help me? Thank you very much my version of kernel, I've SUSE 8.1 linux:/usr/src/asterisk # uname -a Linux linux 2.4.21-238-default #1 Thu Jul 29 17:37:30 UTC 2004 i686 unknown linux:/usr/src/asterisk # linux:/usr/src/asterisk # cat /proc/version Linux version 2.4.21-238-default (root@i386.suse.de) (gcc version 3.2.2) #1 Thu Jul 29 17:37:30 UTC 2004 linux:/usr/src/asterisk # the error make[1]: Leaving directory `/usr/src/asterisk/cdr' make[1]: Entering directory `/usr/src/asterisk/utils' gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-HEAD-12/29/04-09:53:32\" -DASTERISK_VERSION_NUM=999999 -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNO_AST_MM -c -o smsq.o smsq.c smsq.c: In function `main': smsq.c:422: `POPT_ARGFLAG_SHOW_DEFAULT' undeclared (first use in this function) smsq.c:422: (Each undeclared identifier is reported only once smsq.c:422: for each function it appears in.) make[1]: *** [smsq.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/utils' make: *** [subdirs] Error 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041229/148d338a/attachment.htm
Paul
2004-Dec-29 13:23 UTC
[Asterisk-Users] Impossible to compile last version of Asterisk
Now I try to download Asterisk 1.0.3 from ftp.asterisk.org/pub/asterisk and it work again, perhaps the version in cvs has a problem with my configuration... only for information... ciao ciao Paul Paul wrote:> Hi, I worked with Asterisk 0.7 without problems until I tryed to load > H323. I downloaded the last version and after some try I compile it. > I followed the description in /asterisk/channels/h323/Readme > and the compilation of this part was good. But the new compilation > of Asterisk was impossible (problem with chan_h323.so). I search > info with Google and I read that the problem could be with the different > kind of version. > Today I downloaded the last version of Zaptel, Libpri and Asterisk from > cvs and I followed the description in > http://www.voip-info.org/wiki-Asterisk+Zaptel+Installation. > For Zaptel and Libpri it's ok. but I can' t compile Asterisk... > > somebody can help me? Thank you very much > > my version of kernel, I've SUSE 8.1 > > linux:/usr/src/asterisk # uname -a > Linux linux 2.4.21-238-default #1 Thu Jul 29 17:37:30 UTC 2004 i686 > unknown > linux:/usr/src/asterisk # > linux:/usr/src/asterisk # cat /proc/version > Linux version 2.4.21-238-default (root@i386.suse.de) (gcc version 3.2.2) > #1 Thu Jul 29 17:37:30 UTC 2004 > linux:/usr/src/asterisk # > > the error > > make[1]: Leaving directory `/usr/src/asterisk/cdr' > make[1]: Entering directory `/usr/src/asterisk/utils' > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-HEAD-12/29/04-09:53:32\" > -DASTERISK_VERSION_NUM=999999 -DINSTALL_PREFIX=\"\" > -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" > -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" > -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" > -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" > -DASTMODDIR=\"/usr/lib/asterisk/modules\" > -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN > -DNO_AST_MM -c -o smsq.o smsq.c > smsq.c: In function `main': > smsq.c:422: `POPT_ARGFLAG_SHOW_DEFAULT' undeclared (first use in this > function) > smsq.c:422: (Each undeclared identifier is reported only once > smsq.c:422: for each function it appears in.) > make[1]: *** [smsq.o] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/utils' > make: *** [subdirs] Error 1 > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041229/30410125/attachment.htm