Build problem on Ubuntu 12.04

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).

Build problem on Ubuntu 12.04

Postby macgyver » Sat Oct 27, 2012 12:17 pm

Hello
I am currently trying to build Vega Strike on Ubuntu 12.04 (3.2.0-33-generic, x86_64), but ld reports an error:

Code: Select all
make  all-am
make[1]: Betrete Verzeichnis '/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike'
g++  -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread   -o vegastrike  src/cmd/ai/aggressive.o src/cmd/ai/autodocking.o src/cmd/ai/comm_ai.o src/cmd/ai/communication_xml.o src/cmd/ai/communication.o src/cmd/ai/docking.o src/cmd/ai/event_xml.o src/cmd/ai/fire.o src/cmd/ai/fireall.o src/cmd/ai/flybywire.o src/cmd/ai/flykeyboard_generic.o src/cmd/ai/hard_coded_scripts.o src/cmd/ai/ikarus.o src/cmd/ai/missionscript.o src/cmd/ai/navigation.o src/cmd/ai/order_comm.o src/cmd/ai/order.o src/cmd/ai/script.o src/cmd/ai/tactics.o src/cmd/ai/turretai.o src/cmd/ai/warpto.o src/cmd/alphacurve.o src/cmd/asteroid_generic.o src/cmd/beam_generic.o src/cmd/bolt_generic.o src/cmd/building_generic.o src/cmd/collection.o src/cmd/collide_map.o src/cmd/collide.o src/cmd/container.o src/cmd/csv.o src/cmd/missile_generic.o src/cmd/mount.o src/cmd/nebula_generic.o src/cmd/planet_generic.o src/cmd/role_bitmask.o src/cmd/unit_collide.o src/cmd/unit_const_cache.o src/cmd/unit_csv.o src/cmd/unit_factory_generic.o src/cmd/unit_functions_generic.o src/cmd/unit_generic.o src/cmd/fg_util.o src/cmd/unit_util_generic.o src/cmd/unit_xml.o src/cmd/weapon_xml.o src/cmd/collide2/Ice/IceAABB.o src/cmd/collide2/Ice/IceContainer.o src/cmd/collide2/Ice/IceHPoint.o src/cmd/collide2/Ice/IceIndexedTriangle.o src/cmd/collide2/Ice/IceMatrix3x3.o src/cmd/collide2/Ice/IceMatrix4x4.o src/cmd/collide2/Ice/IceOBB.o src/cmd/collide2/Ice/IcePlane.o src/cmd/collide2/Ice/IcePoint.o src/cmd/collide2/Ice/IceRandom.o src/cmd/collide2/Ice/IceRay.o src/cmd/collide2/Ice/IceRevisitedRadix.o src/cmd/collide2/Ice/IceSegment.o src/cmd/collide2/Ice/IceTriangle.o src/cmd/collide2/Ice/IceUtils.o src/cmd/collide2/csgeom2/opbox.o src/cmd/collide2/csgeom2/opmatrix3.o src/cmd/collide2/csgeom2/opvector3.o src/cmd/collide2/OPC_AABBCollider.o src/cmd/collide2/OPC_AABBTree.o src/cmd/collide2/OPC_BaseModel.o src/cmd/collide2/OPC_BoxPruning.o src/cmd/collide2/OPC_Collider.o src/cmd/collide2/OPC_Common.o src/cmd/collide2/OPC_HybridModel.o src/cmd/collide2/OPC_LSSCollider.o src/cmd/collide2/OPC_MeshInterface.o src/cmd/collide2/OPC_Model.o src/cmd/collide2/OPC_OBBCollider.o src/cmd/collide2/OPC_OptimizedTree.o src/cmd/collide2/OPC_Picking.o src/cmd/collide2/OPC_PlanesCollider.o src/cmd/collide2/OPC_RayCollider.o src/cmd/collide2/OPC_SphereCollider.o src/cmd/collide2/OPC_SweepAndPrune.o src/cmd/collide2/OPC_TreeBuilders.o src/cmd/collide2/OPC_TreeCollider.o src/cmd/collide2/OPC_VolumeCollider.o src/cmd/collide2/CSopcodecollider.o src/networking/inet_file.o src/networking/inet.o src/python/init.o src/python/python_compile.o src/python/unit_exports.o src/python/unit_exports1.o src/python/unit_exports2.o src/python/unit_exports3.o src/python/unit_method_defs.o src/python/unit_wrapper.o src/python/universe_util_export.o src/configxml.o src/easydom.o src/endianness.o src/macosx_math.o src/faction_generic.o src/faction_util_generic.o src/galaxy_gen.o src/galaxy_xml.o src/galaxy.o src/hashtable.o src/lin_time.o src/load_mission.o src/pk3.o src/posh.o src/savegame.o src/star_system_generic.o src/star_system_xml.o src/stardate.o src/universe_generic.o src/universe_util_generic.o src/vs_globals.o src/vsfilesystem.o src/xml_serializer.o src/xml_support.o src/options.o src/cmd/script/director_generic.o src/cmd/script/mission_script.o src/cmd/script/mission.o src/cmd/script/msgcenter.o src/cmd/script/pythonmission.o src/cmd/script/script_call_olist.o src/cmd/script/script_call_omap.o src/cmd/script/script_call_order.o src/cmd/script/script_call_string.o src/cmd/script/script_call_unit_generic.o src/cmd/script/script_callbacks.o src/cmd/script/script_expression.o src/cmd/script/script_generic.o src/cmd/script/script_statement.o src/cmd/script/script_util.o src/cmd/script/script_variables.o src/gfx/cockpit_generic.o src/gfx/lerp.o src/gfx/matrix.o src/gfx/mesh_bxm.o src/gfx/mesh_poly.o src/gfx/mesh_xml.o src/gfx/mesh.o src/gfx/quaternion.o src/gfx/soundcontainer_generic.o src/gfx/sphere_generic.o src/gfx/vec.o src/XMLDocument.o src/VSFileXMLSerializer.o src/gui/button.o src/gui/control.o src/gui/eventmanager.o src/gui/eventresponder.o src/gui/font.o src/gui/glut_support.o src/gui/groupcontrol.o src/gui/guidefs.o src/gui/guitexture.o src/gui/modaldialog.o src/gui/newbutton.o src/gui/painttext.o src/gui/picker.o src/gui/scroller.o src/gui/simplepicker.o src/gui/slider.o src/gui/staticdisplay.o src/gui/text_area.o src/gui/textinputdisplay.o src/gui/window.o src/gui/windowcontroller.o src/networking/accountsxml.o src/networking/client.o src/networking/fileutil.o src/networking/savenet_util.o src/networking/cubicsplines.o src/networking/mangle.o src/networking/netclient_clients.o src/networking/netclient_devices.o src/networking/netclient_login.o src/networking/netclient.o src/networking/netserver_acct.o src/networking/netserver_clients.o src/networking/netserver_devices.o src/networking/netserver_login.o src/networking/netserver_net.o src/networking/netserver.o src/networking/prediction.o src/networking/zonemgr.o src/networking/networkcomm.o src/networking/webcam_support.o src/cg_global.o src/command.o src/config_xml.o src/debug_vs.o src/faction_util.o src/force_feedback.o src/gamemenu.o src/gfxlib_struct.o src/in_joystick.o src/in_kb.o src/in_main.o src/in_mouse.o src/in_sdl.o src/main_loop.o src/physics.o src/rendertext.o src/ship_commands.o src/star_system_jump.o src/star_system.o src/universe_util.o src/universe.o src/gfx/ani_texture.o src/gfx/animation.o src/gfx/aux_logo.o src/gfx/aux_palette.o src/gfx/aux_texture.o src/gfx/background.o src/gfx/camera.o src/gfx/cockpit_xml.o src/gfx/cockpit.o src/gfx/coord_select.o src/gfx/env_map_gent.o src/gfx/gauge.o src/gfx/halo_system.o src/gfx/halo.o src/gfx/hud.o src/gfx/jpeg_memory.o src/gfx/loc_select.o src/gfx/masks.o src/gfx/mesh_bin.o src/gfx/mesh_fx.o src/gfx/mesh_gfx.o src/gfx/nav/criteria_xml.o src/gfx/nav/criteria.o src/gfx/nav/drawgalaxy.o src/gfx/nav/drawlist.o src/gfx/nav/drawsystem.o src/gfx/nav/navcomputer.o src/gfx/nav/navgetxmldata.o src/gfx/nav/navpath.o src/gfx/nav/navscreen.o src/gfx/nav/navscreenoccupied.o src/gfx/particle.o src/gfx/pipelined_texture.o src/gfx/quadsquare_cull.o src/gfx/quadsquare_render.o src/gfx/quadsquare_update.o src/gfx/quadsquare.o src/gfx/quadtree_xml.o src/gfx/quadtree.o src/gfx/radar/bubble_display.o src/gfx/radar/dual_display.o src/gfx/radar/plane_display.o src/gfx/radar/radar.o src/gfx/radar/sensor.o src/gfx/radar/sphere_display.o src/gfx/radar/track.o src/gfx/radar/viewarea.o src/gfx/ring.o src/gfx/screenshot.o src/gfx/soundcontainer.o src/gfx/soundcontainer_aldrv.o src/gfx/sphere.o src/gfx/sprite.o src/gfx/star.o src/gfx/stream_texture.o src/gfx/tex_transform.o src/gfx/technique.o src/gfx/vdu.o src/gfx/vid_file.o src/ffmpeg_init.o src/gfx/vsbox.o src/gfx/vsimage.o src/gfx/warptrail.o src/audio/CodecRegistry.o src/audio/Stream.o src/audio/Sound.o src/audio/Source.o src/audio/SourceTemplate.o src/audio/SceneManager.o src/audio/Renderer.o src/audio/utils.o src/audio/RenderableSource.o src/audio/RenderableListener.o src/audio/Listener.o src/audio/Scene.o src/audio/SimpleSource.o src/audio/SimpleScene.o src/audio/SimpleSound.o src/audio/SoundBuffer.o src/audio/TemplateManager.o src/audio/codecs/Codec.o src/audio/codecs/FFStream.o src/audio/codecs/OggStream.o src/audio/codecs/OggData.o src/audio/codecs/OggCodec.o src/audio/codecs/FFCodec.o src/audio/renderers/OpenAL/OpenALRenderer.o src/audio/renderers/OpenAL/OpenALRenderableListener.o src/audio/renderers/OpenAL/OpenALRenderableSource.o src/audio/renderers/OpenAL/OpenALRenderableStreamingSource.o src/audio/renderers/OpenAL/OpenALSimpleSound.o src/audio/renderers/OpenAL/OpenALStreamingSound.o src/audio/renderers/OpenAL/OpenALHelpers.o src/audio/test.o src/aldrv/al_globals.o src/cmd/images.o src/aldrv/al_init.o src/aldrv/al_listen.o src/aldrv/al_sound.o src/cmd/ai/firekeyboard.o src/cmd/ai/flyjoystick.o src/cmd/ai/flykeyboard.o src/cmd/asteroid.o src/cmd/atmosphere.o src/cmd/base_init.o src/cmd/base_interface.o src/cmd/base_util.o src/cmd/base_write_python.o src/cmd/base_write_xml.o src/cmd/base_xml.o src/cmd/basecomputer.o src/cmd/beam.o src/cmd/bolt.o src/cmd/briefing.o src/cmd/building.o src/cmd/click_list.o src/cmd/cont_terrain.o src/cmd/faction_xml.o src/cmd/music.o src/cmd/nebula.o src/cmd/pilot.o src/cmd/planet.o src/cmd/script/c_alike/c_alike.tab.o src/cmd/script/c_alike/lex.yy.o src/cmd/script/director.o src/cmd/script/flightgroup.o src/cmd/script/script_call_briefing.o src/cmd/script/script_call_unit.o src/cmd/terrain.o src/cmd/unit_factory.o src/cmd/unit_functions.o src/cmd/unit_util.o src/cmd/unit.o src/gldrv/gl_program.o src/gldrv/gl_clip.o src/gldrv/gl_fog.o src/gldrv/gl_globals.o src/gldrv/gl_init.o src/gldrv/gl_light_pick.o src/gldrv/gl_light_state.o src/gldrv/gl_light.o src/gldrv/gl_material.o src/gldrv/gl_matrix.o src/gldrv/gl_misc.o src/gldrv/gl_quad_list.o src/gldrv/gl_sphere_list.o src/gldrv/gl_state.o src/gldrv/sdds.o src/gldrv/gl_texture.o src/gldrv/gl_vertex_list.o src/gldrv/winsys.o src/main.o src/python/briefing_wrapper.o libnetlowlevel.a -lz -lboost_python -lvorbisfile -lvorbis -logg   -L/usr/lib/x86_64-linux-gnu -lSDL  -lGL  -lGLU -lXmu -lXi  -lglut  -lexpat  -lpng  -ljpeg  -lopenal  -lvorbisfile -lvorbis -logg  -lavcodec -lavformat -lavutil -lswscale -L/usr/lib -lpython2.7 -Xlinker -export-dynamic -pthread
src/cmd/unit.o: In function `GameUnit<Asteroid>::Draw(Transformation const&, Matrix const&)':
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/cmd/unit.cpp:429: undefined reference to `Occlusion::addOccluder(QVector const&, float, bool)'
src/cmd/unit.o: In function `GameUnit<Building>::Draw(Transformation const&, Matrix const&)':
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/cmd/unit.cpp:429: undefined reference to `Occlusion::addOccluder(QVector const&, float, bool)'
src/cmd/unit.o: In function `GameUnit<Planet>::Draw(Transformation const&, Matrix const&)':
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/cmd/unit.cpp:427: undefined reference to `Occlusion::addOccluder(QVector const&, float, bool)'
src/cmd/unit.o: In function `GameUnit<Unit>::Draw(Transformation const&, Matrix const&)':
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/cmd/unit.cpp:429: undefined reference to `Occlusion::addOccluder(QVector const&, float, bool)'
src/cmd/unit.o: In function `GameUnit<Missile>::Draw(Transformation const&, Matrix const&)':
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/cmd/unit.cpp:429: undefined reference to `Occlusion::addOccluder(QVector const&, float, bool)'
src/cmd/unit.o:/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/cmd/unit.cpp:429: more undefined references to `Occlusion::addOccluder(QVector const&, float, bool)' follow
src/star_system.o: In function `GameStarSystem::Draw(bool)':
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/star_system.cpp:300: undefined reference to `Occlusion::start()'
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/star_system.cpp:395: undefined reference to `Occlusion::end()'
src/gldrv/gl_light_pick.o: In function `occludedIntensity':
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/gldrv/gl_light_pick.cpp:95: undefined reference to `Occlusion::testOcclusion(QVector const&, float, QVector const&, float)'
/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike/src/gldrv/gl_light_pick.cpp:95: undefined reference to `Occlusion::testOcclusion(QVector const&, float, QVector const&, float)'
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [vegastrike] Fehler 1
make[1]: Verlasse Verzeichnis '/home/macgyver/Arbeitsfläche/VegaStrike/vegastrike'
make: *** [all] Fehler 2


I have followed the instructions on http://vegastrike.sourceforge.net/wiki/ ... u_Linux%29 and http://vegastrike.sourceforge.net/wiki/ ... e_from_SVN.

Does anybody know what is going wrong?
Attachments
config.log
(154.76 KiB) Downloaded 95 times
macgyver
Insys Pilot
Insys Pilot
 
Posts: 2
Topics: 1
Joined: Sat Oct 27, 2012 11:45 am

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: Build problem on Ubuntu 12.04

Postby klauss » Sat Oct 27, 2012 1:48 pm

I imagine you're using autotools?

I guess I forgot to add occluder to the autotools chain. Will commit a fix shortly.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: Build problem on Ubuntu 12.04

Postby macgyver » Sun Oct 28, 2012 2:42 am

This fixed it, thank you
macgyver
Insys Pilot
Insys Pilot
 
Posts: 2
Topics: 1
Joined: Sat Oct 27, 2012 11:45 am

Re: Build problem on Ubuntu 12.04

Postby sciguy1872 » Fri Mar 22, 2013 2:54 pm

Hi. I have followed the instructions on
http://vegastrike.sourceforge.net/wiki/HowTo:Checkout_SVN_(Ubuntu_Linux)#Building.2FCompiling I'm at the beginning of Pre-Compile; I enter the following bootstrap command "sudo ./bootstrap-sh", but the terminal replies with "command not found"; I also tried the command without "sudo". What am I doing wrong, or is there another way to fix this error? I am a newb just following instructions from the aforementioned site.

Pre-Compile.
./bootstrap-sh = bash: ./bootstrap-sh: No such file or directory ; sudo: ./bootstrap-sh: command not found

Thanks,
Anthony
sciguy1872
Atmospheric Pilot
Atmospheric Pilot
 
Posts: 1
Joined: Fri Mar 22, 2013 2:19 pm

Re: Build problem on Ubuntu 12.04

Postby klauss » Fri Mar 22, 2013 2:59 pm

We removed autotools from trunk. You have to follow the instructions for cmake (and we should remove the instructions for autotools since we're no longer supporting it).
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: Build problem on Ubuntu 12.04

Postby Rabiator » Sat Apr 06, 2013 10:42 am

I've updated the wiki page, feel free to correct me if I got something wrong.
Rabiator
Merchant
Merchant
 
Posts: 58
Topics: 1
Joined: Thu Aug 21, 2003 1:47 pm

Re: Build problem on Ubuntu 12.04

Postby yosef » Sun Apr 07, 2013 4:29 pm

Rabiator can you please post the link to the wiki page, as there are multiple installation instructions and I've run into the same problem (no boostrap file, ./configure doesn't work).
yosef
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
 
Posts: 3
Topics: 1
Joined: Wed Mar 27, 2013 11:27 pm

Re: Build problem on Ubuntu 12.04

Postby loki1950 » Sun Apr 07, 2013 5:41 pm

Hi josef first thing is to install cmake as that is what has replaced auto-tools there is also a GUI for cmake that is a separate package on most distros you then can follow generic cmake instructions.

@Rabiator can't find any of your edits on the Wiki

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5715
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Build problem on Ubuntu 12.04

Postby Rabiator » Mon Apr 08, 2013 4:09 pm

It is the "Howto:Checkout SVN (Ubuntu Linux)" page: http://wiki.vega-strike.org/HowTo:Check ... u_Linux%29.

I edited the paragraphs "Building" and "Compiling", based on experimenting with a fresh Xubuntu 12.04 install and Klauss' statement about autotools no longer being supported. I have not tried other Linux flavors, so there may be still something you have to do different for your distribution of choice. Feel free to add what I have missed.
Rabiator
Merchant
Merchant
 
Posts: 58
Topics: 1
Joined: Thu Aug 21, 2003 1:47 pm

Re: Build problem on Ubuntu 12.04

Postby loki1950 » Mon Apr 08, 2013 5:10 pm

There is no need to run make after running cmake it replaces make completely.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5715
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Build problem on Ubuntu 12.04

Postby klauss » Mon Apr 08, 2013 6:06 pm

loki1950 wrote:There is no need to run make after running cmake it replaces make completely.

Enjoy the Choice :)


Ehm... AFAIK, cmake replaces configure. Not make.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: Build problem on Ubuntu 12.04

Postby loki1950 » Tue Apr 09, 2013 9:32 am

I have used the GUI on windows and *nix which hides that fact from you :oops:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5715
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Build problem on Ubuntu 12.04

Postby klauss » Tue Apr 09, 2013 10:02 am

loki1950 wrote:I have used the GUI on windows and *nix which hides that fact from you :oops:

Enjoy the Choice :)


Well, in *nix, if you do "mkdir build ; cd build ; cmake .." it does the equivalent of configure. And then you must do "make"
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina



Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 2 guests

cron