Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In function `IQM_DrawFrame':
02-13-2018, 04:24 PM,
Post: #1
In function `IQM_DrawFrame':
Compiling from source using gcc-7.2.0, glibc-2.27 and getting this make failure;

Code:
Package: alienarena Version: 7.66
OS: .................... linux-gnu
CPU: ................... x86_64
Dedicated Only: ........ no
Server terminal color: . no
Alternate install: ..... no
System ODE library ..... yes
XF86 DGA support: ...... yes
XF86 VidMode support: .. yes
Zlib support: .......... yes
Prefix ................. /usr
Shared RO Data: ........ /usr/share/games/alienarena
User Home R/W Data ..... .codered

Run "make" to build, then "sudo make install" to install.

Advanced Build Information:
See README for information and recommendations.
Run ./configure --help for configure options.
Compiler options:
 CFLAGS:....  -O2 -march=x86-64 -pipe -ffast-math -fno-strict-aliasing
 CXXFLAGS:..  -O2 -march=x86-64 -pipe -ffast-math -fno-strict-aliasing



and down the line which is pretty much the whole compile log;

Code:
Making all in source
make[1]: Entering directory '/usr/src/alienarena-7.66/source'
 CC       game/acesrc/acebot_ai.o
 CC       game/acesrc/acebot_cmds.o
 CC       game/acesrc/acebot_items.o
 CC       game/acesrc/acebot_movement.o
 CC       game/acesrc/acebot_nodes.o
 CC       game/acesrc/acebot_spawn.o
 CC       game/c_cam.o
 CC       game/g_ai.o
 CC       game/g_chase.o
 CC       game/g_cmds.o
 CC       game/g_combat.o
 CC       game/g_cow.o
 CC       game/g_ctf.o
 CC       game/g_deathball.o
 CC       game/g_deathray.o
 CC       game/g_func.o
 CC       game/g_items.o
 CC       game/g_main.o
 CC       game/g_misc.o
 CC       game/g_monster.o
 CC       game/g_phys.o
 CC       game/g_save.o
 CC       game/g_spawn.o
 CC       game/g_svcmds.o
 CC       game/g_target.o
 CC       game/g_trigger.o
 CC       game/g_unlagged.o
 CC       game/g_utils.o
 CC       game/g_vehicles.o
 CC       game/g_spider.o
 CC       game/g_weapon.o
 CC       game/m_move.o
 CC       game/p_client.o
 CC       game/p_hud.o
 CC       game/p_trail.o
 CC       game/p_view.o
 CC       game/p_weapon.o
 CC       game/q_shared.o
 AR       libgame.a
 CC       game/alienarena_ded-q_shared.o
 CC       null/alienarena_ded-cl_null.o
 CC       qcommon/alienarena_ded-cmd.o
 CC       qcommon/alienarena_ded-cmodel.o
 CC       qcommon/alienarena_ded-common.o
 CC       qcommon/alienarena_ded-crc.o
 CC       qcommon/alienarena_ded-cvar.o
 CC       qcommon/alienarena_ded-files.o
 CC       qcommon/alienarena_ded-htable.o
 CC       qcommon/alienarena_ded-mdfour.o
 CC       qcommon/alienarena_ded-net_chan.o
 CC       qcommon/alienarena_ded-pmove.o
 CC       server/alienarena_ded-sv_ccmds.o
 CC       server/alienarena_ded-sv_ents.o
server/sv_ents.c: In function 'SV_WritePlayerstateToClient':
server/sv_ents.c:237:3: warning: implicit declaration of function 'MSG_WriteSizeInt'; did you mean 'MSG_ReadSizeInt'? [-Wimplicit-function-declaration]
  MSG_WriteSizeInt (msg, coord_bytes, ps->pmove.origin[0]);
  ^~~~~~~~~~~~~~~~
  MSG_ReadSizeInt
 CC       server/alienarena_ded-sv_game.o
