[Asterisk-bsd] Re: 1.0.2 does not build on -current

Konstantin Prokazoff kprokazov at svr.kiev.ua
Fri Dec 24 08:06:46 CST 2004


Which version of pwlib/openh323 using?

Best regards, Konstantin Prokazoff
Commercial director of SVR Ltd., Kyiv HQs, Ukraine
Official business-partner of Avaya, Inc.
tel. +38 044 244 11 81, fax. +38 044 234 04 55

----- Original Message -----
From: "Vahan Yerkanian" <vahan at arminco.com>
To: "Asterisk on BSD discussion" <asterisk-bsd at lists.digium.com>
Sent: Friday, December 24, 2004 3:36 PM
Subject: Re: [Asterisk-bsd] Re: 1.0.2 does not build on -current


> freebsd 5.3 box clean install, /usr/ports cvsuped:
>
> # cd /usr/ports/net/asterisk
> # make
> [---snip-8<---]
> gmake -C h323 ast_h323.o
> gmake[2]: Entering directory
> `/usr/ports/net/asterisk/work/asterisk-1.0.2/channels/h323'
> c++ -O -pipe -c -fno-rtti -o ast_h323.o -O -pipe  -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE   -march=i386
> -I/usr/local/include -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"1.0.2\"
> -DINSTALL_PREFIX=\"/usr/local\" -DASTETCDIR=\"/usr/local/etc/asterisk\"
> -DASTLIBDIR=\"/usr/local/lib/asterisk\"
> -DASTVARLIBDIR=\"/usr/local/share/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/usr/local/etc/asterisk/asterisk.conf\"
> -DASTMODDIR=\"/usr/local/lib/asterisk/modules\"
> -DASTAGIDIR=\"/usr/local/share/asterisk/agi-bin\"
> -DBUSYDETECT_MARTIN      -Wno-missing-prototypes
> -Wno-missing-declarations  -DOLD_SANGOMA_API     -DIAX_TRUNKING
> -I/usr/local/include  -DCRYPTO -fPIC  -DPBYTE_ORDER=PLITTLE_ENDIAN
> -DNDEBUG -DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC -pthread
> -D_REENTRANT -D_GNU_SOURCE -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
> -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA -I../../include
> -I/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix
> -I/usr/ports/devel/pwlib/work/pwlib/include
> -I/usr/ports/net/openh323/work/openh323/include -Wno-missing-prototypes
> -Wno-missing-declarations ast_h323.cpp
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> C/ObjC but not for C++
> cc1plus: warning: command line option "-Wmissing-prototypes" is valid
> for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wmissing-declarations" is valid
> for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-missing-prototypes" is valid
> for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-missing-declarations" is
> valid for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-missing-prototypes" is valid
> for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-missing-declarations" is
> valid for C/ObjC but not for C++
> In file included from
>
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:7
76,
>                   from
> /usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
>                   from
> /usr/ports/devel/pwlib/work/pwlib/include/ptlib.h:139,
>                   from ast_h323.cpp:34:
> /usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl: In
> constructor `PAbstractList::PAbstractList()':
> /usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl:419:
> warning: right-hand operand of comma has no effect
> ast_h323.cpp: In member function `void
> MyH323Connection::SendUserInputTone(char, unsigned int)':
> ast_h323.cpp:725: error: invalid conversion from `char' to `const char*'
> ast_h323.cpp: In member function `virtual void
> MyH323Connection::OnUserInputTone(char, unsigned int, unsigned int,
> unsigned int)':
> ast_h323.cpp:735: error: invalid conversion from `char' to `const char*'
> ast_h323.cpp: In member function `virtual void
> MyH323Connection::OnUserInputString(const PString&)':
> ast_h323.cpp:746: error: invalid conversion from `char' to `const char*'
>
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../pdirect.h:
> At global scope:
>
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../pdirect.h:4
58:
> warning: inline function `static BOOL PDirectory::Remove(const
> PString&)' used but never defined
> chan_h323.h:31: warning: 'bindaddr' defined but not used
> gmake[2]: *** [ast_h323.o] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/net/asterisk/work/asterisk-1.0.2/channels/h323'
> gmake[1]: *** [h323/ast_h323.o] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/net/asterisk/work/asterisk-1.0.2/channels'
> gmake: *** [subdirs] Error 1
> *** Error code 2
>
> Stop in /usr/ports/net/asterisk.
>
>
> Konstantin Prokazoff wrote:
> > Pwlib-1.7.5 compiles OK on gcc-3.4.2. Have 2 servers under 5.3 with
H.323.
> > Can you provide verbose strings?
> >
> > Best regards, Konstantin Prokazoff
> > Center Of Excellence, SVR Ltd., Kyiv HQs, Ukraine
> > Official business-partner of Avaya, Inc.
> > tel. +38 044 244 11 81, fax. +38 044 234 04 55
>


----------------------------------------------------------------------------
----


> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>



More information about the Asterisk-BSD mailing list