Author Topic: r7801 buildGtk ** Failed at make**  (Read 4253 times)

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
r7801 buildGtk ** Failed at make**
« on: March 23, 2012, 09:26:19 AM »
Quote
-- Build files have been written to: /home/jan/avidemux_2.6_branch_mean/buildGtk
** Failed at make**
same occurs when compiling 32-bit
Code: [Select]
/usr/bin/c++    -fmessage-length=0 -O3 -DNDEBUG    CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/ADM_preview.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/ADM_previewNavigate.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/gui_main.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/gui_autodrive.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/GUI_jobs.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/gui_navigate.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/gui_play.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/gui_save.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/gui_savenew.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/main.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/gui_action.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/gui_blackframes.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/ADM_gettext.cpp.o CMakeFiles/avidemux3_gtk.dir/home/jan/avidemux_2.6_branch_mean/avidemux/common/ADM_slave.cpp.o  -o avidemux3_gtk -rdynamic -L/home/jan/avidemux_2.6_branch_mean/install/usr/lib common/ADM_muxerGate/src/libADM_muxerGate6.a common/ADM_audioFilter/src/libADM_audioFilter6.a common/ADM_editor/src/libADM_editor6.a common/ADM_audiocodec/libADM_audiocodec6.a common/ADM_videoCodec/src/libADM_videocodec6.a -lADM_coreVideoCodec6 common/ADM_commonUI/libADM_commonUI6.a -lADM_coreVDPAU6 /home/jan/avidemux_2.6_branch_mean/install//usr/lib/libADM6avcodec.so.53 /home/jan/avidemux_2.6_branch_mean/install//usr/lib/libADM6avutil.so.51 ADM_userInterfacesGtk/ADM_filters/libADM_filtersGtk.a -lADM_coreJobs common/ADM_osSupport/libADM_osSupport6.a common/ADM_requant/libADM_requant6.a -lADM_coreScriptPython -lADM_coreScriptSpiderMonkey common/ADM_script2/src/libADM_script6.a common/ADM_videoEncoder/src/libADM_videoEncoder6.a common/ADM_videoFilter2/src/libADM_internalVideoFilter6.a common/ADM_toolkit/libADM_toolkit6.a -lADM_core6 -lADM_audioParser6 -lADM_coreAudio6 -lADM_coreAudioFilterAPI6 -lADM_coreAudioDevice6 -lADM_coreAudioEncoder6 -lADM_coreDemuxer6 -lADM_coreDemuxerMpeg6 -lADM_coreImage6 -lADM_coreMuxer6 -lADM_coreUI6 -lADM_coreUtils6 -lADM_coreSocket6 -lADM_coreVideoEncoder6 -lADM_coreVideoFilter6 -lADM_coreImageLoader6 ADM_userInterfacesGtk/libADM_UI_GTK.a ADM_userInterfacesGtk/ADM_dialog/libADM_dialogGtk.a ADM_userInterfacesGtk/ADM_gui2/libADM_gui2Gtk.a common/ADM_toolkit/libADM_toolkit6.a -lADM_coreAudio6 -lADM_coreUtils6 ADM_userInterfacesGtk/ADM_toolkit_gtk/libADM_toolkitGtk.so ADM_userInterfacesGtk/ADM_shell/libADM_shellGtk.a ADM_UIsGtk/src/libADM_UIGtk6.so -lADM_coreAudioDevice6 common/ADM_osSupport/libADM_osSupport6.a -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -pthread -lgtk-3 -lgdk-3 -latk-1.0 -lcairo-gobject -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -lADM_coreAudioFilterAPI6 -lADM_coreAudioEncoder6 -lADM_coreDemuxer6 -lADM_coreDemuxerMpeg6 -lADM_coreMuxer6 -lADM_coreSocket6 -lADM_coreVideoEncoder6 -lADM_coreImageLoader6 -lpthread -lADM_coreScriptPython -lADM_coreScriptSpiderMonkey -lADM_coreVideoFilter6 -lgtk-3 -lgdk-3 -latk-1.0 -lcairo-gobject -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 common/ADM_render/libADM_render6_gtk.so -lADM_coreVDPAU6 -lADM_core6 -lADM_coreImage6 -lADM_coreUI6 -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lXv -Wl,-rpath,/home/jan/avidemux_2.6_branch_mean/install/usr/lib:/home/jan/avidemux_2.6_branch_mean/buildGtk/ADM_userInterfacesGtk/ADM_toolkit_gtk:/home/jan/avidemux_2.6_branch_mean/buildGtk/ADM_UIsGtk/src:/home/jan/avidemux_2.6_branch_mean/buildGtk/common/ADM_render:
ADM_userInterfacesGtk/ADM_dialog/libADM_dialogGtk.a(toolkit_dialog.cpp.o):(.data+0x60): undefined reference to `ADM_GtkCoreUIToolkit::createAudioTrack(PoolOfAudioTracks*, ActiveAudioTracks*)'
collect2: ld returned 1 exit status
make[2]: *** [avidemux3_gtk] Error 1
make[2]: Leaving directory `/home/jan/avidemux_2.6_branch_mean/buildGtk'
make[1]: *** [CMakeFiles/avidemux3_gtk.dir/all] Error 2
make[1]: Leaving directory `/home/jan/avidemux_2.6_branch_mean/buildGtk'
make: *** [all] Error 2
github:gist build GTK terminal output
github:gist build GTK log
_____________________________________________
Avidemux v2.6.0 (r7801)
_____________________________________________
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:33:46 PM by Jan Gruuthuse »

nibbles

  • Sr. Member
  • ****
  • Posts: 292
Re: r7801 buildGtk ** Failed at make**
« Reply #1 on: March 23, 2012, 04:49:16 PM »
Somewhere Mean told us how to pull a specific revision and compile that.
I'm curious when these problems started, so that I can track down the
files involved.  Can you build r7766 but not r7767?  It's possible that your
issue started then, http://svn.berlios.de/viewvc/avidemux?view=revision&revision=7767
From the error message, you may just need a slight tweak to your target_link_libraries,
but at this point, I still need coffee.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: r7801 buildGtk ** Failed at make**
« Reply #2 on: March 23, 2012, 06:11:42 PM »
r7749 was the last I could build GTK. Then due to the berlios outage a lot of revisions did not come on line until r7795. If you can give some details. How to get a fresh Revision 7767 and then I can test if problem started there or not.


nibbles

  • Sr. Member
  • ****
  • Posts: 292
Re: r7801 buildGtk ** Failed at make**
« Reply #3 on: March 24, 2012, 12:29:56 AM »
He said this:

Quote
you can checkout xxxx@r1451
to checkout a specific revision

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: r7801 buildGtk ** Failed at make**
« Reply #4 on: March 24, 2012, 05:53:54 AM »
That downloading seems to work, start compiling now. And keep you informed.
Had to rename current svn avidemux_2.6_branch_mean to avidemux_2.6_branch_mean@7801 so svn could make a avidemux_2.6_branch_mean
Code: [Select]
svn co svn://svn.berlios.de/avidemux/branches/avidemux_2.6_branch_mean@r7766

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: r7801 buildGtk ** Failed at make**
« Reply #5 on: March 24, 2012, 06:29:31 AM »
not looking good :(  ** Failed at make** only logbuildcore. Going back to the last one I could compile: r7749
Quote
In file included from /home/jan/avidemux_2.6_branch_mean/avidemux_core/ADM_coreScriptSpiderMonkey/src/../include/SpiderMonkeyEngine.h:6:0,
                 from /home/jan/avidemux_2.6_branch_mean/avidemux_core/ADM_coreScriptSpiderMonkey/src/ADM_jsAvidemux.cpp:5:
/home/jan/avidemux_2.6_branch_mean/avidemux_core/../avidemux_core/ADM_coreScript/include/IScriptEngine.h:5:32: fatal error: ADM_editor/IEditor.h: No such file or directory
compilation terminated.
make[2]: *** [ADM_coreScriptSpiderMonkey/src/CMakeFiles/ADM_coreScriptSpiderMonkey.dir/ADM_jsAvidemux.cpp.o] 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

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: r7801 buildGtk ** Failed at make**
« Reply #6 on: March 24, 2012, 07:40:52 AM »
This one still compiles OK: r7749
Quote
** ALL DONE **
** The installable packages are in the debs folder **
What do you suggest going forward? and see if buildCore gets fixed and check if buildGtk is the still compiled?
« Last Edit: March 24, 2012, 08:47:11 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: r7801 buildGtk ** Failed at make**
« Reply #7 on: March 24, 2012, 08:51:58 AM »
Installed spidermonkey, r7801 still no go on buildGTK. Can you check what version of GTK is required for avidemux?
Looks like I have GTK-2 and GTK-3 installed on this computer.
Code: [Select]
ADM_userInterfacesGtk/ADM_dialog/libADM_dialogGtk.a(toolkit_dialog.cpp.o):(.data+0x60): undefined reference to `ADM_GtkCoreUIToolkit::createAudioTrack(PoolOfAudioTracks*, ActiveAudioTracks*)'
collect2: ld returned 1 exit status
make[2]: *** [avidemux3_gtk] Error 1
make[2]: Leaving directory `/home/jan/avidemux_2.6_branch_mean/buildGtk'
make[1]: *** [CMakeFiles/avidemux3_gtk.dir/all] Error 2
make[1]: Leaving directory `/home/jan/avidemux_2.6_branch_mean/buildGtk'
make: *** [all] Error 2
« Last Edit: March 24, 2012, 11:18:09 AM by Jan Gruuthuse »