[gobolinux-users] Firefox 2.0.0.1

Lucas C. Villa Real lucasvr at gobolinux.org
Tue Jan 23 23:05:54 UTC 2007


On 1/23/07, Paul Dann <giddie at christian.net> wrote:
> Here's the start of the errors after another failed attempt:
>
> ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In
> function `nsCanvasRenderingContext2D::Destroy()':
> nsCanvasRenderingContext2D.cpp:(.text+0x22a1): undefined reference to
> `XFreePixmap'
> ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In
> function `nsCanvasRenderingContext2D::SetDimensions(int, int)':
> nsCanvasRenderingContext2D.cpp:(.text+0x6642): undefined reference to
> `XRenderFindStandardFormat'
> nsCanvasRenderingContext2D.cpp:(.text+0x6668): undefined reference to
> `XListPixmapFormats'
> nsCanvasRenderingContext2D.cpp:(.text+0x66a2): undefined reference to
> `XFree'
> nsCanvasRenderingContext2D.cpp:(.text+0x66eb): undefined reference to
> `XCreatePixmap'
> collect2: ld returned 1 exit status
> make[3]: *** [libgklayout.so] Error 1
> make[3]: Leaving directory `/Files/Compile/Sources/mozilla/layout/build'
> make[2]: *** [libs] Error 2
> make[2]: Leaving directory `/Files/Compile/Sources/mozilla/layout'
> make[1]: *** [tier_9] Error 2
> make[1]: Leaving directory `/Files/Compile/Sources/mozilla'
> make: *** [default] Error 2
> Compile: Build process failed.

Hi Paul,

It was me who updated the Mozilla recipe. I've (chroot-)compiled it
successfully for the ARM and for the x86, but indeed I can remember of
having a problem like this. 03-ldflags.patch was created to fix that
problem, by adding the missing "-lX11 -lXrender" linker flags to
Makefile.in inside mozilla/layout/build. I just don't know why you're
facing this problem now.

You can try to play around with that Makefile by moving "-lX11
-lXrender" up or down, inside EXTRA_DSO_LDOPTS, for example. I can
start a batch compilation of Firefox here just to ensure that I didn't
forget something else.

-- 
Lucas
powered by /dev/dsp


More information about the gobolinux-users mailing list