[Asterisk-Users] problem in compiling openh323

Kamran Ahmad p_kami at yahoo.com
Tue Mar 8 07:45:38 MST 2005


hello all

i am having a problem in compiling openh323. 


[root at kamran openh323]# ./configure
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler...
yes
checking whether g++ accepts -g... yes
OpenH323 version is 1.13.5
checking for /pwlib/version.h... yes
PWLib prefix set to.... /pwlib
checking for gcc... gcc
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking avcodec.h usability... no
checking avcodec.h presence... no
checking for avcodec.h... no
checking encoder-h263.h usability... no
checking encoder-h263.h presence... no
checking for encoder-h263.h... no
checking for speex_encoder_destroy in -lspeex... yes
checking system Speex version... 1.0.3
checking library Speex version... 1.0
checking Speex versions... system version is more
recent
checking linux/telephony.h usability... yes
checking linux/telephony.h presence... yes
checking for linux/telephony.h... yes
checking sys/telephony.h usability... no
checking sys/telephony.h presence... no
checking for sys/telephony.h... no
checking /usr/local/include/sys/telephony.h
usability... no
checking /usr/local/include/sys/telephony.h
presence... no
checking for /usr/local/include/sys/telephony.h... no
configure: creating ./config.status
config.status: creating openh323u.mak
config.status: creating Makefile
config.status: creating include/openh323buildopts.h

[root at kamran openh323]# make opt
set -e; make -C src opt; make -C samples/simple opt;
make[1]: Entering directory `/openh323/src'
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h225_1.cxx -o
/openh323/lib/obj_linux_x86_r/h225_1.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h225_2.cxx -o
/openh323/lib/obj_linux_x86_r/h225_2.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h245_1.cxx -o
/openh323/lib/obj_linux_x86_r/h245_1.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h245_2.cxx -o
/openh323/lib/obj_linux_x86_r/h245_2.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h245_3.cxx -o
/openh323/lib/obj_linux_x86_r/h245_3.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h248.cxx -o
/openh323/lib/obj_linux_x86_r/h248.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c x880.cxx -o
/openh323/lib/obj_linux_x86_r/x880.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c t38.cxx -o /openh323/lib/obj_linux_x86_r/t38.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h4501.cxx -o
/openh323/lib/obj_linux_x86_r/h4501.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h4502.cxx -o
/openh323/lib/obj_linux_x86_r/h4502.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h4504.cxx -o
/openh323/lib/obj_linux_x86_r/h4504.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h4505.cxx -o
/openh323/lib/obj_linux_x86_r/h4505.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h4506.cxx -o
/openh323/lib/obj_linux_x86_r/h4506.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h4507.cxx -o
/openh323/lib/obj_linux_x86_r/h4507.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h4508.cxx -o
/openh323/lib/obj_linux_x86_r/h4508.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h4509.cxx -o
/openh323/lib/obj_linux_x86_r/h4509.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h45010.cxx -o
/openh323/lib/obj_linux_x86_r/h45010.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h45011.cxx -o
/openh323/lib/obj_linux_x86_r/h45011.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h501.cxx -o
/openh323/lib/obj_linux_x86_r/h501.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c mcspdu.cxx -o
/openh323/lib/obj_linux_x86_r/mcspdu.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c gccpdu.cxx -o
/openh323/lib/obj_linux_x86_r/gccpdu.o
g++  -DP_LINUX=2.6.5-1.358 -ffunction-sections
-fdata-sections -D_REENTRANT -Wall  -fPIC
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/pwlib/include/ptlib/unix -I/usr/include/pwlib
-DPTRACING -I/openh323/include -DHAS_OSS -DPTRACING
-I/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h323.cxx -o
/openh323/lib/obj_linux_x86_r/h323.o
 
cc1plus: out of memory allocating 41042760 bytes after
a total of 12800000 bytes
make[1]: *** [/openh323/lib/obj_linux_x86_r/h323.o]
Error 1
make[1]: Leaving directory `/openh323/src'
make: *** [opt] Error 2
[root at kamran openh323]#



	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/



More information about the asterisk-users mailing list