W dniu 2011-12-21 22:01, Justin Dolske pisze:
Ok, thnx for hint.
I've deleted older one and i've created new mozconfig with these options:
----------------
PREFIX=/opt/omap3evm/toolchain/arm-2007q3.qt_4.6.2_glib.2.31.0/arm-none-linux-gnueabi/
mk_add_options MOZ_MAKE_FLAGS="-j8 -s"
mk_add_options MOZ_OBJDIR=./objdir-linux
ac_add_options --prefix=$INSTALLDIR
ac_add_options --target=arm-none-linux-gnueabi
ac_add_options --with-ccache
ac_add_options --disable-necko-wifi
#without this - cannot find freetype includes for target
ac_add_options --with-freetype-prefix=$PREFIX
----------------
and then:
make -f
client.mk build
I still have errors:
(...)
Executing: /usr/bin/ccache arm-none-linux-gnueabi-g++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof
-Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -lgdk-x11-2.0 -lgtk-x11-2.0
-lgdk_pixbuf-2.0 -lnotify -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer -o TestRacingServiceManager /home/freescale/web/mozilla-release/xpcom/tests/tmprQLjwi.list -lpthread
-Wl,-rpath-link,/home/freescale/web/mozilla-release/dist/bin -Wl,-rpath-link,/lib -lorc-0.4 -L../../dist/bin -L../../dist/lib -L/home/freescale/web/mozilla-release/dist/bin -lxpcom -lmozalloc -lxul
../../dist/lib/libxpcomglue_s.a -L/home/freescale/web/mozilla-release/dist/bin -lxpcom -lmozalloc -L/home/freescale/web/mozilla-release/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl
../../dist/lib/libjs_static.a -ldl
/home/freescale/web/mozilla-release/xpcom/tests/tmprQLjwi.list:
INPUT(TestRacingServiceManager.o)
/usr/bin/python2.7 ../../config/pythonpath.py -I../../config ../../config/expandlibs_exec.py --verbose --uselist -- /usr/bin/ccache arm-none-linux-gnueabi-g++ -fno-rtti -fno-exceptions -Wall
-Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing
-pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -lgdk-x11-2.0 -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lnotify -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer -o
TestRegistrationOrder TestRegistrationOrder.o -lpthread -Wl,-rpath-link,/home/freescale/web/mozilla-release/dist/bin -Wl,-rpath-link,/lib -lorc-0.4 -L../../dist/bin -L../../dist/lib
-L/home/freescale/web/mozilla-release/dist/bin -lxpcom -lmozalloc -lxul /home/freescale/web/mozilla-release/dist/lib/libxpcomglue_s.a -L/home/freescale/web/mozilla-release/dist/bin -lxpcom -lmozalloc
-L/home/freescale/web/mozilla-release/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl /home/freescale/web/mozilla-release/dist/lib/libjs_static.a -ldl
Executing: /usr/bin/ccache arm-none-linux-gnueabi-g++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof
-Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -lgdk-x11-2.0 -lgtk-x11-2.0
-lgdk_pixbuf-2.0 -lnotify -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer -o TestRegistrationOrder /home/freescale/web/mozilla-release/xpcom/tests/tmpHlIZDi.list -lpthread
-Wl,-rpath-link,/home/freescale/web/mozilla-release/dist/bin -Wl,-rpath-link,/lib -lorc-0.4 -L../../dist/bin -L../../dist/lib -L/home/freescale/web/mozilla-release/dist/bin -lxpcom -lmozalloc -lxul
../../dist/lib/libxpcomglue_s.a -L/home/freescale/web/mozilla-release/dist/bin -lxpcom -lmozalloc -L/home/freescale/web/mozilla-release/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl
../../dist/lib/libjs_static.a -ldl
/home/freescale/web/mozilla-release/xpcom/tests/tmpHlIZDi.list:
INPUT(TestRegistrationOrder.o)
../../dist/bin/libxul.so: undefined reference to `q12'
../../dist/bin/libxul.so: undefined reference to `q13'
../../dist/bin/libxul.so: undefined reference to `q15'
../../dist/bin/libxul.so: undefined reference to `d30'
../../dist/bin/libxul.so: undefined reference to `Q0'
../../dist/bin/libxul.so: undefined reference to `d26'
../../dist/bin/libxul.so: undefined reference to `q11'
../../dist/bin/libxul.so: undefined reference to `q3'
../../dist/bin/libxul.so: undefined reference to `q14'
../../dist/bin/libxul.so: undefined reference to `q5'
collect2: ld returned 1 exit status
make[4]: *** [TestCallTemplates] Error 1
make[4]: *** Waiting for unfinished jobs....
../../dist/bin/libxul.so: undefined reference to `q12'
../../dist/bin/libxul.so: undefined reference to `q13'
../../dist/bin/libxul.so: undefined reference to `q15'
../../dist/bin/libxul.so: undefined reference to `d30'
../../dist/bin/libxul.so: undefined reference to `Q0'
../../dist/bin/libxul.so: undefined reference to `d26'
../../dist/bin/libxul.so: undefined reference to `q11'
../../dist/bin/libxul.so: undefined reference to `q3'
../../dist/bin/libxul.so: undefined reference to `q14'
../../dist/bin/libxul.so: undefined reference to `q5'
collect2: ld returned 1 exit status
make[4]: *** [nsIFileEnumerator] Error 1
../../dist/bin/libxul.so: undefined reference to `q12'
../../dist/bin/libxul.so: undefined reference to `q13'
../../dist/bin/libxul.so: undefined reference to `q15'
../../dist/bin/libxul.so: undefined reference to `d30'
../../dist/bin/libxul.so: undefined reference to `Q0'
../../dist/bin/libxul.so: undefined reference to `d26'
../../dist/bin/libxul.so: undefined reference to `q11'
../../dist/bin/libxul.so: undefined reference to `q3'
../../dist/bin/libxul.so: undefined reference to `q14'
../../dist/bin/libxul.so: undefined reference to `q5'
collect2: ld returned 1 exit status
make[4]: *** [TestRacingServiceManager] Error 1
../../dist/bin/libxul.so: undefined reference to `q12'
../../dist/bin/libxul.so: undefined reference to `q13'
../../dist/bin/libxul.so: undefined reference to `q15'
../../dist/bin/libxul.so: undefined reference to `d30'
../../dist/bin/libxul.so: undefined reference to `Q0'
../../dist/bin/libxul.so: undefined reference to `d26'
../../dist/bin/libxul.so: undefined reference to `q11'
../../dist/bin/libxul.so: undefined reference to `q3'
../../dist/bin/libxul.so: undefined reference to `q14'
../../dist/bin/libxul.so: undefined reference to `q5'
collect2: ld returned 1 exit status
make[4]: *** [TestINIParser] Error 1
../../dist/bin/libxul.so: undefined reference to `q12'
../../dist/bin/libxul.so: undefined reference to `q13'
../../dist/bin/libxul.so: undefined reference to `q15'
../../dist/bin/libxul.so: undefined reference to `d30'
../../dist/bin/libxul.so: undefined reference to `Q0'
../../dist/bin/libxul.so: undefined reference to `d26'
../../dist/bin/libxul.so: undefined reference to `q11'
../../dist/bin/libxul.so: undefined reference to `q3'
../../dist/bin/libxul.so: undefined reference to `q14'
../../dist/bin/libxul.so: undefined reference to `q5'
collect2: ld returned 1 exit status
make[4]: *** [TestRegistrationOrder] Error 1
make[4]: Leaving directory `/home/freescale/web/mozilla-release/xpcom/tests'
make[3]: *** [tools] Error 2
make[3]: Leaving directory `/home/freescale/web/mozilla-release/xpcom'
make[2]: *** [tools_tier_platform] Error 2
make[2]: Leaving directory `/home/freescale/web/mozilla-release'
make[1]: *** [tier_platform] Error 2
make[1]: Leaving directory `/home/freescale/web/mozilla-release'
make: *** [default] Error 2
Strange, because "-lorc-0.4" is passed to the compiler and by the compiler is seen..
Regards
Andrzej