[GnomeMeeting-list] Compiling GM with gcc 3.3
- From: Troy Davis <troy nack net>
- To: gnomemeeting-list gnome org
- Subject: [GnomeMeeting-list] Compiling GM with gcc 3.3
- Date: Sun, 15 Jun 2003 22:36:35 -0700
Went through the last few months of list archives and the FAQ without
finding much similar to this. I'm using pwlib 1.5 and openh323 1.12.0,
trying to coming GnomeMeeting 0.96.1 with gcc 3.3. Output is below.
I have a pretty generic LFS system except perhaps for use of gcc/g++
3.3. Can anyone confirm that GM compiles with gcc 3.3, or perhaps
encountered the error below?
callbacks.cpp and gdkvideoio.cpp compile but each generate one warning:
/usr/local/include/ptlib/pdirect.h:458: warning: inline function `static BOOL
PDirectory::Remove(const PString&)' used but never defined
Then endpoint.cpp has a pile of errors:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I../src -I../lib -I../lib/widgets -I../lib/xdap -I/usr/local/include/ptlib//unix -I/usr/local/include/ptlib//.. -I/usr/local/include/ptlib//../ptclib
-I/usr/local/include/ -I/usr/local/include/openh323/ -DSPEEX_CODEC -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -DHAS_OSS -O3 -DNDEBUG -fPIC -g -DPHAS_TEMPLATES -Wall -DHAS_IXJ -DORBIT2=1 -pthread
-I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libart-2.0 -I/usr/local/include/gconf/2 -I/usr/local/include/libbonoboui-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/linc-1.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/freetype2
-I/usr/local/include/libxml2 -I/usr/include/openssl -I/usr/local/include/SDL -D_REENTRANT -DHAS_SDL -DGNOMEMEETING_IMAGES=\""/usr/local/share/pixmaps"\" -DSCHEMA_AGE=24 -DDATADIR=\""/usr/local/share"\" -DG_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -O3 -c endpoint.cpp
endpoint.cpp: In member function `virtual BOOL
GMH323EndPoint::OpenVideoChannel(H323Connection&, int, H323VideoCodec&)':
endpoint.cpp:1826: error: cannot allocate an object of type `
GDKVideoOutputDevice'
endpoint.cpp:1826: error: because the following virtual functions are
abstract:
/usr/local/include/ptlib/videoio.h:605: error: virtual BOOL
PVideoOutputDevice::SetFrameData(unsigned int, unsigned int, unsigned int,
unsigned int, const BYTE*, int = true)
/usr/local/include/ptlib/videoio.h:609: error: virtual BOOL
PVideoOutputDevice::EndFrame()
/usr/local/include/ptlib/pdirect.h: At global scope:
/usr/local/include/ptlib/pdirect.h:458: warning: inline function `static BOOL
PDirectory::Remove(const PString&)' used but never defined
make[2]: *** [endpoint.o] Error 1
make[2]: Leaving directory `/home/troy/gnomemeeting-0.96.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/troy/gnomemeeting-0.96.1'
make: *** [all-recursive-am] Error 2
I've tried including the header files straight from the pwlib/o323 directories,
but GM can't find videoio.h (which does exist in
pwlib/include/ptlib/unix/ptlib and pwlib/include/ptlib/, with different
file sizes). Adding either of those directories to gcc's include search
path gets rid of the inability to find videoio.h but not the compilation
errors.
./configure --with-ptlib-includes=$PWLIBDIR/include/ptlib/ --with-ptlib-libs=/usr/local/lib --with-openh323-includes=$OPENH323DIR/include --with-openh323-libs=/usr/local/lib --with-openssl-includes=/usr/include/openssl --with-openssl-libs=/usr/lib --with-openldap-includes=/usr/local/include/ --with-openldap-libs=/usr/local/lib
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I../src -I../lib -I../lib/widgets -I../lib/xdap -I/home/troy/pwlib/include/ptlib//unix -I/home/troy/pwlib/include/ptlib//.. -I/home/troy/pwlib/include/ptlib//../ptclib
-I/usr/local/include/ -I/home/troy/openh323/include -DSPEEX_CODEC -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -DHAS_OSS -O3 -DNDEBUG -fPIC -g -DPHAS_TEMPLATES -Wall -DHAS_IXJ -DORBIT2=1 -pthread
-I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libart-2.0 -I/usr/local/include/gconf/2 -I/usr/local/include/libbonoboui-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/linc-1.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/freetype2
-I/usr/local/include/libxml2 -I/usr/include/openssl -I/usr/local/include/SDL -D_REENTRANT -DHAS_SDL -DGNOMEMEETING_IMAGES=\""/usr/local/share/pixmaps"\" -DSCHEMA_AGE=24 -DDATADIR=\""/usr/local/share"\" -DG_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -O3 -c callbacks.cpp
In file included from endpoint.h:35,
from gnomemeeting.h:37,
from callbacks.cpp:34:
gdkvideoio.h:36:21: videoio.h: No such file or directory
In file included from endpoint.h:35,
from gnomemeeting.h:37,
from callbacks.cpp:34:
gdkvideoio.h:48: error: parse error before `{' token
gdkvideoio.h:49: error: virtual outside class declaration
gdkvideoio.h:49: error: non-member function `const char* GetClass(unsigned int)
' cannot have `const' method qualifier
gdkvideoio.h: In function `const char* GetClass(unsigned int)':
gdkvideoio.h:49: error: `H323VideoDevice' undeclared (first use this function)
gdkvideoio.h:49: error: (Each undeclared identifier is reported only once for
each function it appears in.)
gdkvideoio.h:49: error: parse error before `::' token
gdkvideoio.h:49: error: incomplete type 'GDKVideoOutputDevice' cannot be used
to name a scope
gdkvideoio.h: At global scope:
gdkvideoio.h:49: error: virtual outside class declaration
gdkvideoio.h:49: error: non-member function `BOOL IsClass(const char*)' cannot
have `const' method qualifier
gdkvideoio.h: In function `BOOL IsClass(const char*)':
gdkvideoio.h:49: error: incomplete type 'GDKVideoOutputDevice' cannot be used
to name a scope
gdkvideoio.h: At global scope:
gdkvideoio.h:49: error: virtual outside class declaration
gdkvideoio.h:49: error: non-member function `BOOL IsDescendant(const char*)'
cannot have `const' method qualifier
gdkvideoio.h: In function `BOOL IsDescendant(const char*)':
gdkvideoio.h:49: error: incomplete type 'GDKVideoOutputDevice' cannot be used
to name a scope
gdkvideoio.h:49: error: parse error before `::' token
gdkvideoio.h:49: warning: no return statement in function returning non-void
gdkvideoio.h: At global scope:
gdkvideoio.h:49: error: syntax error before `(' token
gdkvideoio.h:71: error: parse error before `int'
gdkvideoio.h:78: error: destructors must be member functions
gdkvideoio.h:83: error: virtual outside class declaration
gdkvideoio.h:86: error: parse error before `protected'
gdkvideoio.h:111: error: parse error before `}' token
In file included from gnomemeeting.h:37,
from callbacks.cpp:34:
endpoint.h:388: error: syntax error before `*' token
endpoint.h:389: error: syntax error before `*' token
/home/troy/pwlib/include/ptlib/pdirect.h:458: warning: inline function `static
BOOL PDirectory::Remove(const PString&)' used but never defined
make[2]: *** [callbacks.o] Error 1
make[2]: Leaving directory `/home/troy/gnomemeeting-0.96.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/troy/gnomemeeting-0.96.1'
make: *** [all-recursive-am] Error 2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]