Closed Bug 419158 Opened 18 years ago Closed 18 years ago

cannot find -lmozjs

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wbrana, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13pre) Gecko/20080222 Firefox/2.0.0.13pre Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13pre) Gecko/20080222 Firefox/2.0.0.13pre Build of HEAD failed: rm -f libjsd.so c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -pipe -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -pipe -fPIC -shared -Wl,-z,defs -Wl,-h,libjsd.so -o libjsd.so jsdebug.o jsd_atom.o jsd_high.o jsd_hook.o jsd_lock.o jsd_obj.o jsd_scpt.o jsd_stak.o jsd_step.o jsd_text.o jsd_val.o jsd_xpc.o -lpthread -Wl,-O1 -s -Wl,--hash-style=both -Wl,-rpath-link,../../dist/bin -L../../dist/bin -lxpcom -lxpcom_core -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../dist/bin -lmozjs -Wl,--version-script -Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmozjs collect2: ld returned 1 exit status gmake[3]: *** [libjsd.so] Error 1 gmake[3]: Leaving directory `/cache/mozilla/js/jsd' gmake[2]: *** [libs_tier_gecko] Error 2 gmake[2]: Leaving directory `/cache/mozilla' gmake[1]: *** [tier_gecko] Error 2 gmake[1]: Leaving directory `/cache/mozilla' make: *** [default] Error 2 export MOZ_PHOENIX=1 export CFLAGS="-pipe" export CXXFLAGS="$CFLAGS" export LDFLAGS="-Wl,-O1 -s -Wl,--hash-style=both" mk_add_options MOZ_PHOENIX=1 ac_add_options --prefix=/usr/local/fx ac_add_options --enable-xft ac_add_options --enable-static ac_add_options --enable-canvas ac_add_options --enable-application=browser ac_add_options --enable-crypto ac_add_options --enable-single-profile ac_add_options --enable-strip ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --enable-optimize="$CFLAGS" ac_add_options --enable-reorder ac_add_options --enable-glitz ac_add_options --enable-places ac_add_options --enable-js-static-build ac_add_options --disable-shared ac_add_options --disable-ldap ac_add_options --disable-mailnews ac_add_options --disable-profilesharing ac_add_options --disable-debug ac_add_options --disable-installer ac_add_options --disable-gtktest ac_add_options --disable-glibtest ac_add_options --disable-tests ac_add_options --disable-updater ac_add_options --disable-composer ac_add_options --disable-mathml ac_add_options --disable-gnomevfs ac_add_options --disable-gnomeui ac_add_options --disable-necko-disk-cache ac_add_options --disable-xprint ac_add_options --disable-svg ac_add_options --disable-freetype2 ac_add_options --disable-pango ac_add_options --disable-accessibility ac_add_options --disable-libxul ac_add_options --disable-elf-dynstr-gc Reproducible: Always Steps to Reproduce: 1. 2. 3.
Version: unspecified → Trunk
There is different error after removing: ac_add_options --enable-js-static-build gcc -o glitz_glx_drawable.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I. -I./.. -I. -I. -I../../../../../dist/include/glitz -I../../../../../dist/include -I../../../../../dist/include/glitzglx -I../../../../../dist/include/nspr -I../../../../../dist/sdk/include -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pipe -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -pipe -include ../../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/glitz_glx_drawable.pp glitz_glx_drawable.c gcc -o glitz_glx_format.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I. -I./.. -I. -I. -I../../../../../dist/include/glitz -I../../../../../dist/include -I../../../../../dist/include/glitzglx -I../../../../../dist/include/nspr -I../../../../../dist/sdk/include -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pipe -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -pipe -include ../../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/glitz_glx_format.pp glitz_glx_format.c In file included from glitz_glxint.h:30In file included from glitz_glxint.h:30, from glitz_glx_drawable.c:30: ./../glitzint.h:29:28: cairo-platform.h: No such file or directory , from glitz_glx_format.c:30: ./../glitzint.h:29:28: cairo-platform.h: No such file or directory glitz_glx_drawable.c: In function `glitz_glx_create_drawable_for_window': glitz_glx_drawable.c:156: warning: comparison between signed and unsigned glitz_glx_drawable.c: In function `glitz_glx_create_pbuffer_drawable': glitz_glx_drawable.c:191: warning: comparison between signed and unsigned glitz_glx_format.c: In function `glitz_glx_find_drawable_format_for_visual': glitz_glx_format.c:420: warning: comparison between signed and unsigned gmake[6]: *** [glitz_glx_drawable.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... gmake[6]: *** [glitz_glx_format.o] Error 1 gmake[6]: Leaving directory `/cache/mozilla/gfx/cairo/glitz/src/glx'
Build was successful after removing ac_add_options --enable-glitz
Don't use random build options you don't understand.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
I understand these options. Support for glitz and using statically linked JS library are broken.
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.