[Asterisk-Users] Compile issues: * 1.02 + FreeBSD 5.3

Jason Lixfeld jason+lists.asterisk at lixfeld.ca
Thu Dec 16 06:52:16 MST 2004


New 5.3 install.  Saw some stuff around about problems with pwlib but  
those were in 0.9 and have long since been fixed and I haven't found  
anything else out there to explain this stuff.

Anyone have any ideas?

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: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

Stop in /usr/ports/net/asterisk.




More information about the asterisk-users mailing list