server/sv_game.c: In function 'SV_InitGameProgs':
server/sv_game.c:323:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 import.cvar = Cvar_Get;
             ^
server/sv_game.c:324:18: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 import.cvar_set = Cvar_Set;
                 ^
server/sv_game.c:325:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 import.cvar_forceset = Cvar_ForceSet;
                      ^
server/sv_game.c:326:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 import.cvar_describe = Cvar_Describe;
                      ^
 CC       server/alienarena_ded-sv_init.o
 CC       server/alienarena_ded-sv_main.o
 CC       server/alienarena_ded-sv_send.o
 CC       server/alienarena_ded-sv_user.o
 CC       server/alienarena_ded-sv_world.o
 CC       unix/alienarena_ded-glob.o
 CC       unix/alienarena_ded-net_udp.o
 CC       unix/alienarena_ded-q_shunix.o
 CC       unix/alienarena_ded-sys_unix.o
unix/sys_unix.c: In function 'Sys_GetGameAPI':
unix/sys_unix.c:273:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result]
 setreuid(getuid(), getuid());
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix/sys_unix.c:274:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result]
 setegid(getgid());
 ^~~~~~~~~~~~~~~~~
unix/sys_unix.c: In function 'main':
unix/sys_unix.c:374:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
 seteuid(getuid());
 ^~~~~~~~~~~~~~~~~
 CCLD     alienarena-ded
 CC       client/alienarena-cl_ents.o
 CC       client/alienarena-cl_fx.o
client/cl_fx.c: In function 'CL_PoweredEffects':
client/cl_fx.c:3586:22: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations]
   avelocities[0][i] = (rand()&255) * 0.01;
   ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
client/cl_fx.c:3585:3: note: within this loop
  for (i=0 ; i<NUMVERTEXNORMALS*3 ; i++)
  ^~~
 CC       client/alienarena-cl_http.o
 CC       client/alienarena-cl_input.o
 CC       client/alienarena-cl_inv.o
 CC       client/alienarena-cl_irc.o
 CC       client/alienarena-cl_main.o
 CC       client/alienarena-cl_parse.o
 CC       client/alienarena-cl_pred.o
 CC       client/alienarena-cl_scrn.o
 CC       client/alienarena-cl_stats.o
 CC       client/alienarena-cl_updates.o
 CC       client/alienarena-cl_tent.o
 CC       client/alienarena-cl_view.o
 CC       client/alienarena-console.o
 CC       client/alienarena-keys.o
 CC       client/alienarena-menu.o
client/menu.c: In function 'Option_Setup':
client/menu.c:1635:24: warning: comparison of distinct pointer types lacks a cast
   if (item->itemnames == font_names)
                       ^~
client/menu.c:1672:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   item->generic.localptrs[0] = limit;
                              ^
client/menu.c:1683:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   item->generic.localptrs[0] = fieldsize;
                              ^
client/menu.c: In function 'ServerInfo_SubmenuInit':
client/menu.c:3609:196: warning: passing argument 8 of 'Menu_MakeTable' from incompatible pointer type [-Wincompatible-pointer-types]
 Menu_MakeTable (&s_servers[serverindex].serverinfo_table, 7, 2, sizes, s_servers[serverindex].serverinfo_rows, s_servers[serverindex].serverinfo_rows, s_servers[serverindex].serverinfo_columns, contents);
                                                                                                                                                                                                   ^~~~~~~~
In file included from client/menu.c:43:0:
./client/qmenu.h:351:6: note: expected 'const char **' but argument is of type 'char **'
void Menu_MakeTable (menuframework_s *menu, int nrows, int ncolumns, size_t *celltype_size, menuframework_s *header, menuframework_s *rows, void *columns, const char **contents);
     ^~~~~~~~~~~~~~
