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

Jason Lixfeld jason+lists.asterisk at lixfeld.ca
Thu Dec 23 09:55:43 CST 2004


So anyone able to duplicate this?  Has anyone compiled from cvsup'd  
ports in the last week?

Begin forwarded message:

> From: Jason Lixfeld <jason+lists.asterisk at lixfeld.ca>
> Date: December 17, 2004 4:12:50 PM EST
> To: Asterisk on BSD discussion <asterisk-bsd at lists.digium.com>
> Subject: Re: [Asterisk-bsd] 1.0.2 does not build on -current
> Reply-To: Asterisk on BSD discussion <asterisk-bsd at lists.digium.com>
>
> Ya, ditto...  Except it was as of Wednesday.  Actually, was probably  
> as of:
>
> # $FreeBSD: ports/net/asterisk/Makefile,v 1.18 2004/12/13 13:35:02  
> sobomax Exp $
>
> Tried on 4.10 (11-PRERELEASE), 5.3 and now 5.2.1 but I have a feeling  
> now that since I'm not the only one, I might as well not bother trying  
> because the likelihood is that it won't work anyway...
>
> On Dec 17, 2004, at 3:19 PM, Randy Bush wrote:
>
>> - current as of today
>>
>> gmake[2]: Entering directory  
>> `/usr/ports/net/asterisk/work/asterisk-1.0.2/channels/h323'
>> c++ -O -pipe -march=pentiumpro -c -fno-rtti -o ast_h323.o -O -pipe  
>> -march=pentiumpro -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:776,
>>                  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:458: 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_______________________________________________
>> Asterisk-BSD mailing list
>> Asterisk-BSD at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> _______________________________________________
> 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