linking error to `XRenderFindStandardFormat', `XFreePixmap', `XListPixmapFormats'

ying lcs yinglcs at gmail.com
Thu Apr 17 16:04:16 PDT 2008


Hi,

I am getting linking error to `XRenderFindStandardFormat',
`XFreePixmap', `XListPixmapFormats' when I compile firefox 2.0.0.13
under Red Hat Enterprise 4.

Can you please tell me what do I need to resolve the linking error in
order to compile firefox 2.0.0.13
under Red Hat Enterprise 4?

./../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text
+0xe43): In function `nsCanvasRenderingContext2D::Destroy()':
/root/firefox2.0.0.13/mozilla/content/canvas/src/
nsCanvasRenderingContext2D.cpp:571: undefined reference to
`XFreePixmap'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text
+0x1858): In function `nsCanvasRenderingContext2D::SetDimensions(int,
int)':
/root/firefox2.0.0.13/mozilla/content/canvas/src/
nsCanvasRenderingContext2D.cpp:817: undefined reference to
`XRenderFindStandardFormat'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text
+0x187e):/root/firefox2.0.0.13/mozilla/content/canvas/src/
nsCanvasRenderingContext2D.cpp:820: undefined reference to
`XListPixmapFormats'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text
+0x18a5):/root/firefox2.0.0.13/mozilla/content/canvas/src/
nsCanvasRenderingContext2D.cpp:827: undefined reference to `XFree'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text
+0x18db):/root/firefox2.0.0.13/mozilla/content/canvas/src/
nsCanvasRenderingContext2D.cpp:830: undefined reference to
`XCreatePixmap'
collect2: ld returned 1 exit status
gmake[4]: *** [libgklayout.so] Error 1
gmake[4]: Leaving directory `/root/firefox2.0.0.13/mozilla/firefox-
objdir/layout/build'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/root/firefox2.0.0.13/mozilla/firefox-
objdir/layout'
gmake[2]: *** [tier_9] Error 2
gmake[2]: Leaving directory `/root/firefox2.0.0.13/mozilla/firefox-
objdir'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/firefox2.0.0.13/mozilla/firefox-
objdir'
make: *** [build] Error 2



More information about the xorg mailing list