client/menu.c: In function 'PlayerList_SubmenuInit':
client/menu.c:3697:7: warning: passing argument 8 of 'Menu_MakeTable' from incompatible pointer type [-Wincompatible-pointer-types]
      local_player_info_ptrs
      ^~~~~~~~~~~~~~~~~~~~~~
In file included from client/menu.c:43:0:
./client/qmenu.h:351:6: note: expected 'const char **' but argument is of type 'char **'
void Menu_MakeTable (menuframework_s *menu, int nrows, int ncolumns, size_t *celltype_size, menuframework_s *header, menuframework_s *rows, void *columns, const char **contents);
     ^~~~~~~~~~~~~~
client/menu.c: In function 'LoadBotInfo':
client/menu.c:4543:29: warning: passing argument 2 of 'FS_LoadFile' from incompatible pointer type [-Wincompatible-pointer-types]
  if( FS_LoadFile (cfgpath, &cfg) == -1 )
                            ^
In file included from client/ref.h:23:0,
                from client/client.h:30,
                from client/menu.c:42:
./qcommon/qcommon.h:772:6: note: expected 'void **' but argument is of type 'char **'
int  FS_LoadFile (char *path, void **buffer);
     ^~~~~~~~~~~
client/menu.c: In function 'M_Menu_Mutators_f':
client/menu.c:4389:65: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations]
  s_mutator_list[i].generic.localstrings[0] = weaponModeNames[i][1];
                                              ~~~~~~~~~~~~~~~~~~^~~
client/menu.c:4385:2: note: within this loop
 for (i = 0; i < num_mutators; i++)
 ^~~
 CC       client/alienarena-qal.o
 CC       client/alienarena-qmenu.o
client/qmenu.c: In function 'Field_Draw':
client/qmenu.c:163:23: warning: comparison of distinct pointer types lacks a cast
 if ( cursor.menuitem == f )
                      ^~
client/qmenu.c: In function 'Field_Key':
client/qmenu.c:175:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 f = cursor.menuitem;
   ^
client/qmenu.c: In function 'Menu_AssignCursor':
client/qmenu.c:971:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  item = &menu->vertical_scrollbar;
       ^
client/qmenu.c: In function 'Menu_SlideItem':
client/qmenu.c:1429:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
 menucommon_s *item = cursor.menuitem;
                      ^~~~~~
client/qmenu.c: In function 'Slider_DoSlide':
client/qmenu.c:1477:21: warning: passing argument 1 of 'Menu_ActivateItem' from incompatible pointer type [-Wincompatible-pointer-types]
 Menu_ActivateItem (s);
                    ^
client/qmenu.c:1378:6: note: expected 'menuitem_s * {aka struct _tag_menuitem *}' but argument is of type 'menuslider_s * {aka struct <anonymous> *}'
void Menu_ActivateItem (menuitem_s *item)
     ^~~~~~~~~~~~~~~~~
client/qmenu.c: In function 'SpinControl_DoSlide':
client/qmenu.c:1534:21: warning: passing argument 1 of 'Menu_ActivateItem' from incompatible pointer type [-Wincompatible-pointer-types]
 Menu_ActivateItem (s);
                    ^
client/qmenu.c:1378:6: note: expected 'menuitem_s * {aka struct _tag_menuitem *}' but argument is of type 'menulist_s * {aka struct <anonymous> *}'
void Menu_ActivateItem (menuitem_s *item)
     ^~~~~~~~~~~~~~~~~
 CC       client/alienarena-snd_file.o
 CC       client/alienarena-snd_openal.o
 CC       game/alienarena-q_shared.o
 CC       qcommon/alienarena-cmd.o
 CC       qcommon/alienarena-cmodel.o
 CC       qcommon/alienarena-common.o
 CC       qcommon/alienarena-crc.o
 CC       qcommon/alienarena-cvar.o
 CC       qcommon/alienarena-files.o
 CC       qcommon/alienarena-htable.o
 CC       qcommon/alienarena-md5.o
 CC       qcommon/alienarena-mdfour.o
 CC       qcommon/alienarena-net_chan.o
 CC       qcommon/alienarena-pmove.o
 CC       ref_gl/alienarena-r_bloom.o
 CC       ref_gl/alienarena-r_draw.o
