Can't compile CVS version

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).
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Can't compile CVS version

Post by mithrandir1984cz »

make fail here:

make all-am
make[1]: Entering directory `/data/vegastrike_cvs_head/vegastrike'
depbase=`echo src/networking/lowlevel/vsnet_dloadmgr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./boost/1_33 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.4 -DHAVE_PYTHON=1 -I./src -g -O2 -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT src/networking/lowlevel/vsnet_dloadmgr.o -MD -MP -MF "$depbase.Tpo" -c -o src/networking/lowlevel/vsnet_dloadmgr.o src/networking/lowlevel/vsnet_dloadmgr.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
src/networking/lowlevel/vsnet_dloadmgr.cpp: In function `int access(const
char*, int)':
src/networking/lowlevel/vsnet_dloadmgr.cpp:917: error: declaration of `int
access(const char*, int)' throws different exceptions
src/networking/lowlevel/vsnet_dloadmgr.cpp:28: error: than previous declaration
`int access(const char*, int) throw ()'
src/cmd/collection.h: At global scope:
src/cmd/collection.h:54: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[1]: *** [src/networking/lowlevel/vsnet_dloadmgr.o] Error 1
make[1]: Leaving directory `/data/vegastrike_cvs_head/vegastrike'
make: *** [all] Error 2
You do not have the required permissions to view the files attached to this post.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

tried to fix...never had the problem in the first place--but can you update (make sure vsnew_dlmgr actually updates) and then try again?
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

It seems that cvs on sourceforge is down again... :( I wll try it tomorow
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

Hm, working again, just download it from cdma :)
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

