Compile failure, GK v2.3.1 / CVS

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

 



Ubuntu 9.04
# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.3.3-5ubuntu4'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --with-tune=generic
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)

Managed to compile and install PTLib and openh323plus.

openh323GK configure is:

# ./configure --enable-h46018 --disable-radius
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
checking if MSG_NOSIGNAL is supported by recv call... 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 ISO C89... none needed
no
checking for /home/rkulagowski/ptlib/make/unix.mak... yes
checking for ptlib-config... /home/rkulagowski/ptlib/make/ptlib-config
PWLib prefix set to /home/rkulagowski/ptlib
PTLib version is 2.4.5
checking for /usr/local/include/openh323/h323.h... yes
OpenH323 prefix set to /usr/local
checking for /usr/local/version.h... no
checking for /usr/local/share/openh323//openh323buildopts.h... no
checking for /usr/local/share/openh323//../../include/openh323/openh323buildopts.h...
yes
OpenH323 version is OPENH323_MAJOR.OPENH323_MINOR.OPENH323_BUILD
./configure: line 3935: test: OPENH323_MAJOR: integer expression expected
./configure: line 3939: test: OPENH323_MAJOR: integer expression expected
H.460.18 / H.460.19 support enabled
H.460.23 / H.460.24 support enabled
RADIUS support disabled
LARGE FDSET support disabled
checking for compress in -lz... yes
checking for mysql.h... no
configure: WARNING: mysql headers not found. Use --with-mysql-include-dir=<path>
configure: WARNING: MySQL disabled
MySQL support disabled
checking for libpq-fe.h... no
configure: WARNING: pgsql headers not found. Use --with-pgsql-include-dir=<path>
configure: WARNING: PostgreSQL disabled
PostgreSQL support disabled
checking for ibase.h... no
configure: WARNING: Firebird headers not found. Use
--with-firebird-include-dir=<path>
configure: WARNING: Firebird disabled
Firebird support disabled
checking for sqlext.h... no
configure: WARNING: unixODBC headers not found. Use
--with-unixodbc-include-dir=<path>
configure: WARNING: unixODBC disabled
unixODBC support disabled
checking for sqlite3.h... yes
checking for sqlite3_libversion in -lsqlite3... yes
SQLite support enabled
GNU Gatkeeper version is 2.3.1
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnugkbuildopts.h
config.status: gnugkbuildopts.h is unchanged

During the compile of openh323GK, I get this:

$ make optnoshared

<snip>
RasTbl.h:1273: warning: âCallRec::m_proceedingSentâ will be initialized after
RasTbl.h:1240: warning:   âCallRec::NatStrategy CallRec::m_natstrategyâ
RasTbl.cxx:2111: warning:   when initialized here
g++ -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1  -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT
-fno-exceptions  -Wall  -DNDEBUG -I/home/rkulagowski/ptlib/include
-DPTRACING -I/usr/local/include/openh323 -DMAJOR_VERSION=2
-DMINOR_VERSION=3 -DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder
 -c Routing.cxx -o obj_linux_x86/Routing.o
g++ -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1  -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT
-fno-exceptions  -Wall  -DNDEBUG -I/home/rkulagowski/ptlib/include
-DPTRACING -I/usr/local/include/openh323 -DMAJOR_VERSION=2
-DMINOR_VERSION=3 -DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder
 -c Neighbor.cxx -o obj_linux_x86/Neighbor.o
Neighbor.cxx:64:2: warning: #warning "Your PTLib version isn't able to
produce compatible MD5 crypto tokens"
g++ -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1  -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT
-fno-exceptions  -Wall  -DNDEBUG -I/home/rkulagowski/ptlib/include
-DPTRACING -I/usr/local/include/openh323 -DMAJOR_VERSION=2
-DMINOR_VERSION=3 -DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder
 -c GkClient.cxx -o obj_linux_x86/GkClient.o
g++ -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1  -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT
-fno-exceptions  -Wall  -DNDEBUG -I/home/rkulagowski/ptlib/include
-DPTRACING -I/usr/local/include/openh323 -DMAJOR_VERSION=2
-DMINOR_VERSION=3 -DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder
 -c gkauth.cxx -o obj_linux_x86/gkauth.o
g++ -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1  -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT
-fno-exceptions  -Wall  -DNDEBUG -I/home/rkulagowski/ptlib/include
-DPTRACING -I/usr/local/include/openh323 -DMAJOR_VERSION=2
-DMINOR_VERSION=3 -DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder
 -c RasSrv.cxx -o obj_linux_x86/RasSrv.o
g++ -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1  -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT
-fno-exceptions  -Wall  -DNDEBUG -I/home/rkulagowski/ptlib/include
-DPTRACING -I/usr/local/include/openh323 -DMAJOR_VERSION=2
-DMINOR_VERSION=3 -DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder
 -c ProxyChannel.cxx -o obj_linux_x86/ProxyChannel.o
g++ -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1  -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT
-fno-exceptions  -Wall  -DNDEBUG -I/home/rkulagowski/ptlib/include
-DPTRACING -I/usr/local/include/openh323 -DMAJOR_VERSION=2
-DMINOR_VERSION=3 -DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder
 -c gk.cxx -o obj_linux_x86/gk.o
make[1]: *** No rule to make target `/libpt_s.a', needed by
`versionts.h'.  Stop.
make[1]: Leaving directory `/usr/src/openh323gk'


If I run as just plain "make", I get:

g++  -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1 -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING -DPTRACING=1 -D_REENTRANT
-fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG
-I/home/rkulagowski/ptlib/include -DPTRACING
-I/usr/local/include/openh323 -DMAJOR_VERSION=2 -DMINOR_VERSION=3
-DBUILD_NUMBER=1 -M sqlacct.cxx >> obj_linux_x86_d/sqlacct.dep
g++  -DHAS_SQLITE=1 -DHAS_H46023=1 -DHAS_H46018=1 -D'MANUFACTURER=GNU'
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING -DPTRACING=1 -D_REENTRANT
-fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG
-I/home/rkulagowski/ptlib/include -DPTRACING
-I/usr/local/include/openh323 -DMAJOR_VERSION=2 -DMINOR_VERSION=3
-DBUILD_NUMBER=1 -M gksql.cxx >> obj_linux_x86_d/gksql.dep
Created dependencies.
make[1]: Leaving directory `/usr/src/openh323gk'
make DEBUG= P_SHAREDLIB=1 default_target
make[1]: Entering directory `/usr/src/openh323gk'
make[1]: *** No rule to make target `/libpt.so', needed by `versionts.h'.  Stop.
make[1]: Leaving directory `/usr/src/openh323gk'
make: *** [optshared] Error 2

------------------------------------------------------------------------------
_______________________________________________________

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