ref_gl/r_draw.c: In function 'Draw_AlphaStretchImage':
ref_gl/r_draw.c:270:23: warning: passing argument 1 of 'COM_StripExtension' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 COM_StripExtension ( gl->name, shortname );
                      ^~
In file included from ./qcommon/qcommon.h:25:0,
                from ./client/ref.h:23,
                from ref_gl/r_local.h:35,
                from ref_gl/r_draw.c:27:
./game/q_shared.h:252:6: note: expected 'char *' but argument is of type 'const char *'
void COM_StripExtension (char *in, char *out);
     ^~~~~~~~~~~~~~~~~~
 CC       ref_gl/alienarena-r_image.o
 CC       ref_gl/alienarena-r_iqm.o
ref_gl/r_iqm.c:1290:13: warning: 'vbo_indices' is static but used in inline function 'IQM_DrawVBO' which is not static
 GL_BindIBO(vbo_indices);        
            ^~~~~~~~~~~
ref_gl/r_iqm.c:1284:14: warning: 'vbo_tangents' is static but used in inline function 'IQM_DrawVBO' which is not static
  GL_BindVBO(vbo_tangents);
             ^~~~~~~~~~~~
ref_gl/r_iqm.c:1278:13: warning: 'vbo_normals' is static but used in inline function 'IQM_DrawVBO' which is not static
 GL_BindVBO(vbo_normals);
            ^~~~~~~~~~~
ref_gl/r_iqm.c:1273:13: warning: 'vbo_st' is static but used in inline function 'IQM_DrawVBO' which is not static
 GL_BindVBO(vbo_st);
            ^~~~~~
ref_gl/r_iqm.c:1269:13: warning: 'vbo_xyz' is static but used in inline function 'IQM_DrawVBO' which is not static
 GL_BindVBO(vbo_xyz);
            ^~~~~~~
 CC       ref_gl/alienarena-r_light.o
 CC       ref_gl/alienarena-r_main.o
 CC       ref_gl/alienarena-r_math.o
 CC       ref_gl/alienarena-r_mesh.o
 CC       ref_gl/alienarena-r_misc.o
 CC       ref_gl/alienarena-r_model.o
 CC       ref_gl/alienarena-r_particle.o
 CC       ref_gl/alienarena-r_postprocess.o
 CC       ref_gl/alienarena-r_program.o
 CC       ref_gl/alienarena-r_ragdoll.o
 CC       ref_gl/alienarena-r_script.o
 CC       ref_gl/alienarena-r_shadowmaps.o
 CC       ref_gl/alienarena-r_shadows.o
 CC       ref_gl/alienarena-r_surf.o
 CC       ref_gl/alienarena-r_text.o
 CC       ref_gl/alienarena-r_ttf.o
 CC       ref_gl/alienarena-r_varray.o
 CC       ref_gl/alienarena-r_vbo.o
 CC       ref_gl/alienarena-r_vlights.o
 CC       ref_gl/alienarena-r_warp.o
 CC       server/alienarena-sv_ccmds.o
 CC       server/alienarena-sv_ents.o
server/sv_ents.c: In function 'SV_WritePlayerstateToClient':
server/sv_ents.c:237:3: warning: implicit declaration of function 'MSG_WriteSizeInt'; did you mean 'MSG_ReadSizeInt'? [-Wimplicit-function-declaration]
  MSG_WriteSizeInt (msg, coord_bytes, ps->pmove.origin[0]);
  ^~~~~~~~~~~~~~~~
  MSG_ReadSizeInt
 CC       server/alienarena-sv_game.o
