[Asterisk-Users] Re: problem in compiling openh323

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


hello

i have tried 
http://www.oinko.net/astrecipes/index.php?action=artikel&cat=270174&id=10&artlang=en
but failed same error while compiling openh323

---------------------------------------------------
g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for
instructions.
make[1]: *** [/openh323/lib/obj_linux_x86_r/h323.o]
Error 1
make[1]: Leaving directory `/openh323/src'
make: *** [opt] Error 2
---------------------------------------------------


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



	
		
__________________________________ 
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