1 Apr 21:37
Re: New xulrunner
Marco Pesenti Gritti <mpg <at> redhat.com>
2007-04-01 19:37:12 GMT
2007-04-01 19:37:12 GMT
On Thu, 2007-03-29 at 16:10 -0700, Guido van Rossum wrote: > When I try this on my ubundu dapper box, I consistently get this > problem building mozilla: > > c++ -o xulrunner-bin -fno-rtti -fno-exceptions -Wall -Wconversion > -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth > -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic > -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O nsXULRunnerApp.o > nsRegisterGREUnix.o -lpthread -L../../dist/bin -L../../dist/lib > -L../../dist/bin -lmozjs ../../dist/lib/libxpcomglue_s.a > -L../../dist/bin -Wl,-rpath-link,../../dist/bin -lxpcom -lxul > -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl > -L/home/guido/xo/sugar-jhbuild/build/lib -lgtk-x11-2.0 -latk-1.0 > -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 > -lcairo -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 > -L../../gfx/cairo/cairo/src -lmozcairo -L../../gfx/cairo/libpixman/src > -lmozlibpixman -L/usr/X11R6/lib -lXrender -lfreetype -lfontconfig > -L/usr/X11R6/lib -lX11 -ldl -lm > /usr/local/google/home/guido/xo/sugar-jhbuild/build/lib/libpangoxft-1.0.so.0: > undefined reference to `g_type_register_static_simple' > /usr/local/google/home/guido/xo/sugar-jhbuild/build/lib/libpangoft2-1.0.so.0: > undefined reference to `pango_quantize_line_geometry' > /usr/local/google/home/guido/xo/sugar-jhbuild/build/lib/libpangoft2-1.0.so.0: > undefined reference to `pango_font_describe_with_absolute_size' I had access to a Dapper box today and I probably tracked this down finally. It's a problem with the library search path. If you remove -L/usr/lib or move it after -L/home/guido/xo/sugar-jhbuild/build/lib linking should work.(Continue reading)
RSS Feed