server/sv_game.c: In function 'SV_InitGameProgs':
server/sv_game.c:323:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 import.cvar = Cvar_Get;
             ^
server/sv_game.c:324:18: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 import.cvar_set = Cvar_Set;
                 ^
server/sv_game.c:325:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 import.cvar_forceset = Cvar_ForceSet;
                      ^
server/sv_game.c:326:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 import.cvar_describe = Cvar_Describe;
                      ^
 CC       server/alienarena-sv_init.o
 CC       server/alienarena-sv_main.o
 CC       server/alienarena-sv_send.o
 CC       server/alienarena-sv_user.o
 CC       server/alienarena-sv_world.o
 CC       unix/alienarena-glob.o
 CC       unix/alienarena-gl_glx.o
 CC       unix/alienarena-net_udp.o
 CC       unix/alienarena-qal_unix.o
 CC       unix/alienarena-qgl_unix.o
 CC       unix/alienarena-q_shunix.o
 CC       unix/alienarena-rw_unix.o
 CC       unix/alienarena-sys_unix.o
unix/sys_unix.c: In function 'Sys_GetGameAPI':
unix/sys_unix.c:273:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result]
 setreuid(getuid(), getuid());
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix/sys_unix.c:274:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result]
 setegid(getgid());
 ^~~~~~~~~~~~~~~~~
unix/sys_unix.c: In function 'main':
unix/sys_unix.c:374:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
 seteuid(getuid());
 ^~~~~~~~~~~~~~~~~
 CC       unix/alienarena-vid_so.o
 CCLD     alienarena
ref_gl/alienarena-r_iqm.o: In function `IQM_DrawFrame':
r_iqm.c:(.text+0x66cc): undefined reference to `IQM_DrawVBO'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1680: alienarena] Error 1
make[1]: Leaving directory '/usr/src/alienarena-7.66/source'
make: *** [Makefile:5008: all-recursive] Error 1
Reply
02-14-2018, 12:04 AM, (This post was last modified: 02-14-2018, 12:06 AM by Max.)
Post: #2
RE: In function `IQM_DrawFrame':
7.66 is a pretty old version, why don't you try checking out our SVN version? http://red.planetarena.org/forum/showthread.php?tid=17 Most people who compile from source end up going that route.

Since the move to steam as our favored distribution method, there's not much point in us cutting versioned releases anymore, so we haven't done one in a while.
Quote:* maxtothemax is back
<maxtothemax> with a vengeance
<maxtothemax> and chips
<maxtothemax> and bean dip
Reply
02-14-2018, 08:07 AM,
Post: #3
RE: In function `IQM_DrawFrame':
Gak! Didn't realize you used subversion, and your gonna make me use it? (just kiddin).

Hmm, gotta dust that off since not fiddled with svn for three or more years, git for the win baby!

Hee, hee.

I'll let yo know how it goes.

Understandable about steam but I really wish they would do a pure x86_64 release. On that note I thank you for not making that mandatory.
Reply
02-14-2018, 08:51 AM,
Post: #4
RE: In function `IQM_DrawFrame':
Hmmm. 4.1GiB total, anyway to trim a svn co down to just the linux stuff?
Reply
02-14-2018, 10:20 AM, (This post was last modified: 02-17-2018, 04:45 PM by animal.)
Post: #5
RE: In function `IQM_DrawFrame':
Anyway, the make was pretty clean and built fine, though some warnings. Not fatal I know just mentioning them;


Code:
gcc -DHAVE_CONFIG_H -I. -I../config  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include -pthread       -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -ffast-math -fno-strict-aliasing -MT client/alienarena-menu.o -MD -MP
-MF client/.deps/alienarena-menu.Tpo -c -o client/alienarena-menu.o `test -f 'client/menu.c' || echo './'`client/menu.c

client/menu.c: In function 'Option_Setup':

