Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem building firefox-2.0b1 on Linux

1 view
Skip to first unread message

Subhash Dontireddy

unread,
Jul 22, 2006, 1:27:28 AM7/22/06
to
I'm Trying to build Firefox 2.0 beta1 and I get the following error.

../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text+0x8a5):
In function `nsCanvasRenderingContext2D::Destroy()':
nsCanvasRenderingContext2D.cpp: undefined reference to `XFreePixmap'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text+0x1317):
In function `nsCanvasRenderingContext2D::SetDimensions(int, int)':
nsCanvasRenderingContext2D.cpp: undefined reference to
`XRenderFindStandardFormat'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text+0x133a):nsCanvasRenderingContext2D.cpp:
undefined reference to `XListPixmapFormats'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text+0x1361):nsCanvasRenderingContext2D.cpp:
undefined reference to `XFree'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o)(.text+0x13ab):nsCanvasRenderingContext2D.cpp:
undefined reference to `XCreatePixmap'
collect2: ld returned 1 exit status
make[4]: *** [libgklayout.so] Error 1
make[4]: Leaving directory
`/usr/src/firefox2/firefox-build/layout/build'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/usr/src/firefox2/firefox-build/layout'
make[2]: Leaving directory `/usr/src/firefox2/firefox-build'
make[2]: *** [tier_9] Error 2
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/firefox2/firefox-build'
make: *** [build] Error 2

Here is the .mozconfig file.

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build

ac_add_options --prefix=/opt/firefox2
ac_add_options --with-user-appdir=.fx2
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-jpeg
ac_add_options --enable-system-cairo
ac_add_options --enable-canvas
ac_add_options --enable-svg
ac_add_options --enable-strip
ac_add_options --disable-tests
ac_add_options --disable-installer
ac_add_options --disable-accessibility

ac_add_options --with-pthreads
ac_add_options --enable-optimize

ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft

ac_add_options --enable-single-profile
ac_add_options --enable-safe-browsing
ac_add_options --enable-url-classifier

I've checked with requirements and theses are the ones I got

bash 3.0
gcc 3.4.3
Perl 5.8.7
GNU make 3.80
*No CVS(Do I need it for other than getting the source? I've built
1.5.0.4 without problem.)
widget toolkits.
GTK2 2.8.11(* Building with this option)
GTK 1.2.10
QT 3.3.6 & 4.1.4 (didn't try) with /opt/qt linked to 3.3.6 and
/opt/qt-4.1.4 coming after it in PATH and PKG_CONFIG_PATH
*libXt-devel for X11/Intrinsic.h, X11/Shell.h : Don't know about his
one but locate found the headers in /usr/X11R6/Include, So I guessed
it's okay(Using xfree86 4.5.0 BTW)
libIDL 0.8.6
zip 2.31
freetype 2.1.10
fontconfig 2.3.2
pkgconfig 0.20

Would be glad if any one could help me. I ran out of tricks and ideas.

0 new messages