Andrey Voropaev wrote:
> Amazing. After building firefox on x86_64 with older version of BLFS,
> I've tried it on i686 with newer version of BLFS. And it failed! The
> mozconfig was exactly the same. Looks like the problem could be in the
> fact that I have gtk-2.8 on the newer system.
> [snip]
> undefined reference to `XListPixmapFormats'
> ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text._ZN26nsCanvasRenderingContext2D13SetDimensionsEii+0xc8):nsCanvasRenderingContext2D.cpp:
>
> undefined reference to `XFree'
> ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text._ZN26nsCanvasRenderingContext2D13SetDimensionsEii+0x10b):nsCanvasRenderingContext2D.cpp:
>
> undefined reference to `XCreatePixmap'
> collect2: ld returned 1 exit status
> make[4]: *** [libgklayout.so] Error 1
> make[4]: Leaving directory `/home/andrei/src/firefox-build/layout/build'
> make[3]: *** [libs] Error 2
> make[3]: Leaving directory `/home/andrei/src/firefox-build/layout'
> make[2]: *** [tier_9] Error 2
> make[2]: Leaving directory `/home/andrei/src/firefox-build'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/andrei/src/firefox-build'
> make: *** [build] Error 2
Welcome to the club!
You need to explicitly include the X libraries, best with directory,
like so:
sed -i "[EMAIL PROTECTED] += \$(MOZ_GTK2_LIBS)@& -L/usr/X11R6/lib
-lXrender -lX11@" \
layout/build/Makefile.in
(Ignore the first line wrap.) This fixed it for me. Oh yes, change
/usr/X11R6/lib to where libX11 actually is.
Hope that helps!
Hans-Joachim
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page