client/menu.c:1991:24: warning: comparison of distinct pointer types lacks a cast

   if (item->itemnames == font_names)

                       ^~

client/menu.c:2029:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

   item->generic.localptrs[0] = limit;

                              ^

client/menu.c:2041:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

   item->generic.localptrs[0] = fieldsize;

                              ^

client/menu.c: In function 'ServerInfo_SubmenuInit':

client/menu.c:4124:196: warning: passing argument 8 of 'Menu_MakeTable' from incompatible pointer type [-Wincompatible-pointer-types]

le (&s_servers[serverindex].serverinfo_table, 7, 2, sizes, s_servers[serverindex].serverinfo_rows, s_servers[serverindex].serverinfo_rows, s_servers[serverindex].serverinfo_columns, contents);

                                                                                                                                                                                      ^~~~~~~~

In file included from client/menu.c:52:0:

./client/qmenu.h:356:6: note: expected 'const char **' but argument is of type 'char **'

void Menu_MakeTable (menuframework_s *menu, int nrows, int ncolumns, size_t *celltype_size, menuframework_s *header, menuframework_s *rows, void *columns, const char **contents);

     ^~~~~~~~~~~~~~

client/menu.c: In function 'PlayerList_SubmenuInit':

client/menu.c:4223:7: warning: passing argument 8 of 'Menu_MakeTable' from incompatible pointer type [-Wincompatible-pointer-types]

      local_player_info_ptrs

      ^~~~~~~~~~~~~~~~~~~~~~

In file included from client/menu.c:52:0:

./client/qmenu.h:356:6: note: expected 'const char **' but argument is of type 'char **'

void Menu_MakeTable (menuframework_s *menu, int nrows, int ncolumns, size_t *celltype_size, menuframework_s *header, menuframework_s *rows, void *columns, const char **contents);

     ^~~~~~~~~~~~~~

client/menu.c: In function 'Slider_CheckSlide':

client/menu.c:6860:21: warning: passing argument 1 of 'Menu_ActivateItem' from incompatible pointer type [-Wincompatible-pointer-types]

 Menu_ActivateItem (s);

                    ^

In file included from client/menu.c:52:0:

./client/qmenu.h:344:6: note: expected 'menuitem_s * {aka struct _tag_menuitem *}' but argument is of type 'menuslider_s * {aka struct <anonymous> *}'

void Menu_ActivateItem (menuitem_s *item);

     ^~~~~~~~~~~~~~~~~

mv -f client/.deps/alienarena-menu.Tpo client/.deps/alienarena-menu.Po

gcc -DHAVE_CONFIG_H -I. -I../config  -DCOR_DATADIR='"/usr/local/share/alie


and further down;

Code:
gcc -DHAVE_CONFIG_H -I. -I../config  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include -pthread       -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -ffast-math -fno-strict-aliasing -MT client/alienarena-qmenu.o -MD -M
P -MF client/.deps/alienarena-qmenu.Tpo -c -o client/alienarena-qmenu.o `test -f 'client/qmenu.c' || echo './'`client/qmenu.c

client/qmenu.c: In function 'Field_Draw':

client/qmenu.c:176:23: warning: comparison of distinct pointer types lacks a cast

 if ( cursor.menuitem == f )

                      ^~

client/qmenu.c: In function 'Field_Key':

client/qmenu.c:188:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]

 f = cursor.menuitem;

   ^

client/qmenu.c: In function 'Menu_AssignCursor':

client/qmenu.c:1004:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]

  item = &menu->vertical_scrollbar;

       ^

client/qmenu.c: In function 'Menu_SlideItem':

client/qmenu.c:1467:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]

 menucommon_s *item = cursor.menuitem;

                      ^~~~~~

client/qmenu.c: In function 'Slider_DoSlide':

client/qmenu.c:1515:21: warning: passing argument 1 of 'Menu_ActivateItem' from incompatible pointer type [-Wincompatible-pointer-types]

 Menu_ActivateItem (s);

                    ^