Again... :(

make all-am
make[1]: Entering directory `/data/vegastrike_cvs_head/vegastrike'
depbase=`echo src/networking/lowlevel/vsnet_dloadmgr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./boost/1_33 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.4 -DHAVE_PYTHON=1 -I./src -g -O2 -pipe -O2 -ffast-math -static -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT src/networking/lowlevel/vsnet_dloadmgr.o -MD -MP -MF "$depbase.Tpo" -c -o src/networking/lowlevel/vsnet_dloadmgr.o src/networking/lowlevel/vsnet_dloadmgr.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
src/networking/lowlevel/vsnet_dloadmgr.cpp: In function `int access(const
char*, int)':
src/networking/lowlevel/vsnet_dloadmgr.cpp:917: error: declaration of `int
access(const char*, int)' throws different exceptions
src/networking/lowlevel/vsnet_dloadmgr.cpp:28: error: than previous declaration
`int access(const char*, int) throw ()'
src/cmd/collection.h: At global scope:
src/cmd/collection.h:54: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[1]: *** [src/networking/lowlevel/vsnet_dloadmgr.o] Error 1
make[1]: Leaving directory `/data/vegastrike_cvs_head/vegastrike'
make: *** [all] Error 2
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

might take a day to update...can you download again tomorrow
you should see the vsnet_dloadmgr update
md5sum vsnet_dloadmgr.cpp
a6cc9a57c7cf9288be4667b167443986 vsnet_dloadmgr.cpp


make sure it has that checksum
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

Hm... it's bit better...

localhost vegastrike # make
make all-am
make[1]: Entering directory `/data/vegastrike_cvs_head/vegastrike'
depbase=`echo src/networking/lowlevel/vsnet_dloadmgr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./boost/1_33 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.4 -DHAVE_PYTHON=1 -I./src -g -O2 -pipe -O2 -ffast-math -static -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT src/networking/lowlevel/vsnet_dloadmgr.o -MD -MP -MF "$depbase.Tpo" -c -o src/networking/lowlevel/vsnet_dloadmgr.o src/networking/lowlevel/vsnet_dloadmgr.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
src/networking/lowlevel/vsnet_dloadmgr.cpp: In function `int access(const
char*, int)':
src/networking/lowlevel/vsnet_dloadmgr.cpp:932: error: declaration of `int
access(const char*, int)' throws different exceptions
src/networking/lowlevel/vsnet_dloadmgr.cpp:28: error: than previous declaration
`int access(const char*, int) throw ()'
src/cmd/collection.h: At global scope:
src/cmd/collection.h:54: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[1]: *** [src/networking/lowlevel/vsnet_dloadmgr.o] Error 1
make[1]: Leaving directory `/data/vegastrike_cvs_head/vegastrike'
make: *** [all] Error 2
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

tried a new version now....
maybe this one works for you

what version of gcc do you have?
gcc --version

84c1cd1af4538ee9b0cc074b76ccde6a src/networking/lowlevel/vsnet_dloadmgr.cpp
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

I will... after great sourceforge will update their cvs.

Code: Select all

perfectum_mobile@vegastrike # gcc --version
gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

Well, next problem soluted, now I fail here.

make all-am
make[1]: Entering directory `/data/vegastrike_cvs_head/vegastrike'
g++ -g -O2 -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -L/usr/X11R6/lib -L/usr/X11R6/lib -o vegastrike src/cmd/ai/vegastrike-aggressive.o src/cmd/ai/vegastrike-comm_ai.o src/cmd/ai/vegastrike-communication_xml.o src/cmd/ai/vegastrike-communication.o src/cmd/ai/vegastrike-docking.o src/cmd/ai/vegastrike-event_xml.o src/cmd/ai/vegastrike-fire.o src/cmd/ai/vegastrike-fireall.o src/cmd/ai/vegastrike-flybywire.o src/cmd/ai/vegastrike-hard_coded_scripts.o src/cmd/ai/vegastrike-ikarus.o src/cmd/ai/vegastrike-missionscript.o src/cmd/ai/vegastrike-navigation.o src/cmd/ai/vegastrike-order_comm.o src/cmd/ai/vegastrike-order.o src/cmd/ai/vegastrike-script.o src/cmd/ai/vegastrike-tactics.o src/cmd/ai/vegastrike-turretai.o src/cmd/ai/vegastrike-warpto.o src/cmd/vegastrike-alphacurve.o src/cmd/vegastrike-asteroid_generic.o src/cmd/vegastrike-atmosphere_generic.o src/cmd/vegastrike-beam_generic.o src/cmd/vegastrike-bolt_generic.o src/cmd/vegastrike-building_generic.o src/cmd/vegastrike-collection.o src/cmd/vegastrike-collide_map.o src/cmd/vegastrike-collide.o src/cmd/vegastrike-container.o src/cmd/vegastrike-csv.o src/cmd/vegastrike-faction_xml.o src/cmd/vegastrike-missile_generic.o src/cmd/vegastrike-mount.o src/cmd/vegastrike-nebula_generic.o src/cmd/vegastrike-planet_generic.o src/cmd/vegastrike-role_bitmask.o src/cmd/vegastrike-unit_bsp.o src/cmd/vegastrike-unit_collide.o src/cmd/vegastrike-unit_const_cache.o src/cmd/vegastrike-unit_csv.o src/cmd/vegastrike-unit_factory_generic.o src/cmd/vegastrike-unit_functions_generic.o src/cmd/vegastrike-unit_generic.o src/cmd/vegastrike-unit_util_generic.o src/cmd/vegastrike-unit_xml.o src/cmd/vegastrike-weapon_xml.o src/cmd/collide/vegastrike-box.o src/cmd/collide/vegastrike-matrix3.o src/cmd/collide/vegastrike-pbuild.o src/cmd/collide/vegastrike-peigen.o src/cmd/collide/vegastrike-prapid.o src/cmd/collide/vegastrike-vector3.o src/gui/vegastrike-button.o src/gui/vegastrike-control.o src/gui/vegastrike-eventmanager.o src/gui/vegastrike-eventresponder.o src/gui/vegastrike-font.o src/gui/vegastrike-general.o src/gui/vegastrike-glut_support.o src/gui/vegastrike-groupcontrol.o src/gui/vegastrike-guidefs.o src/gui/vegastrike-guitexture.o src/gui/vegastrike-modaldialog.o src/gui/vegastrike-newbutton.o src/gui/vegastrike-painttext.o src/gui/vegastrike-picker.o src/gui/vegastrike-scroller.o src/gui/vegastrike-simplepicker.o src/gui/vegastrike-slider.o src/gui/vegastrike-staticdisplay.o src/gui/vegastrike-text_area.o src/gui/vegastrike-textinputdisplay.o src/gui/vegastrike-window.o src/gui/vegastrike-windowcontroller.o src/networking/vegastrike-inet_file.o src/networking/vegastrike-inet.o src/networking/vegastrike-accountsxml.o src/networking/vegastrike-client.o src/networking/vegastrike-fileutil.o src/networking/vegastrike-savenet_util.o src/networking/vegastrike-cubicsplines.o src/networking/vegastrike-mangle.o src/networking/vegastrike-netclient_clients.o src/networking/vegastrike-netclient_devices.o src/networking/vegastrike-netclient_login.o src/networking/vegastrike-netclient.o src/networking/vegastrike-netserver_acct.o src/networking/vegastrike-netserver_clients.o src/networking/vegastrike-netserver_devices.o src/networking/vegastrike-netserver_login.o src/networking/vegastrike-netserver_net.o src/networking/vegastrike-netserver.o src/networking/vegastrike-prediction.o src/networking/vegastrike-zonemgr.o src/networking/vegastrike-networkcomm.o src/networking/vegastrike-webcam_support.o src/python/vegastrike-init.o src/python/vegastrike-python_compile.o src/python/vegastrike-unit_exports.o src/python/vegastrike-unit_exports1.o src/python/vegastrike-unit_exports2.o src/python/vegastrike-unit_exports3.o src/python/vegastrike-unit_method_defs.o src/python/vegastrike-unit_wrapper.o src/python/vegastrike-universe_util_export.o src/vegastrike-cg_global.o src/vegastrike-command.o src/vegastrike-config_xml.o src/vegastrike-debug_vs.o src/vegastrike-faction_util.o src/vegastrike-force_feedback.o src/vegastrike-gfxlib_struct.o src/vegastrike-in_joystick.o src/vegastrike-in_kb.o src/vegastrike-in_main.o src/vegastrike-in_mouse.o src/vegastrike-in_sdl.o src/vegastrike-macosx_math.o src/vegastrike-main_loop.o src/vegastrike-mmorpgclient.o src/vegastrike-physics.o src/vegastrike-rendertext.o src/vegastrike-ship_commands.o src/vegastrike-star_system_jump.o src/vegastrike-star_system.o src/vegastrike-universe_util.o src/vegastrike-universe.o src/vegastrike-configxml.o src/vegastrike-easydom.o src/vegastrike-endianness.o src/vegastrike-faction_generic.o src/vegastrike-faction_util_generic.o src/vegastrike-galaxy_gen.o src/vegastrike-galaxy_xml.o src/vegastrike-galaxy.o src/vegastrike-hashtable.o src/vegastrike-lin_time.o src/vegastrike-load_mission.o src/vegastrike-pk3.o src/vegastrike-posh.o src/vegastrike-savegame.o src/vegastrike-star_system_generic.o src/vegastrike-star_system_xml.o src/vegastrike-stardate.o src/vegastrike-universe_generic.o src/vegastrike-universe_util_generic.o src/vegastrike-vs_globals.o src/vegastrike-vsfilesystem.o src/vegastrike-xml_serializer.o src/vegastrike-xml_support.o src/cmd/script/vegastrike-director_generic.o src/cmd/script/vegastrike-mission_script.o src/cmd/script/vegastrike-mission.o src/cmd/script/vegastrike-msgcenter.o src/cmd/script/vegastrike-pythonmission.o src/cmd/script/vegastrike-script_call_olist.o src/cmd/script/vegastrike-script_call_omap.o src/cmd/script/vegastrike-script_call_order.o src/cmd/script/vegastrike-script_call_string.o src/cmd/script/vegastrike-script_call_unit_generic.o src/cmd/script/vegastrike-script_callbacks.o src/cmd/script/vegastrike-script_expression.o src/cmd/script/vegastrike-script_generic.o src/cmd/script/vegastrike-script_statement.o src/cmd/script/vegastrike-script_util.o src/cmd/script/vegastrike-script_variables.o src/aldrv/vegastrike-al_globals.o src/aldrv/vegastrike-al_init.o src/aldrv/vegastrike-al_listen.o src/aldrv/vegastrike-al_sound.o src/cmd/ai/vegastrike-firekeyboard.o src/cmd/ai/vegastrike-flyjoystick.o src/cmd/ai/vegastrike-flykeyboard.o src/cmd/ai/vegastrike-input_dfa.o src/cmd/vegastrike-asteroid.o src/cmd/vegastrike-atmosphere.o src/cmd/vegastrike-base_init.o src/cmd/vegastrike-base_interface.o src/cmd/vegastrike-base_util.o src/cmd/vegastrike-base_write_python.o src/cmd/vegastrike-base_write_xml.o src/cmd/vegastrike-base_xml.o src/cmd/vegastrike-basecomputer.o src/cmd/vegastrike-beam.o src/cmd/vegastrike-bolt.o src/cmd/vegastrike-briefing.o src/cmd/vegastrike-building.o src/cmd/vegastrike-click_list.o src/cmd/vegastrike-cont_terrain.o src/cmd/vegastrike-music.o src/cmd/vegastrike-nebula.o src/cmd/vegastrike-planet.o src/cmd/script/c_alike/vegastrike-c_alike.tab.o src/cmd/script/c_alike/vegastrike-lex.yy.o src/cmd/script/vegastrike-director.o src/cmd/script/vegastrike-flightgroup.o src/cmd/script/vegastrike-script_call_briefing.o src/cmd/script/vegastrike-script_call_unit.o src/cmd/vegastrike-terrain.o src/cmd/vegastrike-unit_factory.o src/cmd/vegastrike-unit_functions.o src/cmd/vegastrike-unit_interface.o src/cmd/vegastrike-unit_util.o src/gfx/vegastrike-ani_texture.o src/gfx/vegastrike-animation.o src/gfx/vegastrike-aux_logo.o src/gfx/vegastrike-aux_palette.o src/gfx/vegastrike-aux_texture.o src/gfx/vegastrike-background.o src/gfx/vegastrike-camera.o src/gfx/vegastrike-cockpit_xml.o src/gfx/vegastrike-cockpit.o src/gfx/vegastrike-coord_select.o src/gfx/vegastrike-env_map_gent.o src/gfx/vegastrike-gauge.o src/gfx/vegastrike-halo_system.o src/gfx/vegastrike-halo.o src/gfx/vegastrike-hud.o src/gfx/vegastrike-jpeg_memory.o src/gfx/vegastrike-loc_select.o src/gfx/vegastrike-masks.o src/gfx/vegastrike-mesh_gfx.o src/gfx/nav/vegastrike-criteria_xml.o src/gfx/nav/vegastrike-criteria.o src/gfx/nav/vegastrike-drawgalaxy.o src/gfx/nav/vegastrike-drawlist.o src/gfx/nav/vegastrike-drawsystem.o src/gfx/nav/vegastrike-navcomputer.o src/gfx/nav/vegastrike-navgetxmldata.o src/gfx/nav/vegastrike-navpath.o src/gfx/nav/vegastrike-navscreen.o src/gfx/nav/vegastrike-navscreenoccupied.o src/gfx/vegastrike-particle.o src/gfx/vegastrike-pipelined_texture.o src/gfx/vegastrike-quadsquare_cull.o src/gfx/vegastrike-quadsquare_render.o src/gfx/vegastrike-quadsquare_update.o src/gfx/vegastrike-quadsquare.o src/gfx/vegastrike-quadtree_xml.o src/gfx/vegastrike-quadtree.o src/gfx/vegastrike-ring.o src/gfx/vegastrike-sphere.o src/gfx/vegastrike-sprite.o src/gfx/vegastrike-star.o src/gfx/vegastrike-stream_texture.o src/gfx/vegastrike-tex_transform.o src/gfx/vegastrike-vdu.o src/gfx/vegastrike-vsbox.o src/gfx/vegastrike-vsimage.o src/gfx/vegastrike-warptrail.o src/gldrv/vegastrike-gl_clip.o src/gldrv/vegastrike-gl_fog.o src/gldrv/vegastrike-gl_globals.o src/gldrv/vegastrike-gl_init.o src/gldrv/vegastrike-gl_light_pick.o src/gldrv/vegastrike-gl_light_state.o src/gldrv/vegastrike-gl_light.o src/gldrv/vegastrike-gl_material.o src/gldrv/vegastrike-gl_matrix.o src/gldrv/vegastrike-gl_misc.o src/gldrv/vegastrike-gl_quad_list.o src/gldrv/vegastrike-gl_sphere_list.o src/gldrv/vegastrike-gl_state.o src/gldrv/vegastrike-gl_texture.o src/gldrv/vegastrike-gl_vertex_list.o src/gldrv/vegastrike-winsys.o src/vegastrike-main.o src/python/vegastrike-briefing_wrapper.o libboost_python.a libgfx.a libnetlowlevel.a -lz -lvorbisfile -lvorbis -logg -lutil -lSDL -lpthread -lGL -lGLU -lglut -lXi -lXmu -lexpat -lpng -ljpeg -lopenal -lvorbisfile -lvorbis -logg -lpython2.4 -Xlinker -export-dynamic -pthread
collect2: ld returned 1 exit status
make[1]: *** [vegastrike] Error 1
make[1]: Leaving directory `/data/vegastrike_cvs_head/vegastrike'
make: *** [all] Error 2

I am using new modularize modularized X, so some libs cn be in other directory or still missing, but other 3d games/apps works fine (including vegastrike 0.4.3) and configure passed ok
You do not have the required permissions to view the files attached to this post.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

that's bizzare--it's supposed to print an error message about why the linking failed rather than just say it failed with exit code 1...

what version of ld is this?
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

Code: Select all

localhost michal # ld --version
GNU ld version 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

same version as me--I'm going to forward this to Brian, the guy who made the awesome new makefile system which tries to link everything at once--it may be trickier to get it running on older systems?
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

I have no other systems avaiable for such experiments, I am just reporting problem ;) thank you very much for your help
balloyd1
Trader
Trader
Posts: 17
Joined: Wed Aug 24, 2005 4:42 am

