News:

--

Main Menu

2.6 r7748 ** Failed at make** 64-bit

Started by Jan Gruuthuse, March 07, 2012, 11:23:44 AM

Previous topic - Next topic

Jan Gruuthuse

bash bootStrap.bash --deb
-- Build files have been written to: /home/jan/avidemux_2.6_branch_mean/buildCore

make[2]: *** [ADM_coreScriptSpiderMonkey/src/libADM_coreScriptSpiderMonkey.so] Error 1
make[2]: Leaving directory `/home/jan/avidemux_2.6_branch_mean/buildCore'
make[1]: *** [ADM_coreScriptSpiderMonkey/src/CMakeFiles/ADM_coreScriptSpiderMonkey.dir/all] Error 2
make[1]: Leaving directory `/home/jan/avidemux_2.6_branch_mean/buildCore'
make: *** [all] Error 2


logbuildCore @gist.github
_____________________________________________
Compiler: GCC 4.6.1
Build Target: Linux (x86-64)
User Interface: Qt (4.7.4)
_____________________________________________
Kernel: Linux 3.0.0-16-generic (x86_64)
Distribution: Linux Ubuntu 11.10 (oneiric)
Desktop: Unity 2D 4.28.0
Display Server: 1.11.2.902 (1.11.3 RC 2)
Display Driver: intel 2.18.0
Intel Core i5-2500K with 16 GB ram
OpenGL Renderer:  Mesa DRI Intel(R) Sandybridge
Version: 3.0 Mesa 8.0.1
_____________________________________________

Agent_007

#1
Quotecd /home/jan/avidemux_2.6_branch_mean/buildCore/ADM_coreScriptSpiderMonkey/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ADM_coreScriptSpiderMonkey.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -fmessage-length=0 -O3 -DNDEBUG   -shared -Wl,-soname,libADM_coreScriptSpiderMonkey.so -o libADM_coreScriptSpiderMonkey.so CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsAvidemux_js.c.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsAvidemux.cpp.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsEditor_js.c.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsEditor.cpp.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsIf_js.c.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsIf.cpp.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsTestFactory_js.c.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsTestFactory.cpp.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsUtils.cpp.o CMakeFiles/ADM_coreScriptSpiderMonkey.dir/SpiderMonkeyEngine.cpp.o -Wl,--as-needed smjs/libADM_smjs6.a ../../ADM_coreUI/src/libADM_coreUI6.so ../../ADM_coreUtils/src/libADM_coreUtils6.so src_dialogFactory/libADM_scriptDF.a ../../ADM_coreScript/src/libADM_coreScript.so -Wl,--version-script,"/home/jan/avidemux_2.6_branch_mean/avidemux_core/ADM_coreScriptSpiderMonkey/src/ADM_coreScriptSpiderMonkey.v" smjs/libADM_smjs6.a ../../ADM_coreUtils/src/libADM_coreUtils6.so ../../ADM_coreUI/src/libADM_coreUI6.so ../../ADM_core/src/libADM_core6.so -Wl,--as-needed -ldl -lpthread ../../ADM_coreUtils/src/Source/libADM_json.a ../../ffmpeg/build/libavutil/libADM6avutil.so.51 ../../ffmpeg/build/libavcodec/libADM6avcodec.so.53 -Wl,-rpath,/home/jan/avidemux_2.6_branch_mean/buildCore/ADM_coreUI/src:/home/jan/avidemux_2.6_branch_mean/buildCore/ADM_coreUtils/src:/home/jan/avidemux_2.6_branch_mean/buildCore/ADM_coreScript/src:/home/jan/avidemux_2.6_branch_mean/buildCore/ADM_core/src:
/usr/bin/ld: smjs/libADM_smjs6.a(jsapi.c.o): relocation R_X86_64_32S against `js_ObjectOps' can not be used when making a shared object; recompile with -fPIC
smjs/libADM_smjs6.a: could not read symbols: Bad value
Seems a bit strange that it is compiled with -fPIC but still complains.
I am away between 15th of May - 15th of June. (yes, I am playing D3)

nibbles

#2
The -fPIC was added in 7749.  So there may be some adjusments needed.
Builds and runs well on Lion, though.

Jan Gruuthuse

already compile test r7749, looks promising

Jan Gruuthuse

#4
-rw-rw-r-- 1 jan jan 3260828 2012-03-08 07:02 avidemux3-core-2.6.0-r7749-Linux.deb
-rw-rw-r-- 1 jan jan 1238174 2012-03-08 07:02 avidemux3-plugins-COMMON-2.6.0-7749-Linux.deb
-rw-rw-r-- 1 jan jan  191288 2012-03-08 07:02 avidemux3-plugins-QT4-2.6.0-7749-Linux.deb
-rw-rw-r-- 1 jan jan 1848046 2012-03-08 07:02 avidemux3-qt4-2.6.0-7749-Linux.deb
** ALL DONE **

Jan Gruuthuse

Quote from: gruntsterRevision 7749: make scripting engines optional + unix compilation fixes
thanks grunster