client/qmenu.c:1414:6: note: expected 'menuitem_s * {aka struct _tag_menuitem *}' but argument is of type 'menuslider_s * {aka struct <anonymous> *}'

void Menu_ActivateItem (menuitem_s *item)

     ^~~~~~~~~~~~~~~~~

client/qmenu.c: In function 'SpinControl_DoSlide':

client/qmenu.c:1574:21: warning: passing argument 1 of 'Menu_ActivateItem' from incompatible pointer type [-Wincompatible-pointer-types]

 Menu_ActivateItem (s);

                    ^

client/qmenu.c:1414:6: note: expected 'menuitem_s * {aka struct _tag_menuitem *}' but argument is of type 'menulist_s * {aka struct <anonymous> *}'

void Menu_ActivateItem (menuitem_s *item)

     ^~~~~~~~~~~~~~~~~

mv -f client/.deps/alienarena-qmenu.Tpo client/.deps/alienarena-qmenu.Po

and;

Code:
gcc -DHAVE_CONFIG_H -I. -I../config  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include -pthread       -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -ffast-math -fno-strict-aliasing -MT ref_gl/alienarena-r_draw.o -MD -
MP -MF ref_gl/.deps/alienarena-r_draw.Tpo -c -o ref_gl/alienarena-r_draw.o `test -f 'ref_gl/r_draw.c' || echo './'`ref_gl/r_draw.c

ref_gl/r_draw.c:114:0: warning: "DEG2RAD" redefined

#define DEG2RAD (0.0174532925f)

 
In file included from ./qcommon/qcommon.h:25:0,

                from ./client/ref.h:23,

                from ref_gl/r_local.h:31,

                from ref_gl/r_draw.c:28:

./game/q_shared.h:210:0: note: this is the location of the previous definition

#define DEG2RAD( a ) (( (a) * (float)M_PI ) / 180.0F)

 
mv -f ref_gl/.deps/alienarena-r_draw.Tpo ref_gl/.deps/alienarena-r_draw.Po

gcc -DHAVE_CONFIG_H -I. -I../config  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include -pthread       -I/usr/in
clude/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -ffast-math -fno-strict-aliasing -MT ref_gl/alienarena-r_image.o -MD
-MP -MF ref_gl/.deps/alienarena-r_image.Tpo -c -o ref_gl/alienarena-r_image.o `test -f 'ref_gl/r_image.c' || echo './'`ref_gl/r_image.c

mv -f ref_gl/.deps/alienarena-r_image.Tpo ref_gl/.deps/alienarena-r_image.Po

gcc -DHAVE_CONFIG_H -I. -I../config  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include -pthread       -I/usr/in
clude/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -ffast-math -fno-strict-aliasing -MT ref_gl/alienarena-r_iqm.o -MD -M
P -MF ref_gl/.deps/alienarena-r_iqm.Tpo -c -o ref_gl/alienarena-r_iqm.o `test -f 'ref_gl/r_iqm.c' || echo './'`ref_gl/r_iqm.c

mv -f ref_gl/.deps/alienarena-r_iqm.Tpo ref_gl/.deps/alienarena-r_iqm.Po

gcc -DHAVE_CONFIG_H -I. -I../config  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include -pthread       -I/usr/in
clude/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -ffast-math -fno-strict-aliasing -MT ref_gl/alienarena-r_light.o -MD
-MP -MF ref_gl/.deps/alienarena-r_light.Tpo -c -o ref_gl/alienarena-r_light.o `test -f 'ref_gl/r_light.c' || echo './'`ref_gl/r_light.c

ref_gl/r_light.c: In function 'R_StaticLightPoint':

ref_gl/r_light.c:360:25: warning: passing argument 1 of 'CM_TerrainLightPoint' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

  CM_TerrainLightPoint (p, end, color);

                        ^

