Re: garnome 2.19.3 build issues



I have the same problem and I've filed a bug report with the openh323
folks.  

David

On Sat, 2007-06-09 at 10:04 -0400, Joseph Sacco wrote:
> These are most likely gcc-4.2 related. gcc-4.2 is more "strict" than its
> predecessors. Time to crawl through the code and file some bug reports.
> 
> -Joseph
> 
> =========================================================
> On Fri, 2007-06-08 at 22:15 -0500, Robert Ford wrote:
> > archlinux x86_64 (current), linux 2.6.21.3, glibc 2.6, gcc 4.2.0, xorg 7.2
> > this a fresh install of garnome.
> > 
> > 
> > *opal* (breaks ekiga)
> > 
> > In file included from 
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/timer.h:134,
> >                  from /opt/garnome-2.19.3/src/pwlib/include/ptlib.h:176,
> >                  from 
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/lids/lidep.cxx:124:
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/notifier.h: In constructor 
> > 'PNotifierFunction::PNotifierFunction(void*)':
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/notifier.h:42: warning: the 
> > address of 'obj' will always evaluate as 'true'
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/lids/lidep.cxx: 
> > In member function 'BOOL OpalLIDEndPoint::AddLine(OpalLine*)':
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/lids/lidep.cxx:253: 
> > warning: the address of 'line' will always evaluate as 'true'
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/lids/lidep.cxx: 
> > In member function 'BOOL 
> > OpalLIDEndPoint::AddDevice(OpalLineInterfaceDevice*)':
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/lids/lidep.cxx:382: 
> > warning: the address of 'device' will always evaluate as 'true'
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/lids/lidep.cxx: 
> > In member function 'void 
> > OpalLIDEndPoint::RemoveDevice(OpalLineInterfaceDevice*)':
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/lids/lidep.cxx:394: 
> > warning: the address of 'device' will always evaluate as 'true'
> > ccache g++ -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING 
> > -I/home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/include  
> > -DPTRACING -I/opt/garnome-2.19.3/src/pwlib/include -Os  -g 
> > -I/opt/garnome-2.19.3/include -L/opt/garnome-2.19.3/lib -O2 -pipe 
> > -felide-constructors -c 
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/codec/g711codec.cxx 
> > -o 
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/lib/obj_linux_x86_64_r/g711codec.o
> > In file included from 
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/timer.h:134,
> >                  from /opt/garnome-2.19.3/src/pwlib/include/ptlib.h:176,
> >                  from 
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/sip/sipep.cxx:550:
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/notifier.h: In constructor 
> > 'PNotifierFunction::PNotifierFunction(void*)':
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/notifier.h:42: warning: the 
> > address of 'obj' will always evaluate as 'true'
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/critsec.h: In member 
> > function 'SIPAuthentication& SIPAuthentication::operator=(const 
> > SIPAuthentication&)':
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/critsec.h:234: error: 
> > 'PAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)' is 
> > private
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/include/sip/sippdu.h:458: 
> > error: within this context
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/sip/sipep.cxx: 
> > In member function 'BOOL SIPEndPoint::GetAuthentication(const PString&, 
> > SIPAuthentication&)':
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/sip/sipep.cxx:1995: 
> > note: synthesized method 'SIPAuthentication& 
> > SIPAuthentication::operator=(const SIPAuthentication&)' first required here
> > make[2]: *** 
> > [/home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/lib/obj_linux_x86_64_r/sipep.o] 
> > Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > In file included from 
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/timer.h:134,
> >                  from /opt/garnome-2.19.3/src/pwlib/include/ptlib.h:176,
> >                  from 
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/codec/g711codec.cxx:43:
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/notifier.h: In constructor 
> > 'PNotifierFunction::PNotifierFunction(void*)':
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/notifier.h:42: warning: the 
> > address of 'obj' will always evaluate as 'true'
> > In file included from 
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/timer.h:134,
> >                  from /opt/garnome-2.19.3/src/pwlib/include/ptlib.h:176,
> >                  from 
> > /home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8/src/lids/ixjunix.cxx:523:
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/notifier.h: In constructor 
> > 'PNotifierFunction::PNotifierFunction(void*)':
> > /opt/garnome-2.19.3/src/pwlib/include/ptlib/notifier.h:42: warning: the 
> > address of 'obj' will always evaluate as 'true'
> > make[2]: Leaving directory 
> > `/home/odin/SVN-CVS/garnome-trunk/bootstrap/opal/work/main.d/opal-2.2.8'
> > make[1]: *** [optshared] Error 2
> > 
> > *evince*
> > 
> > oppler.Tpo -c ev-poppler.cc  -fPIC -DPIC -o .libs/ev-poppler.o
> > ev-poppler.cc: In function 'void 
> > pdf_selection_render_selection(EvSelection*, EvRenderContext*, 
> > GdkPixbuf**, EvRectangle*, EvRectangle*, GdkColor*, GdkColor*)':
> > ev-poppler.cc:1632: error: cannot convert 'gdouble' to 'cairo_t*' for 
> > argument '2' to 'void poppler_page_render_selection(PopplerPage*, 
> > cairo_t*, PopplerRectangle*, PopplerRectangle*, PopplerSelectionStyle, 
> > GdkColor*, GdkColor*)'
> > make[5]: *** [ev-poppler.lo] Error 1
> > 
> > *gnome-mag* (breaks gnopernicus)
> > 
> > x11/gmag-graphical-server.c: In function 'gmag_gs_get_source_pixbuf':
> > x11/gmag-graphical-server.c:111: warning: implicit declaration of 
> > function 'gdk_pixbuf_set_option'
> > x11/gmag-graphical-server.c: In function 'gmag_gs_events_handler':
> > x11/gmag-graphical-server.c:421: error: 'use_windows' undeclared (first 
> > use in this function)
> > x11/gmag-graphical-server.c:421: error: (Each undeclared identifier is 
> > reported only once
> > x11/gmag-graphical-server.c:421: error: for each function it appears in.)
> > x11/gmag-graphical-server.c: In function 'gmag_gs_use_damage':
> > x11/gmag-graphical-server.c:443: warning: unused variable 'event'
> > make[4]: *** [magnifier-gmag-graphical-server.o] Error 1
> > make[4]: *** Waiting for unfinished jobs....
> > x11/gmag-cursor.c: In function 'gmag_cursor_get_source_pixbuf':
> > x11/gmag-cursor.c:73: warning: implicit declaration of function 
> > 'gdk_pixbuf_set_option'
> > ccache cc -shared  .libs/GNOME_Magnifier-common.o 
> > .libs/GNOME_Magnifier-stubs.o  -Wl,--rpath -Wl,/opt/garnome-2.19.3/lib 
> > -Wl,--rpath -Wl,/opt/garnome-2.19.3/lib -L/opt/garnome-2.19.3/lib 
> > /opt/garnome-2.19.3/lib/libORBit-2.so 
> > /opt/garnome-2.19.3/lib/libgmodule-2.0.so -ldl 
> > /opt/garnome-2.19.3/lib/libgobject-2.0.so 
> > /opt/garnome-2.19.3/lib/libgthread-2.0.so -lrt 
> > /opt/garnome-2.19.3/lib/libglib-2.0.so  -pthread -Wl,--export-dynamic 
> > -pthread -Wl,--export-dynamic -Wl,-soname -Wl,libgnome-mag.so.2 -o 
> > .libs/libgnome-mag.so.2.2.5
> > (cd .libs && rm -f libgnome-mag.so.2 && ln -s libgnome-mag.so.2.2.5 
> > libgnome-mag.so.2)
> > (cd .libs && rm -f libgnome-mag.so && ln -s libgnome-mag.so.2.2.5 
> > libgnome-mag.so)
> > creating libgnome-mag.la
> > (cd .libs && rm -f libgnome-mag.la && ln -s ../libgnome-mag.la 
> > libgnome-mag.la)
> > make[4]: Leaving directory 
> > `/home/odin/SVN-CVS/garnome-trunk/desktop/gnome-mag/work/main.d/gnome-mag-0.14.5/magnifier'
> > make[3]: *** [all] Error 2
> > 
> > *loudmouth* (breaks gossip)
> > 
> > /bin/sh ../libtool --tag=CC --mode=link ccache cc  -g 
> > -I/opt/garnome-2.19.3/include -L/opt/garnome-2.19.3/lib -O2 -pipe -Wall 
> > -I/usr/include -I/usr/include   -Wl,--export-dynamic 
> > -L/opt/garnome-2.19.3/lib -o test-lm  test-lm.o 
> > -L/opt/garnome-2.19.3/lib -lglib-2.0   ../loudmouth/libloudmouth-1.la 
> > -lnsl  -L/usr/lib -lgnutls -L/usr/lib -ltasn1 -lgcrypt -lgpg-error
> > mkdir .libs
> > ccache cc -g -I/opt/garnome-2.19.3/include -O2 -pipe -Wall 
> > -I/usr/include -I/usr/include -Wl,--export-dynamic -o .libs/test-lm 
> > test-lm.o  -L/opt/garnome-2.19.3/lib 
> > /opt/garnome-2.19.3/lib/libglib-2.0.so 
> > ../loudmouth/.libs/libloudmouth-1.so -lnsl -L/usr/lib 
> > /usr/lib/libgnutls.so -ltasn1 -lgcrypt -lgpg-error -Wl,--rpath 
> > -Wl,/opt/garnome-2.19.3/lib
> > ../loudmouth/.libs/libloudmouth-1.so: undefined reference to `__dn_expand'
> > ../loudmouth/.libs/libloudmouth-1.so: undefined reference to `__res_query'
> > collect2: ld returned 1 exit status
> > make[3]: *** [test-lm] Error 1
> > 
> > *gwget* (being naughty by trying to install into /usr and not 
> > $(main_prefix))
> > 
> > /bin/sh ../mkinstalldirs /usr/lib/epiphany/2.18/extensions
> >  /bin/sh ../libtool --mode=install /bin/install -c  libgwgetextension.la 
> > /usr/lib/epiphany/2.18/extensions/libgwgetextension.la
> > /bin/install -c .libs/libgwgetextension.so 
> > /usr/lib/epiphany/2.18/extensions/libgwgetextension.so
> > /bin/install: cannot create regular file 
> > `/usr/lib/epiphany/2.18/extensions/libgwgetextension.so': Permission denied
> > make[3]: *** [install-extensionLTLIBRARIES] Error 1
> > 
> > *glib-java* (breaks other java bindings (I have both jre and gcj on my box))
> > 
> > java.io.IOException: can't find class file java/lang/Object.class in 
> > java.net.URLClassLoader{urls=[file:/home/odin/SVN-CVS/garnome-trunk/bindings/glib-java/work/main.d/glib-java-0.4.2/src/java/,file:/home/odin/SVN-CVS/garnome-trunk/bindings/glib-java/work/main.d/glib-java-0.4.2/./src/java/,file:/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/rt.jar], 
> > parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/opt/java/lib/,file:/opt/java/jre/lib/], 
> > parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
> >    at gnu.classpath.tools.javah.Main.getClass(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.ClassWrapper.linkSupers(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.ClassWrapper.isThrowable(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.JniHelper.getName(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.JniPrintStream.print(libgcj-tools.so.80)
> >    at 
> > gnu.classpath.tools.javah.JniIncludePrinter.printClass(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.Main.writeHeaders(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.Main.run(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.GcjhMain.main(libgcj-tools.so.80)
> > make[2]: *** [src/jni/org_gnu_glib_Struct.h] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > make[2]: *** [src/jni/org_gnu_glib_Value.h] Error 1
> > java.io.IOException: can't find class file java/lang/Object.class in 
> > java.net.URLClassLoader{urls=[file:/home/odin/SVN-CVS/garnome-trunk/bindings/glib-java/work/main.d/glib-java-0.4.2/src/java/,file:/home/odin/SVN-CVS/garnome-trunk/bindings/glib-java/work/main.d/glib-java-0.4.2/./src/java/,file:/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/rt.jar], 
> > parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/opt/java/lib/,file:/opt/java/jre/lib/], 
> > parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
> >    at gnu.classpath.tools.javah.Main.getClass(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.ClassWrapper.linkSupers(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.ClassWrapper.isThrowable(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.JniHelper.getName(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.JniPrintStream.print(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.JniPrintStream.print(libgcj-tools.so.80)
> >    at 
> > gnu.classpath.tools.javah.JniIncludePrinter.printClass(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.Main.writeHeaders(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.Main.run(libgcj-tools.so.80)
> >    at gnu.classpath.tools.javah.GcjhMain.main(libgcj-tools.so.80)
> > make[2]: *** [src/jni/org_gnu_glib_MemStruct.h] Error 1
> > 
> > I went through each and did a "make clean && make install" in their 
> > folders. I havent built all of of garnome yet, maybe more to come. :-P
> > 
> > Robert
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> -- 
> joseph_sacco [at] comcast [dot] net
> -- 
> jsacco [at] gnome [dot] org
> 



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