Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

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).
Post Reply
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi to all,
After a long absence I decieded to try and compile the version of Vegastrike in Fedora 11 Alpha.
I Have tried both ./boostrap-sh with ./confgiure and cmake(version-2.6).I will attached my config.log,and the two outputs of ./configure and cmake with this post.I have FFmpeg (version-5.0.7 I think) from the Fedora reositories,and I have tried to install the SVN version as well,but both ways of compiling doesn't seem to find it


I have an Nvidia Geforce 6,800 GT with 256Mb of memory,my monitor is an A.D.I Microscan G1000. I use the Nouveau drivers which I compile form git along with DRM and Mesa with the experimnetal Gallium 3D support(it's building fine for the time being :wink: )
Here is the output of glxinfo:

Code: Select all

[root@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_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,          
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group     
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_copy_sub_buffer, 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_EXT_texture_from_pixmap                 
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_OML_swap_method,          
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group     
OpenGL vendor string: nouveau                                                 
OpenGL renderer string: Gallium 0.3 on NV40                                   
OpenGL version string: 1.5 Mesa 7.5-devel                                     
OpenGL extensions:                                                            
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,       
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,          
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, 
    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_crossbar,                  
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,                  
    GL_ARB_texture_non_power_of_two, 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_logic_op, GL_EXT_blend_minmax,                                                                                                                                                                                  
    GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_copy_texture,                                                                                                                                                                                
    GL_EXT_draw_range_elements, GL_EXT_framebuffer_object,                                                                                                                                                                                                   
    GL_EXT_framebuffer_blit, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,                                                                                                                                                                                     
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,                                                                                                                                                                                                       
    GL_EXT_pixel_buffer_object, 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_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,                                                                                                                                                                                         
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,                                                                                                                                                                                       
    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_mirror_clamp, GL_EXT_texture_object,                                                                                                                                                                                                      
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,                                                                                                                                                                                   
    GL_ATI_blend_equation_separate, GL_ATI_separate_stencil,                                                                                                                                                                                                 
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,                                                                                                                                                                                                     
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,                                                                                                                                                                                             
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,                                                                                                                                                                                        
    GL_NV_point_sprite, GL_NV_texture_rectangle, GL_NV_texgen_reflection,                                                                                                                                                                                    
    GL_OES_read_format, GL_SGI_color_matrix, GL_SGIS_generate_mipmap,                                                                                                                                                                                        
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,                                                                                                                                                                                                
    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays                                                                                                                                                                                                            
                                                                                                                                                                                                                                                             
36 GLX Visuals                                                                                                                                                                                                                                               
   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                                                                                                                                                                                        
----------------------------------------------------------------------                                                                                                                                                                                       
0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None                                                                                                                                                                                       
0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None                                                                                                                                                                                       
0x102 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x103 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x104 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x105 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x106 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x107 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x108 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x109 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x10a 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x10b 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x10c 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x10d 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x10e 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x10f 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x110 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x111 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x112 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x113 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x114 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x115 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x116 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x117 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x118 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x119 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x11a 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x11b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x11c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x11d 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x11e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x11f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x120 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x121 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x122 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xdd 32 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None

36 GLXFBConfigs:
   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
----------------------------------------------------------------------
0xde  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xdf  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xe0  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xe1  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xe2  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xe3  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xe4  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xe5  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xe6  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xe7  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xe8  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xe9  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xea  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xeb  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xec  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xed  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xee  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xef  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xf0  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xf1  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xf2  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xf3  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xf4  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xf5  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xf6  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xf7  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xf8  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xf9  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xfa  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xfb  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xfc  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xfd  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xfe  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xff  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x100  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x101  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
I don't think it is a nouveau problem(yet) but I hope somebody can help me with the problems I'm having at the moment.
Regards,
STEVE555
You do not have the required permissions to view the files attached to this post.
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by loki1950 »

Hi STEVE555 seen your post on the fedora forums about compiling the "Nouveau" drivers :wink: looks like Ben have been doing some overtime :) have you tried without FFmpeg as there is no reason for it ATM no AV clips to show in the data set yet.If that doesn't work ace123 should be by later with an option or two.Hope our beast runs with the nouveau driver don't know about shader support though i would turn that off for the first run.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi Loki1950,
I've tried your advice,I used the --disable-ffmpeg option and I'm afraid it still stopping at the same error with make.I have installed both Pytrhon-2.6 and comapact-python which is 2.4.I have Boost version 1.37,but no option to install boost-1.35 from the repositories.I did download the boost libraries from the SVN repository of Vegastrike,but it just want to know.I have always seemed to have a problem with boost,I just don't know why,oh well :(

I hope you guys can help me further.

Regards,
STEVE555
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by loki1950 »

Like i mentioned earlier ace should be by later with some definitive info for you i am having no problem under f10 but using the nvidia drivers :wink: and it found ffmpeg without a problem so there may have been some change in rawhide but why :shock:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
plueschinger
Confed Special Operative
Confed Special Operative
Posts: 348
Joined: Fri Apr 14, 2006 1:41 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by plueschinger »

Hello

The Nouveau-driver is not so good, glxgears is slowlier than with the nv-driver (on my computer).
As far as I know it also does not support 3-D funktions,
this means I can not run the desktop-cube with Nouveau,
fgl_glxgears no way with Nouveau on my computer,
also described in an article in a german computer magazin, called linux-user,
for this I need the driver from the Nvidia-webpage.

Regards
Plueschinger
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by loki1950 »

I much prefer to use the one in the RPMFusion repo plueschinger Firewing1 does a very good job of maintaining it and it plays nice with Xorg.And i do believe that the nouveau driver will ready for the f11 release but 3D support will turned off as that portion is not quite ready for prime time hence steve's pulling from git :wink: The developer that RH has working on it is very good.And can you think of a better way of testing the driver than VS as it will certainly tax it to the limit.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi Plueschinger,
I am well aware the Nouveau driver on it's own only supports 2D rendering.And with glxgears with only the 2D driver is very slow(I think I was only getting about 96-100)it has been a while.That's why I do compile the Mesa library with the option --enable-gallium-nouveau.I am aware the Mesa source code from git is still very much in a state of flux.It's only been today the I've manged to get the xorg-state-tracker to build right from todays commits,and I'm sure it will (hopefully not just yet) fail in the future.
I'll show everyone my glxgears output I have to date for a taster of things to come in the future when it is officaily stable:I'm certainly no developer,I'm heavily reliant on the Mesa developers to fix things and develop the code as they go along.

Code: Select all

[root@localhost ~]# glxgears
11644 frames in 5.0 seconds = 2328.629 FPS
11900 frames in 5.0 seconds = 2379.920 FPS
11773 frames in 5.0 seconds = 2354.457 FPS
11910 frames in 5.0 seconds = 2381.930 FPS
12121 frames in 5.0 seconds = 2424.017 FPS
12068 frames in 5.0 seconds = 2413.528 FPS
11972 frames in 5.0 seconds = 2394.337 FPS
11951 frames in 5.0 seconds = 2390.102 FPS
12075 frames in 5.0 seconds = 2414.974 FPS
Regards,
STEVE555
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
plueschinger
Confed Special Operative
Confed Special Operative
Posts: 348
Joined: Fri Apr 14, 2006 1:41 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by plueschinger »

Hello

How to start, I'm using Fedora for several years.
glxgears is not interesting. What you need to check
in my opinion is fgl_glxgears.
I had on my computer both, ati and nvidia cards,
when the driver from the card producers is running,
fgl_glxgears is also running.
Anyway here the link for the nvidia-drivers for linux
http://www.nvidia.com/object/unix.html

@loki1950
Sadly my internet uses an 8KSTACK, because of wlan,
and in the fedora kernel in the section kernel hacking is 'enable 4KSTACKS=y'
set to yes, so I need my own kernel, and because of this I can't upgrade the akmod stuff.

@steve555
In older times, fgl_glxgears was necessary for all 3-D games,
and I think it still is. Perhaps with fedora 12 it will change, but I don't think with 11.
best example, try to run the dektop-cube.

Regards
Plueschinger
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi Plueschinger,
I've tried running fgl_glxgears,but that only seems to be only for A.T.I cards.Apart from the phoronix test suite,there isn't much else.
Thanks for the link for the Nvidia drivers,but I'm staying with compiling with the Mesa and Nouveau drivers for the time being.

Regards,
STEVE555
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by ace123 »

Apparently GCC 4.4 deliberately changed the behavior of "#elif" directives in order to more closely follow the C standard, which is great and all but they apparently didn't put existing code into consideration.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36320
https://svn.boost.org/trac/boost/ticket/2069

Unforunately, I cannot commit this change to SVN because we switched to using externals for the Boost download. So this is something we'll have to do manually. This makes me wish we had left Boost in the repository but oh well.

Here's how to fix Boost for GCC 4.4:

You must download this patch:
http://vegastrike.sourceforge.net/users ... c4.4.patch
Then go into vegastrike/boost/1_35 and run:
patch -p2 < ~/Desktop/boost_gcc4.4.patch

(This patch is the same as https://svn.boost.org/trac/boost/changeset/48960 but I ran it through dos2unix.)
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi Ace123,
I've applied the patch and vegastrike was compiling a lot further than is has been,thank you very much for your help.
Unfortunetly,the compile has stuck on this error which I'll put in a text file attached to this post.I'll have a go at using cmake and see if that builds better.

Regards,
STEVE555
You do not have the required permissions to view the files attached to this post.
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi guys,
I've just tried compiling with cmake and I got as far as 52% until it went crazy,I suspect it is to do with the Mesa and nouveau libraries I'm using,but oh well it is fun trying to use them.
I've put the output attached in another txt file with this reply to see if it is useful.
Regards,
STEVE555
You do not have the required permissions to view the files attached to this post.
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi everyone,
I've just pulled a fresh copy of Vegastrike from SVN to see if my last copy got corrupted somehow when I downloaded it.
Unfortunetly the same error when I compiled with the fresh copy appeared :roll: oh well,I hope someone can help me getting the code to compile further.
I have attached some files to this latest post to see if the problem can be diagnosed.

Regards,
STEVE555
You do not have the required permissions to view the files attached to this post.
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by loki1950 »

have you tried using the Cmake build scripts instead i usually run the bootstrapsh before ./configure and most of those errors seem to be from vegaserver i don't think you really want it do you :wink: Ace123 should be by later as it is the week-end.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi loki1950,
I've tried cmake,but that is giving me trouble as well.
I copied the files cmake was after to build.The output is here:

Code: Select all

[root@localhost build]# cmake /opt/Vegastrike/build
-- The C compiler identification is GNU            
-- The CXX compiler identification is GNU          
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info                             
-- Detecting C compiler ABI info - done                      
-- Check for working CXX compiler: /usr/lib/ccache/c++       
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info                             
-- Detecting CXX compiler ABI info - done                      
-- Found PythonLibs: /usr/lib/python2.6/config/libpython2.6.so 
-- Boost version: 1.37.0                                       
-- Found the following Boost libraries:                        
--   python                                                    
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname                                                 
-- Looking for gethostbyname - found                                         
-- Looking for connect                                                       
-- Looking for connect - found                                               
-- Looking for remove                                                        
-- Looking for remove - found                                                
-- Looking for shmat                                                         
-- Looking for shmat - found                                                 
-- Looking for IceConnectionNumber in ICE                                    
-- Looking for IceConnectionNumber in ICE - found                            
-- Found X11: /usr/lib/libX11.so                                             
-- OpenGL found : /usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so
-- GLUT found : /usr/lib/libglut.so;/usr/lib/libXmu.so;/usr/lib/libXi.so                                                          
-- Found OpenAL                                                                                                                   
-- Looking for include files CMAKE_HAVE_PTHREAD_H                                                                                 
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                                                                         
-- Looking for pthread_create in pthreads                                                                                         
-- Looking for pthread_create in pthreads - not found                                                                             
-- Looking for pthread_create in pthread                                                                                          
-- Looking for pthread_create in pthread - found                                                                                  
-- Found Threads: TRUE                                                                                                            
-- SDL Found                                                                                                                      
-- Found Vorbis: /usr/lib/libvorbis.so;/usr/lib/libvorbisfile.so;/usr/lib/libogg.so                                               
-- Found JPEG: /usr/lib/libjpeg.so                                                                                                                                                                                                                           
-- checking for module 'libpng'                                                                                                                                                                                                                              
--   found libpng, version 1.2.35                                                                                                                                                                                                                            
-- Found PNG: /usr/lib/libpng.so                                                                                                                                                                                                                             
-- Found ZLIB: /usr/lib/libz.so                                                                                                                                                                                                                              
-- Found EXPAT: /usr/lib/libexpat.so                                                                                                                                                                                                                         
-- Found Math: /usr/lib/libm.so                                                                                                                                                                                                                              
-- checking for module 'libavcodec'                                                                                                                                                                                                                          
--   found libavcodec, version 52.20.0                                                                                                                                                                                                                       
-- checking for module 'libswscale'                                                                                                                                                                                                                          
--   found libswscale, version 0.7.1                                                                                                                                                                                                                         
What the hell, no FFMpeg                                                                                                                                                                                                                                     
-- Looking for wchar.h                                                                                                                                                                                                                                       
-- Looking for wchar.h - found                                                                                                                                                                                                                               
-- Looking for float.h                                                                                                                                                                                                                                       
-- Looking for float.h - found                                                                                                                                                                                                                               
-- Looking for wctype.h                                                                                                                                                                                                                                      
-- Looking for wctype.h - found                                                                                                                                                                                                                              
-- Looking for inttypes.h                                                                                                                                                                                                                                    
-- Looking for inttypes.h - found                                                                                                                                                                                                                            
-- Looking for zlib.h                                                                                                                                                                                                                                        
-- Looking for zlib.h - found                                                                                                                                                                                                                                
-- Looking for math.h                                                                                                                                                                                                                                        
-- Looking for math.h - found                                                                                                                                                                                                                                
-- Looking for C++ include tr1/unordered_map                                                                                                                                                                                                                 
-- Looking for C++ include tr1/unordered_map - found                                                                                                                                                                                                         
-- Looking for gettimeofday                                                                                                                                                                                                                                  
-- Looking for gettimeofday - found                                                                                                                                                                                                                          
-- Looking for isnan                                                                                                                                                                                                                                         
-- Looking for isnan - found                                                                                                                                                                                                                                 
-- Looking for finite                                                                                                                                                                                                                                        
-- Looking for finite - found                                                                                                                                                                                                                                
-- Looking for sys/stat.h                                                                                                                                                                                                                                    
-- Looking for sys/stat.h - found                                                                                                                                                                                                                            
-- Looking for lstat                                                                                                                                                                                                                                         
-- Looking for lstat - found                                                                                                                                                                                                                                 
-- Looking for GLX_ARB_get_proc_address                                                                                                                                                                                                                      
-- Looking for GLX_ARB_get_proc_address - found                                                                                                                                                                                                              
Building with CFLAGS:                                                                                                                                                                                                                                        
CMake Error at CMakeLists.txt:797 (add_subdirectory):                                                                                                                                                                                                        
  add_subdirectory given source "setup" which is not an existing directory.


CMake Error at CMakeLists.txt:802 (add_subdirectory):
  add_subdirectory given source "objconv" which is not an existing directory.


-- Configuring incomplete, errors occurred!
[root@localhost build]# cmake /opt/Vegastrike/build
-- OpenGL found : /usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so
-- GLUT found : /usr/lib/libglut.so;/usr/lib/libXmu.so;/usr/lib/libXi.so
-- Found OpenAL
-- SDL Found
-- Found Vorbis: /usr/lib/libvorbis.so;/usr/lib/libvorbisfile.so;/usr/lib/libogg.so
What the hell, no FFMpeg
Building with CFLAGS:
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.16.1
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.20.1
-- checking for module 'gmodule-2.0'
--   found gmodule-2.0, version 2.20.1
-- checking for module 'gdk-2.0'
--   found gdk-2.0, version 2.16.1
-- checking for module 'pango'
--   found pango, version 1.24.1
-- checking for module 'cairo'
--   found cairo, version 1.8.6
-- checking for module 'atk'
--   found atk, version 1.25.2
-- Found GTK2: /usr/lib/libgtk-x11-2.0.so;/usr/lib/libgdk-x11-2.0.so;/usr/lib/libgdk_pixbuf-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libgobject-2.0.so;/usr/lib/libpango-1.0.so;/usr/lib/libpangocairo-1.0.so;/usr/lib/libatk-1.0.so
CMake Warning (dev) at CMakeLists.txt:799 (ADD_CUSTOM_TARGET):
  Policy CMP0002 is not set: Logical target names must be globally unique.
  Run "cmake --help-policy CMP0002" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:802 (add_subdirectory):
  add_subdirectory given source "objconv" which is not an existing directory.


-- Configuring incomplete, errors occurred!
You have new mail in /var/spool/mail/root
[root@localhost build]# cmake /opt/Vegastrike/build
-- OpenGL found : /usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so
-- GLUT found : /usr/lib/libglut.so;/usr/lib/libXmu.so;/usr/lib/libXi.so
-- Found OpenAL
-- SDL Found
-- Found Vorbis: /usr/lib/libvorbis.so;/usr/lib/libvorbisfile.so;/usr/lib/libogg.so
What the hell, no FFMpeg
Building with CFLAGS:
-- Found GTK2: /usr/lib/libgtk-x11-2.0.so;/usr/lib/libgdk-x11-2.0.so;/usr/lib/libgdk_pixbuf-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libgobject-2.0.so;/usr/lib/libpango-1.0.so;/usr/lib/libpangocairo-1.0.so;/usr/lib/libatk-1.0.so
CMake Warning (dev) at CMakeLists.txt:799 (ADD_CUSTOM_TARGET):
  Policy CMP0002 is not set: Logical target names must be globally unique.
  Run "cmake --help-policy CMP0002" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:804 (ADD_CUSTOM_TARGET):
  Policy CMP0002 is not set: Logical target names must be globally unique.
  Run "cmake --help-policy CMP0002" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
CMake Error in CMakeLists.txt:
  Cannot find source file "IceAABB.cpp".  Tried extensions .c .C .c++ .cc
  .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


-- Build files have been written to: /opt/Vegastrike/build
[root@localhost build]#
Regards,
STEVE555
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by ace123 »

That IceAABB error is weird. Does it work if you do "cmake ." (not building within a different directory)? It might be that the source files need to specify the full path.

For the dirent problem, the newest version of glibc broke the dirent functions. Actually more accurately, the scandir function was broken for 5-10 years, and they have finally been "fixed".

This commit by Ulrich Depper is the one that changed the function prototype:
http://sourceware.org/git/?p=glibc.git; ... b143ce33e6

it adds a new #define versionsort, so we might be able to use that to test for the "correct" version of scandir. That one is only defined if __USE_GNU is set, so it might not work.

In your case, you can fix the build by going to src/cmd/basecomputer.cpp, line 3148 and making the #if look like:

#if defined(versionsort) || (defined(_WIN32) && !defined(__CYGWIN__))
typedef int (*scancompare) ( const struct dirent **v1, const struct dirent **v2 );
#else
typedef int (*scancompare) ( const void *v1, const void *v2 );
#endif

If versionsort doesn't work, then you might have to make it "#if 1" for now, and I'll have to add a check to ./configure.
Actually, maybe GLIBC has a version number #define that we can look at.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by ace123 »

A week ago, Ulrich Drepper set "#define __GLIBC_MINOR__ 10", so we can also check for that:
#if (__GLIBC__>2 || __GLIBC_MINOR__>=10) || (defined(_WIN32) && !defined(CYGWIN))
but you will need to update your version of glibc-devel for that #define to work.

Considering this is only in an alpha version of FC11, I'm not too concerned.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by loki1950 »

Fedora 11 hits the mirrors in 10 days ace123 and a further wrinkle that may affect Debian http://www.tuxradar.com/content/debian- ... ibc-eglibc all because of Ulrich Drepper's attitude :shock: and all open source progects

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
STEVE555
Hunter
Hunter
Posts: 83
Joined: Wed Jul 11, 2007 2:21 am

Re: Compiling Veagastrike from SVN in Fedora Rawhide 11 Alpha

Post by STEVE555 »

Hi guys,
I've tried defined(versionsort) || (defined(_WIN32) && !defined(__CYGWIN__)) on line 3148 and ran cmake on the vegastrike folder itself.After a lot of complaining form cmake I got as far as 84% but I still got an error at the end,I'll upload the full output to this post.I have tried #if 1 defined(_WIN32) && !defined(__CYGWIN__),but I got a different error at the end:

Code: Select all

[root@localhost vegastrike]# make
[  9%] Built target OPcollide
[ 36%] Built target engine_com
[ 40%] Built target netgeneric
[ 46%] Built target netlowlevel
[ 52%] Built target vegaserver
[ 52%] Building CXX object CMakeFiles/vegastrike.dir/src/cmd/basecomputer.o
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3148:7: error: missing binary operator before token "defined"
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In member function ‘bool BaseComputer::isTransactionOK(const Cargo&, BaseComputer::TransactionType, int)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:2530: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In member function ‘void BaseComputer::loadListPicker(BaseComputer::TransactionList&, SimplePicker&, BaseComputer::TransactionType, bool)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:2633: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In member function ‘void BaseComputer::loadMasterList(Unit*, const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, BaseComputer::TransactionList&)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:2802: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:2806: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In member function ‘void BaseComputer::loadLoadSaveControls()’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3166: error: invalid conversion from ‘int (*)(const void*, const void*)’ to ‘int (*)(const dirent**, const dirent**)’
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3166: error:   initializing argument 4 of ‘int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))’
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In member function ‘void BaseComputer::loadMissionsMasterList(BaseComputer::TransactionList&)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3209: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3211: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3219: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3221: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In member function ‘bool BaseComputer::acceptMission(const EventCommandId&, Control*)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3333: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:3342: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In function ‘Cargo CreateCargoForOwnerStarship(Cockpit*, int)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4209: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In function ‘Cargo CreateCargoForOwnerStarshipName(Cockpit*, std::string, int&)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4229: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In function ‘void SwapInNewShipName(Cockpit*, const std::string&, int)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4245: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4250: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4253: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4264: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4267: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In member function ‘void BaseComputer::loadShipDealerControls()’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4390: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In function ‘bool sellShip(Unit*, Unit*, std::string, BaseComputer*)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4421: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In function ‘bool buyShip(Unit*, Unit*, std::string, bool, bool, BaseComputer*)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4481: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In member function ‘bool BaseComputer::showPlayerInfo(const EventCommandId&, Control*)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4668: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4675: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4686: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4709: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp: In function ‘void showUnitStats(Unit*, std::string&, int, int, Cargo&)’:
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4859: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4888: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:4894: warning: comparison between signed and unsigned integer expressions
/opt/Vegastrike/vegastrike/src/cmd/basecomputer.cpp:5682: warning: suggest parentheses around assignment used as truth value
make[2]: *** [CMakeFiles/vegastrike.dir/src/cmd/basecomputer.o] Error 1
make[1]: *** [CMakeFiles/vegastrike.dir/all] Error 2
make: *** [all] Error 2
Here is the output of /lib/libc.so.6:

Code: Select all

GNU C Library stable release version 2.10.1, by Roland McGrath et al.
Copyright (C) 2009 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.
Compiled by GNU CC version 4.4.0 20090506 (Red Hat 4.4.0-4).
Compiled on a Linux >>2.6.18-128.1.6.el5<< system on 2009-05-11.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        RT using linux kernel aio
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
I haven't run ./configure yet,I've just got a feeling it might fail on me.
Regards,
STEVE555
You do not have the required permissions to view the files attached to this post.
My Box:
Motherboard: Asus Sabertooth 990FX
Processor:AMD Athlon(tm) II X3 460 Processor
RAM:4 Gb
Graphics Card:ASUS GTX 560 DirectCU 1Gb RAM
Hardrive:Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB Cache SATA 6.0Gb/s 3.5"
Soundcard:Realtek
Post Reply