Code:
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::Destroy()':
nsCanvasRenderingContext2D.cpp:(.text+0x2045): undefined reference to `XFreePixmap'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::SetDimensions(int, int)':
nsCanvasRenderingContext2D.cpp:(.text+0x5ec8): undefined reference to `XRenderFindStandardFormat'
nsCanvasRenderingContext2D.cpp:(.text+0x5eeb): undefined reference to `XListPixmapFormats'
nsCanvasRenderingContext2D.cpp:(.text+0x5f26): undefined reference to `XFree'
nsCanvasRenderingContext2D.cpp:(.text+0x5f70): undefined reference to `XCreatePixmap'
collect2: ld returned 1 exit status
The solution is found in the firefox section in the BLFS (SVN) book, rather:
Code:
cat >> layout/build/Makefile.in << "EOF"
ifdef MOZ_ENABLE_CANVAS
EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
endif
EOF
I thought the above command was specific for the version they were covering. But I guess it wasn't.
Ah frick, the answer was right in front of me in the BLFS Firefox-2.0.0.6 section. I must suck at reading.