On Tue, 6 Sep 2005 20:13:29 -0400
"George J. Sherwood" <[EMAIL PROTECTED]> wrote:

> 
> 
> > I help maintain a source based distribution and lately people have been
> > writing bugs about not being able to build pwlib.  I was always able to
> > build until the last few days, but not any more.  I wanted to wait until
> > the
> > new release before I wrote to the list.  Tonight I tried 1.8.7 with no
> > luck.
> > 
> 
> Seemed like that had something to do with openssl.  I disabled openssl in
> the configure and now it compiles.  What am I losing by doing that?
> 
> Also now openh323 won't build.  It dies right at the start:
> g++  -DP_USE_PRAGMA -D_REENTRANT -Wall  -fPIC -DPTRACING
> -I/usr/src/openh323-1.15.6/include -DHAS_OSS -I/usr/share/pwlib//include -Os
> -O -march=athlon -mmmx -m3dnow -pipe -Os -felide-constructors -x c++ -c
> h225_1.cxx -o /usr/src/openh323-1.15.6/lib/obj_linux_x86_r/h225_1.o
> In file included from /usr/include/ptlib/contain.h:249,
>                  from /usr/include/ptlib.h:158,
>                  from h225_1.cxx:11:
> /usr/include/ptlib/critsec.h: In member function `int
> PAtomicInteger::operator++()':
> /usr/include/ptlib/critsec.h:197: error: `__exchange_and_add' undeclared
> (first use this function)
> /usr/include/ptlib/critsec.h:197: error: (Each undeclared identifier is
> reported only once for each function it appears in.)
> /usr/include/ptlib/critsec.h: In member function `unsigned int
> PAtomicInteger::operator--()':
> /usr/include/ptlib/critsec.h:198: error: `__exchange_and_add' undeclared
> (first use this function)
> make[2]: *** [/usr/src/openh323-1.15.6/lib/obj_linux_x86_r/h225_1.o] Error 1
> make[1]: *** [opt] Error 2
> make[2]: Leaving directory `/usr/src/openh323-1.15.6/src'
> make[1]: Leaving directory `/usr/src/openh323-1.15.6'
> make: *** [optshared] Error 2
> 
> Not sure what has changed.  Never had problems building either of these
> before.

This error is most likely caused by one of two things:

1) The OpenH323 source tree you are using is using the wrong set of PWLib
header files. Usually, this is caused by doing a "make install" of pwlib,
and then trying to use a local (and more recent) pwlib in your home
directory.

The solution is to make sure you are using the pwlib you think you are
using (note that above the pwlib is in /usr/include)

2) You have changed compilers without re-running "./configure"

   Craig
-----------------------------------------------------------------------
 Craig Southeren      [EMAIL PROTECTED] / [EMAIL PROTECTED]

 Phone:  +61 243654666      ICQ: #86852844
 Fax:    +61 243673140      MSN: [EMAIL PROTECTED]
 Mobile: +61 417231046   Jabber: [EMAIL PROTECTED]

 Post Increment - Consulting & Services    http://www.postincrement.com
 Vox Gratia - The Open Source VoIP portal  http://www.voxgratia.org
 Raving Of A Strange Mind - the VoIP blog  http://www.voxgratia.net/blog/

_______________________________________________
GnomeMeeting-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnomemeeting-list

Reply via email to