Bug#264056: ohphone: FTBFS: g++ compile error

Roland Stigge Roland Stigge <stigge@antcom.de>, 264056@bugs.debian.org
Sat, 07 Aug 2004 00:17:52 +0200


Package: ohphone
Version: 1.4.1-1
Severity: serious

Hi,

trying to build ohphone, I got:

=============================================================================
[...]
make[2]: Entering directory `/tmp/buildd/ohphone-1.4.1'
rm -rf   ./obj_linux_x86_d/main.o  ./obj_linux_x86_d/vidlinux.o  ./obj_linux_x86
_d/xlibvid.o  ./obj_linux_x86_d/main.dep  ./obj_linux_x86_d/vidlinux.dep  ./obj_
linux_x86_d/xlibvid.dep core ./obj_linux_x86_d/ohphone 
make[2]: Leaving directory `/tmp/buildd/ohphone-1.4.1'
make[1]: Leaving directory `/tmp/buildd/ohphone-1.4.1'
rmdir obj_* 2>/dev/null || true
dh_clean 
 dpkg-source -b ohphone-1.4.1
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid
 of process (1001)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; u
sing uid of process (1001)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of p
rocess (1001)
dpkg-source: building ohphone using existing ohphone_1.4.1.orig.tar.gz
dpkg-source: building ohphone in ohphone_1.4.1-1.diff.gz
dpkg-source: building ohphone in ohphone_1.4.1-1.dsc
 debian/rules build
dh_clean -k -s 
dh_installdirs -s
# Add here commands to compile the arch part of the package.
/usr/bin/make OPENH323DIR=/usr/share/openh323 PWLIBDIR=/usr/share/pwlib optshare
d
make[1]: Entering directory `/tmp/buildd/ohphone-1.4.1'
/usr/bin/make P_SHAREDLIB=1 opt
make[2]: Entering directory `/tmp/buildd/ohphone-1.4.1'
g++  -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections -D_REENTRANT -
Wall  -I/usr/share/pwlib/include -DPTRACING -I/usr/share/openh323/include -DHAS_
OSS -Os   -x c++ -c main.cxx -o obj_linux_x86_r/main.o
main.cxx: In member function `virtual BOOL 
   MyH323EndPoint::OpenVideoChannel(H323Connection&, int, H323VideoCodec&)':
main.cxx:2212: error: parse error before `(' token
main.cxx:2216: error: 'class PVideoInputDevice' has no member named '
   GetInputDeviceNames'
main.cxx:2217: error: `PFakeVideoInputDevice' undeclared (first use this 
   function)
main.cxx:2217: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
main.cxx:2217: error: parse error before `::' token
main.cxx:2283: error: parse error before `(' token
main.cxx:2329: error: parse error before `(' token
main.cxx:2353: error: parse error before `(' token
make[2]: *** [obj_linux_x86_r/main.o] Error 1
make[2]: Leaving directory `/tmp/buildd/ohphone-1.4.1'
make[1]: *** [optshared] Error 2
make[1]: Leaving directory `/tmp/buildd/ohphone-1.4.1'
make: *** [build-arch-stamp] Error 2
=============================================================================

Thanks for considering.

bye,
  Roland


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (ignored: LC_ALL set to en_GB.UTF-8)