In file included from ./client/ref.h:23:0,

                from ref_gl/r_local.h:31,

                from ref_gl/r_light.c:26:

./qcommon/qcommon.h:718:6: note: expected 'vec_t * {aka float *}' but argument is of type 'const vec_t * {aka const float *}'

void CM_TerrainLightPoint (vec3_t in_point, vec3_t out_point, vec3_t out_color);

     ^~~~~~~~~~~~~~~~~~~~

ref_gl/r_light.c:363:76: warning: passing argument 2 of 'RecursiveLightPoint' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

  if (r_worldmodel->lightdata && RecursiveLightPoint (r_worldmodel->nodes, p, end, &uses_lightstyle) != -1)

                                                                           ^

ref_gl/r_light.c:240:12: note: expected 'vec_t * {aka float *}' but argument is of type 'const vec_t * {aka const float *}'

static int RecursiveLightPoint (mnode_t *node, vec3_t start, vec3_t end, qboolean *out_uses_lightstyle)

           ^~~~~~~~~~~~~~~~~~~

mv -f ref_gl/.deps/alienarena-r_light.Tpo ref_gl/.deps/alienarena-r_light.Po

Code:
gcc -DHAVE_CONFIG_H -I. -I../config  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include  -DCOR_DATADIR='"/usr/local/share/alienarena"' -I../source/include -pthread       -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -ffast-math -fno-strict-aliasing -MT ref_gl/alienarena-r_terrain.o -M
D -MP -MF ref_gl/.deps/alienarena-r_terrain.Tpo -c -o ref_gl/alienarena-r_terrain.o `test -f 'ref_gl/r_terrain.c' || echo './'`ref_gl/r_terrain.c

ref_gl/r_terrain.c: In function 'Mod_LoadTerrainDecorations':

ref_gl/r_terrain.c:161:34: warning: passing argument 1 of 'R_RegisterModel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

   ent->model = R_RegisterModel (data.decorations[i].path);

                                 ^~~~

In file included from ref_gl/r_local.h:31:0,

                from ref_gl/r_terrain.c:5:

./client/ref.h:364:17: note: expected 'char *' but argument is of type 'const char *'

struct model_s *R_RegisterModel (char *name);

                ^~~~~~~~~~~~~~~

ref_gl/r_terrain.c:195:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

   gfxpath = data.decorations[i].path;

           ^

mv -f ref_gl/.deps/alienarena-r_terrain.Tpo ref_gl/.deps/alienarena-r_terrain.Po
Reply
02-14-2018, 12:52 PM,
Post: #6
RE: In function `IQM_DrawFrame':
You could delete all the .exes and .dlls, but you wouldn't save too much. You can also save space by using the "alternate install" method. Basically, instead of running "sudo make install" you just run "cp source/alienarena ." and then run "./alienarena" from your SVN dir, that avoids making a separate copy of everything when you make install.
Quote:* maxtothemax is back
<maxtothemax> with a vengeance
<maxtothemax> and chips
<maxtothemax> and bean dip
Reply
02-14-2018, 10:17 PM,
Post: #7
RE: In function `IQM_DrawFrame':
Hmm.

Well I'm one of the maintainers for Lunar-Linux (source based, I go by another name there) and trying to figure out how I want to handle updating our current alienarena-7.66 scripts. I was hoping through some svn trickery to just write the scripts to grab only the linux stuff to save a person from grabbing what they don't need. Seems that's not possible like it was in the past since moving to steam distribution.
Reply
02-14-2018, 10:55 PM,
Post: #8
RE: In function `IQM_DrawFrame':
In the docs subdirectory there is a file, devref-en.html. It describes, among other things, how to build a distribution package. It is not up-to-date; specifically, there are references to a separate tactical version that is no longer separate. Run configure --help in the top directory for information on build options.

You may (probably will) run into problems or questions. Feel free to PM me.
Cool  Pie fixes everything. So does BACON!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)