Author Topic: 2.6 r7748 ** Failed at make** 64-bit  (Read 4029 times)

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
2.6 r7748 ** Failed at make** 64-bit
« on: March 07, 2012, 11:23:44 AM »
Code: [Select]
bash bootStrap.bash --deb-- Build files have been written to: /home/jan/avidemux_2.6_branch_mean/buildCore

Code: [Select]
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
_____________________________________________
« Last Edit: March 25, 2012, 03:36:25 PM by Jan Gruuthuse »

Agent_007

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3163
Re: 2.6 r7748 ** Failed at make** 64-bit
« Reply #1 on: March 07, 2012, 05:58:09 PM »
Quote
cd /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.
« Last Edit: March 07, 2012, 06:00:17 PM by Agent_007 »
I am away between 15th of May - 15th of June. (yes, I am playing D3)

nibbles

  • Sr. Member
  • ****
  • Posts: 292
Re: 2.6 r7748 ** Failed at make** 64-bit
« Reply #2 on: March 08, 2012, 06:03:35 AM »
The -fPIC was added in 7749.  So there may be some adjusments needed.
Builds and runs well on Lion, though.
« Last Edit: March 08, 2012, 06:07:11 AM by nibbles »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: 2.6 r7748 ** Failed at make** 64-bit
« Reply #3 on: March 08, 2012, 06:08:21 AM »
already compile test r7749, looks promising

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
2.6 r7749 ** ALL DONE ** 64-bit
« Reply #4 on: March 08, 2012, 06:11:42 AM »
-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 **
« Last Edit: March 08, 2012, 06:48:32 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: 2.6 r7748 ** Failed at make** 64-bit
« Reply #5 on: March 08, 2012, 06:17:57 AM »
Quote from: gruntster
Revision 7749: make scripting engines optional + unix compilation fixes
thanks grunster