| View previous topic :: View next topic |
| Author |
Message |
creaker Apprentice

Joined: 14 Jul 2012 Posts: 164
|
Posted: Sat Feb 23, 2013 11:34 pm Post subject: [SOLVED] 0 A.D. compilation error |
|
|
Hi guys!
Need a help with 0 A.D.
Trying to install it from zugaina overlay. Overlay added by layman and nessesary keyword written into keywords.accept file.
layman -S
emerge -av games-strategy/0ad
Got an joystick related error message. After that I've restarted emerge with -joystick flag. But got an error again:
USE="-joystick" emerge -av games-strategy/0ad
Here last output strings:
| Code: | Linking AtlasUI
x86_64-pc-linux-gnu-g++ -o ../../../binaries/system/libAtlasUI.so obj/AtlasUI_Release/TexListEditor.o obj/AtlasUI_Release/ActorEditorListCtrl.o obj/AtlasUI_Release/AnimListEditor.o obj/AtlasUI_Release/ActorEditor.o obj/AtlasUI_Release/PropListEditor.o obj/AtlasUI_Release/ToolButton.o obj/AtlasUI_Release/ActionButton.o obj/AtlasUI_Release/Canvas.o obj/AtlasUI_Release/ColourDialog.o obj/AtlasUI_Release/DraggableListCtrlCommands.o obj/AtlasUI_Release/DraggableListCtrl.o obj/AtlasUI_Release/ListCtrlValidator.o obj/AtlasUI_Release/EditableListCtrlCommands.o obj/AtlasUI_Release/QuickFileCtrl.o obj/AtlasUI_Release/QuickTextCtrl.o obj/AtlasUI_Release/EditableListCtrl.o obj/AtlasUI_Release/QuickComboBox.o obj/AtlasUI_Release/FieldEditCtrl.o obj/AtlasUI_Release/FileHistory.o obj/AtlasUI_Release/HighResTimer.o obj/AtlasUI_Release/SnapSplitterWindow.o obj/AtlasUI_Release/virtualdirtreectrl.o obj/AtlasUI_Release/AtlasWindow.o obj/AtlasUI_Release/AtlasDialog.o obj/AtlasUI_Release/ErrorReporter.o obj/AtlasUI_Release/AtlasClipboard.o obj/AtlasUI_Release/Datafile.o obj/AtlasUI_Release/AtlasWindowCommand.o obj/AtlasUI_Release/AtlasWindowCommandProc.o obj/AtlasUI_Release/AtlasEventLoop.o obj/AtlasUI_Release/Observable.o obj/AtlasUI_Release/VideoRecorder.o obj/AtlasUI_Release/FFmpeg.o obj/AtlasUI_Release/precompiled.o obj/AtlasUI_Release/KeyMap.o obj/AtlasUI_Release/DLLInterface.o obj/AtlasUI_Release/ScenarioEditor.o obj/AtlasUI_Release/SectionLayout.o obj/AtlasUI_Release/Sidebar.o obj/AtlasUI_Release/Cinematic.o obj/AtlasUI_Release/LightControl.o obj/AtlasUI_Release/Environment.o obj/AtlasUI_Release/Map.o obj/AtlasUI_Release/Object.o obj/AtlasUI_Release/VariationControl.o obj/AtlasUI_Release/Player.o obj/AtlasUI_Release/Terrain.o obj/AtlasUI_Release/Trigger.o obj/AtlasUI_Release/SmoothElevation.o obj/AtlasUI_Release/AlterElevation.o obj/AtlasUI_Release/PlaceObject.o obj/AtlasUI_Release/FillTerrain.o obj/AtlasUI_Release/ReplaceTerrain.o obj/AtlasUI_Release/FlattenElevation.o obj/AtlasUI_Release/TransformObject.o obj/AtlasUI_Release/PaintTerrain.o obj/AtlasUI_Release/ActorViewerTool.o obj/AtlasUI_Release/ObjectSettings.o obj/AtlasUI_Release/Tools.o obj/AtlasUI_Release/MiscState.o obj/AtlasUI_Release/Brushes.o -Wl,-O1 -Wl,--as-needed -shared -Wl,--no-undefined -Wl,--as-needed -Wl,-rpath,/usr/games/lib64/0ad -fPIC -rdynamic -L../../../binaries/system -L/usr/X11R6/lib -Xlinker --start-group ../../../binaries/system/libAtlasObject.a ../../../binaries/system/libAtlasScript.a -Xlinker --end-group -lAtlasObject -lAtlasScript -lboost_filesystem-mt -lboost_system-mt -lboost_signals-mt -lz -lX11 `pkg-config libxml-2.0 --libs` `sdl-config --libs` `pkg-config mozjs185 --libs` `/usr/lib64/wx/config/gtk2-unicode-release-2.8 --unicode=yes --libs std,gl`
make: Leaving directory `/var/tmp/portage/games-strategy/0ad-99999/work/trunk/build/workspaces/gcc'
emake failed
* ERROR: games-strategy/0ad-99999 failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2505: Called die
* The specific snippet of code:
* emake -C build/workspaces/gcc verbose=1 || die
*
* If you need support, post the output of `emerge --info '=games-strategy/0ad-99999'`,
* the complete build log and the output of `emerge -pqv '=games-strategy/0ad-99999'`.
* This ebuild is from an overlay named 'zugaina': '/var/lib/layman/zugaina/'
* The complete build log is located at '/var/tmp/portage/games-strategy/0ad-99999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-strategy/0ad-99999/temp/environment'.
* Working directory: '/var/tmp/portage/games-strategy/0ad-99999/work/trunk'
* S: '/var/tmp/portage/games-strategy/0ad-99999/work/trunk'
>>> Failed to emerge games-strategy/0ad-99999, Log file:
>>> '/var/tmp/portage/games-strategy/0ad-99999/temp/build.log'
* Messages for package games-strategy/0ad-99999:
* ERROR: games-strategy/0ad-99999 failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2505: Called die
* The specific snippet of code:
* emake -C build/workspaces/gcc verbose=1 || die
*
* If you need support, post the output of `emerge --info '=games-strategy/0ad-99999'`,
* the complete build log and the output of `emerge -pqv '=games-strategy/0ad-99999'`.
* This ebuild is from an overlay named 'zugaina': '/var/lib/layman/zugaina/'
* The complete build log is located at '/var/tmp/portage/games-strategy/0ad-99999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-strategy/0ad-99999/temp/environment'.
* Working directory: '/var/tmp/portage/games-strategy/0ad-99999/work/trunk'
* S: '/var/tmp/portage/games-strategy/0ad-99999/work/trunk' |
Here some info and log files:
emerge --info '=games-strategy/0ad-99999 : http://pastebin.com/SEsksQJ4
emerge -pqv '=games-strategy/0ad-99999' : http://pastebin.com/ambGCCDE
/var/tmp/portage/games-strategy/0ad-99999/temp/environment : http://pastebin.com/vdvZgKy2
Any idea on what is wrong?
Thanks in advance. _________________ Intel Core i3-2120 / 4Gb RAM / 250Gb HDD / NVidia GeForce-550Ti
Last edited by creaker on Sun Feb 24, 2013 3:33 pm; edited 1 time in total |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4839
|
Posted: Sun Feb 24, 2013 5:29 am Post subject: |
|
|
| Pastebin full build log - the posted snippet doesn't contain the actual error. |
|
| Back to top |
|
 |
creaker Apprentice

Joined: 14 Jul 2012 Posts: 164
|
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4839
|
Posted: Sun Feb 24, 2013 12:04 pm Post subject: |
|
|
Well, among other, in the third part of the log:
| creaker wrote: | | Code: | ../../../binaries/system/libengine.a(Joystick.o): In function `CJoystick::Initialise()':
/var/tmp/portage/games-strategy/0ad-99999/work/trunk/build/workspaces/gcc/../../../source/ps/Joystick.cpp:48: undefined reference to `SDL_NumJoysticks' |
|
Well, regardless of whether it's an upstream or an ebuild bug, see the notes in media-libs/libsdl metadata about a few of its useflags.
Also, what did you do with that log for the error message to get so scrambled ? |
|
| Back to top |
|
 |
creaker Apprentice

Joined: 14 Jul 2012 Posts: 164
|
Posted: Sun Feb 24, 2013 3:31 pm Post subject: |
|
|
I thought the 'joystick' flag is nessesary for 0A.D. itself. Here is my mistake.
I've rebuilt libsdl with joystick support and built 0 A.D. after that sucessfully.
Many thanks for your help! _________________ Intel Core i3-2120 / 4Gb RAM / 250Gb HDD / NVidia GeForce-550Ti |
|
| Back to top |
|
 |
|