[GnomeMeeting-list] Re: Compile gnomemeeting 1.2.1 fails



Hi,

You have probably compiled PWLIB/OPENH323 without LDAP support and
changed configure.in so that it doesn't complain as it should.

gm_contacts-ldap.cpp includes this :
#include <ptclib/pldap.h>

and PLDAPSession is defined there.

It won't be defined only if P_LDAP is set to 0, but if it is set to 0,
configure will complain, or at least is should.

So you have to recompile the whole pwlib and openh323 libraries, then
gnomemeeting with openldap-devel installed.

Le jeudi 17 mars 2005 à 09:43 +0100, Dirk Vornheder a écrit :
> Hi !
> 
> Compile gnomemeeting 1.2.1 fails:
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. 
> -DGNOMELOCALEDIR=\"/opt/gnome/share/locale/\" -DG_LOG_DOMAIN=\"GnomeMeeting\" 
> -DSHARE_DIR=\"/opt/gnome/share/gnomemeeting\" -I../.. -DXTHREADS -D_REENTRANT 
> -DXUSE_MTSAFE_API -pthread -DORBIT2=1 -I/usr/include/libxml2 
> -I/usr/include/libart-2.0 -I/opt/gnome/include/gtk-2.0 
> -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include 
> -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 
> -I/usr/include/freetype2 -I/usr/include/freetype2/config 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
> -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/orbit-2.0 
> -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/libbonobo-2.0 
> -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include 
> -I/opt/gnome/include/bonobo-activation-2.0 
> -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 
> -I/opt/gnome/include/libbonoboui-2.0 -DORBIT2=1 -pthread 
> -I/usr/include/libxml2 -I/opt/gnome/include/evolution-data-server-1.0 
> -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/libgnome-2.0 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
> -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/bonobo-activation-2.0 
> -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/gnome-vfs-2.0 
> -I/opt/gnome/lib/gnome-vfs-2.0/include -I/usr/include/howl -DHAS_HOWL 
> -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -DORBIT2=1 
> -I/usr/include/libxml2 -I/usr/include/libart-2.0 -I/opt/gnome/include/gtk-2.0 
> -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include 
> -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 
> -I/usr/include/freetype2 -I/usr/include/freetype2/config 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
> -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/orbit-2.0 
> -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/libbonobo-2.0 
> -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include 
> -I/opt/gnome/include/bonobo-activation-2.0 
> -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 
> -I/opt/gnome/include/libbonoboui-2.0 -DORBIT2=1 -pthread 
> -I/usr/include/libxml2 -I/opt/gnome/include/evolution-data-server-1.0 
> -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/libgnome-2.0 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
> -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/bonobo-activation-2.0 
> -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/gnome-vfs-2.0 
> -I/opt/gnome/lib/gnome-vfs-2.0/include -I/usr/include/howl -DHAS_HOWL 
> -I/usr/include/ptlib -I/usr/include/ptclib -I/usr/include/openh323 
> -I/usr/include/SDL -D_REENTRANT -DHAS_SDL -I/usr/include -DPTRACING -DNDEBUG 
> -Wall -Os -g -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -g -O2 -MT 
> gm_contacts-ldap.lo -MD -MP -MF .deps/gm_contacts-ldap.Tpo -c 
> gm_contacts-ldap.cpp  -fPIC -DPIC -o .libs/gm_contacts-ldap.o
> gm_contacts-ldap.cpp: In function `GSList*
>    gnomemeeting_ldap_addressbook_get_contacts(GmAddressbook*, int&, int,
>    gchar*, gchar*, gchar*, gchar*)':
> gm_contacts-ldap.cpp:154: error: `PLDAPSession' undeclared (first use this
>    function)
> gm_contacts-ldap.cpp:154: error: (Each undeclared identifier is reported only
>    once for each function it appears in.)
> gm_contacts-ldap.cpp:154: error: syntax error before `;' token
> gm_contacts-ldap.cpp:223: error: `ldap' undeclared (first use this function)
> gm_contacts-ldap.cpp:244: error: `context' undeclared (first use this 
> function)
> gm_contacts-ldap.cpp:249: error: syntax error before `::' token
> gm_contacts-ldap.cpp: At global scope:
> gm_contacts-ldap.cpp:353: error: syntax error before `while'
> gm_contacts-ldap.cpp:356: error: `filter' was not declared in this scope
> gm_contacts-ldap.cpp:356: error: ISO C++ forbids declaration of `g_free' with
>    no type
> gm_contacts-ldap.cpp:356: error: `int g_free' redeclared as different kind of
>    symbol
> /opt/gnome/include/glib-2.0/glib/gmem.h:52: error: previous declaration of `
>    void g_free(void*)'
> gm_contacts-ldap.cpp:358: error: syntax error before `if'
> make[3]: *** [gm_contacts-ldap.lo] Error 1
> make[3]: Leaving directory `/privat/gnome/gnomemeeting-1.2.1/lib/contacts'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/privat/gnome/gnomemeeting-1.2.1/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/privat/gnome/gnomemeeting-1.2.1'
> make: *** [all] Error 2
> 
> Dirk
-- 
 _      Damien Sandras
(o-     GnomeMeeting: http://www.gnomemeeting.org/
//\     FOSDEM 2005 : http://www.fosdem.org
v_/_    H.323 phone : callto:ils.seconix.com/dsandras seconix com




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