Request for Info

Post by balloyd1 »

When you get the error, is an output file produced? The file being made at the time is vegastrike. If you have a vegastrike file produced, then chmod +x vegastrike and try to run the program. It should list a bunch of missing dependencies, and that list would be useful to find out what went wrong.

If that doesn't give a concise error, then please attach the output
'nm vegastrike' (assuming you have the vegastrike file produced),.

If you don't have the vegastrike file in the top level builld directory, then I will have to come up with something else.

BTW, this is usually caused by linking to the wrong version of a library, while using headers from the correct version of the library (otherwise, you get compile errors).
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

Hi,

I afraid you have to come up with something else. I compiled opengl bit wild way, cause to unsupported vga, but everything (including old vs is working). I am not very familiar with c programming so I can't help you here :(
pheldens
Bounty Hunter
Bounty Hunter
Posts: 178
Joined: Mon Sep 26, 2005 1:15 am

Post by pheldens »

Upgrade to stable gcc 3.4.5
that builds cvs fine here.
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

Sorry, no output file. :-( I suppose all my libraries are ok, I am using few others opengl apps and they works fine.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

try make -k see if any of the other things build
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

I uprgraded to gcc.3.4.5 and after few minutes where ld took 90% of my cpu, compilation passed successfully.

But I can't start the game:

[michal@localhost ~]$ /usr/local/bin/vegastrike
Vega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.

GOT SUBDIR ARG =
Found MODDIR = /mods
USING HOMEDIR : /home/michal/.vegastrike As the home directory
CONFIGFILE - Found a config file in home directory, using : /home/michal/.vegastrike/vegastrike.config
DATADIR - No datadir specified in config file, using ;
SIMULATION_ATOM: 0.12
MISSION_NAME is empty using : explore_universe.mission
running import sys
print sys.path
sys.path = [r"/modules/builtin/",r"/modules/",r"/bases/"]
['/usr/lib/portage/pym', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/l
ib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/dbus', '/usr/lib/python2.4/site-packages/gtk-
2.0']
testing VS randomrunning import sys
print sys.path
['/modules/builtin/', '/modules/', '/bases/']
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error opening terminal: xterm-256color.
[michal@localhost ~]$ /usr/local/bin/vegastrike
Vega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.

GOT SUBDIR ARG =
Found MODDIR = /mods
USING HOMEDIR : /home/michal/.vegastrike As the home directory
CONFIGFILE - Found a config file in home directory, using : /home/michal/.vegastrike/vegastrike.config
DATADIR - No datadir specified in config file, using ;
SIMULATION_ATOM: 0.12
MISSION_NAME is empty using : explore_universe.mission
running import sys
print sys.path
sys.path = [r"/modules/builtin/",r"/modules/",r"/bases/"]
['/usr/lib/portage/pym', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/dbus', '/usr/lib/python2.4/site-packages/gtk-2.0']
testing VS randomrunning import sys
print sys.path
['/modules/builtin/', '/modules/', '/bases/']
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error opening terminal: xterm-256color.
[michal@localhost ~]$

Then I am unable to any X app, becouse I get this error

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

I wonder what vegastrike do with my X :)

Michael
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

hmm try running glxinfo and paste teh contents of it
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

[michal@localhost ~]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 915GM 20050225 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.4.1
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_point_parameters,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_equation_separate,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, GL_EXT_compiled_vertex_array,
GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage,
GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGI_color_matrix,
GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x4b 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

it looks like you're using Mesa...is that right---what video card do you have?
(if you're unsure

cat /proc/pci and paste it here

otherwise are you sure your drivers work

you can try glxgears and print out the frames per second to get a good idea
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
mithrandir1984cz
Trader
Trader
Posts: 24
Joined: Wed Dec 28, 2005 1:58 am

Post by mithrandir1984cz »

Well I do, but I use direct rendering. I have Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller, linux support it's bit obscure, but usually I can play 3d games on lower resolution (I play vegastrike on medium without problems)
energyman76b
ISO Party Member
ISO Party Member
Posts: 445
Joined: Tue Feb 11, 2003 8:04 am

Post by energyman76b »

Hi,

even better:
glxinfo

because it shows if direct rendering is working, version of gl and glx, supported opengl extensions and driver versions...
Post Reply