Cant compile PWLib in Centos5 (error: ‘psprintf’ was not declared in this scope)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to compile pwlib in a trixbox 2.3.0.2beta box that has
been release with centos 5, please see this error:

./configure
checking for g++... g++
checking for C++ compiler default output file name... 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
configure: PTLib version is 1.8.7
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
configure: OSTYPE set to linux
configure: OSRELEASE set to "2.6.18-8.1.8.el5"
configure: MACHTYPE set to x86
configure: gcc version is 4.1.1
checking checking if pragma implementation should be used... no
checking whether byte ordering is bigendian... no
checking if linker accepts -felide-constructors... yes
checking if linker accepts -Wreorder... no
checking if compiler uses RTTI by default... yes
checking for working long double with more range or precision than double... yes
checking if readdir_r has 2 parms... no
checking if readdir_r has 3 parms... yes
checking for recvmsg... yes
checking if using STL streams... yes
checking if atomic integer available... yes
checking if __exchange_and_add is in __gnu_cxx namespace... yes
checking if Unix semaphores are available... yes
checking for pthread_create in -lpthread... yes
checking if pthread_mutex_timedlock is available... yes
checking for sem_timedwait in -lpthread... yes
checking if sem_timedwait is compilable... yes
checking if recursive mutexes are available... yes
checking how to run the C++ preprocessor... g++ -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 regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking if dlopen is available... yes
checking for dlopen in -ldl... yes
checking if plugins support needs to be compiled... no
checking for res_search... no
checking for res_search in -lresolv... yes
checking for sasl_version in -lsasl2... no
checking for sasl_client_auth in -lsasl... no
checking if <sasl.h> works... no
checking if <sasl/sasl.h> works... no
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
checking for /usr/local/include/ldap.h... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking for /usr/local/include/expat.h... no
checking for IPv6 support... yes
checking SDL/SDL.h usability... no
checking SDL/SDL.h presence... no
checking for SDL/SDL.h... no
checking for /usr/local/include/SDL11/SDL.h... no
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for ALSA sound support... no
checking for swab... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating make/ptbuildopts.mak
config.status: creating make/ptlib-config
config.status: creating Makefile
config.status: creating include/ptbuildopts.h
config.status: include/ptbuildopts.h is unchanged
configure: configuring in plugins
configure: running /bin/sh './configure' --prefix=/usr/local
--cache-file=/dev/null --srcdir=.
checking for g++... g++
checking for C++ compiler default output file name... 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
Plugin source directory is /root/H323_Support/pwlib/plugins
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 alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for ALSA sound support... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for OSS sound support... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for V4L video support... yes
checking machine/ioctl_meteor.h usability... no
checking machine/ioctl_meteor.h presence... no
checking for machine/ioctl_meteor.h... no
checking i386/ioctl_meteor.h usability... no
checking i386/ioctl_meteor.h presence... no
checking for i386/ioctl_meteor.h... no
checking dev/ic/bt8xx.h usability... no
checking dev/ic/bt8xx.h presence... no
checking for dev/ic/bt8xx.h... no
checking for BSD video support... no
checking libavc1394/avc1394.h usability... no
checking libavc1394/avc1394.h presence... no
checking for libavc1394/avc1394.h... no
checking libdv/dv.h usability... no
checking libdv/dv.h presence... no
checking for libdv/dv.h... no
checking libraw1394/raw1394.h usability... no
checking libraw1394/raw1394.h presence... no
checking for libraw1394/raw1394.h... no
checking for IEEE1394/AVC video support... no
checking libdc1394/dc1394_control.h usability... no
checking libdc1394/dc1394_control.h presence... no
checking for libdc1394/dc1394_control.h... no
checking for libraw1394/raw1394.h... (cached) no
checking for IEEE1394/DC video support... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vidinput_dc/Makefile


[trixbox1.local pwlib]# make opt
set -e; make -C src/ptlib/unix opt;
make[1]: Entering directory `/root/H323_Support/pwlib/src/ptlib/unix'
g++ -D_REENTRANT -Wall  -fPIC -I/root/H323_Support/pwlib/include -Os
-felide-constructors -x c++ -c ../../ptclib/asner.cxx -o
/root/H323_Support/pwlib/lib/obj_linux_x86_r/asner.o
../../ptclib/asner.cxx: In member function ‘PString
PASN_Choice::GetTagName() const’:
../../ptclib/asner.cxx:2112: error: ‘psprintf’ was not declared in
this scope
make[1]: *** [/root/H323_Support/pwlib/lib/obj_linux_x86_r/asner.o] Error 1
make[1]: Leaving directory `/root/H323_Support/pwlib/src/ptlib/unix'
make: *** [opt] Error 2
[trixbox1.local pwlib]#


any idea?

thanks
rafael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux