Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23858 - net-libs/openh323-1.12.0 does not compile
Summary: net-libs/openh323-1.12.0 does not compile
Status: RESOLVED DUPLICATE of bug 23596
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-02 01:34 UTC by Tom Wesley
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wesley 2003-07-02 01:34:40 UTC
Build fails, see output below


Reproducible: Always
Steps to Reproduce:
1. emerge openh323
2.
3.

Actual Results:  
/usr/include/ptlib/array.h:325: 'BOOL' is used as a type, but is not defined as 
   a type. 
/usr/include/ptlib/array.h:327: `friend' can only be specified inside a class 
/usr/include/ptlib/array.h:328: syntax error before `}' token 
/usr/include/ptlib/array.h:357: `BOOL' declared as a `virtual' field 
/usr/include/ptlib/array.h:357: syntax error before `(' token 
/usr/include/ptlib/array.h:357: ISO C++ forbids defining types within return 
   type 
/usr/include/ptlib/array.h:357: syntax error before `(' token 
/usr/include/ptlib/array.h:357: non-member function `int IsDescendant(const 
   char*)' cannot have `const' method qualifier 
/usr/include/ptlib/array.h: In function `int IsDescendant(const char*)': 
/usr/include/ptlib/array.h:357: use of class template `template<class T> class 
   PBaseArray' as expression 
/usr/include/ptlib/array.h:357: syntax error before `::' token 
/usr/include/ptlib/array.h: At global scope: 
/usr/include/ptlib/array.h:357: syntax error before `(' token 
/usr/include/ptlib/array.h:374: `T' was not declared in this scope 
/usr/include/ptlib/array.h:374: syntax error before `const' 
/usr/include/ptlib/array.h: In function `int PBaseArray(...)': 
/usr/include/ptlib/array.h:377: `int PBaseArray(...)' redeclared as different 
   kind of symbol 
/usr/include/ptlib/array.h:355: previous declaration of `template<class T> 
   class PBaseArray' 
/usr/include/ptlib/array.h:355: previous non-function declaration ` 
   template<class T> class PBaseArray' 
/usr/include/ptlib/array.h:377: conflicts with function declaration `int 
   PBaseArray(...)' 
/usr/include/ptlib/array.h:377: `T' undeclared (first use this function) 
/usr/include/ptlib/array.h:377: `buffer' undeclared (first use this function) 
/usr/include/ptlib/array.h:377: `length' undeclared (first use this function) 
/usr/include/ptlib/array.h:377: `dynamic' undeclared (first use this function) 
/usr/include/ptlib/array.h:377: only constructors take base initializers 
/usr/include/ptlib/array.h:377: confused by earlier errors, bailing out 
make[1]: *** [/var/tmp/portage/openh323-
1.12.0/work/openh323/lib/obj_linux_x86_r/h225_1.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/openh323-1.12.0/work/openh323/src' 
make: *** [opt] Error 2 

!!! ERROR: net-libs/openh323-1.12.0 failed. 
!!! Function src_compile, Line 56, Exitcode 2 
!!! make failed


Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo  
http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb 
gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi 
tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib 
oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr gtk2"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -O3 "
CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -O3 "
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-02 03:06:56 UTC
Which pwlib version are you using, and when did you emerge it?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-02 08:34:26 UTC

*** This bug has been marked as a duplicate of 23596 ***