Open InFerYes opened 3 years ago
This is a GCC problem. ARMv7 device uses gcc 9.3.0. The x86_64 device uses gcc 10.2.0.
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
Circumvented by explicitly telling gcc to use fcommon (gcc10 defaults to fno_common) in commit 6c5661c11661630eebcb2a49f6ef7b72e96a1251
Not resolved building with cygwin on windows
imfri@DESKTOP-M3PMM4J /cygdrive/c/source/repos/dday/MrG-DRGN $ make clean && make -j2 build_release rm -f g_ai.o g_arty.o g_cmds.o g_combat.o g_ents.o g_func.o g_items.o g_main.o g_maps.o g_misc.o g_monster.o g_objectives.o g_phys.o g_save.o g_spawn.o g_svcmds.o g_target.o g_trigger.o g_turret.o g_utils.o g_weapon.o m_actor.o m_civilian.o m_flash.o m_insane.o m_move.o p_classes.o p_client.o p_generic_wep.o p_hud.o p_menu.o p_observer.o p_trail.o p_view.o p_weapon.o q_shared.o u_entmgr.o x_fbomb.o x_fire.o usa/usa_item.o usa/usa_spawn.o usa/usa_guninfo.o usa/usa_weapon.o usa/usa_main.o grm/grm_item.o grm/grm_spawn.o grm/grm_guninfo.o grm/grm_weapon.o grm/grm_main.o rus/rus_item.o rus/rus_spawn.o rus/rus_guninfo.o rus/rus_weapon.o rus/rus_main.o gbr/gbr_item.o gbr/gbr_spawn.o gbr/gbr_guninfo.o gbr/gbr_weapon.o gbr/gbr_main.o jpn/jpn_item.o jpn/jpn_spawn.o jpn/jpn_guninfo.o jpn/jpn_weapon.o jpn/jpn_main.o usm/usm_item.o usm/usm_spawn.o usm/usm_guninfo.o usm/usm_weapon.o usm/usm_main.o ita/ita_item.o ita/ita_spawn.o ita/ita_guninfo.o ita/ita_weapon.o ita/ita_main.o pol/pol_item.o pol/pol_spawn.o pol/pol_guninfo.o pol/pol_weapon.o pol/pol_main.o ai/bot_common.o ai/bot_spawn.o ai/ai_weapons.o ai/ai_tools.o ai/ai_nodes.o ai/ai_navigation.o ai/ai_movement.o ai/ai_links.o ai/ai_items.o ai/ai_dropnodes.o ai/ai_class_dmbot.o ai/ai_class_monster_default.o ai/AStar.o ai/ai_main.o rm -f gamex86_64.real.so make clean -C gbr -f ../Makefile.country COUNTRY_CODE=gbr make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/gbr' rm -f gbr_item.o gbr_spawn.o gbr_guninfo.o gbr_weapon.o gbr_main.o rm -f gbrx86_64.so make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/gbr' make clean -C grm -f ../Makefile.country COUNTRY_CODE=grm make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/grm' rm -f grm_item.o grm_spawn.o grm_guninfo.o grm_weapon.o grm_main.o rm -f grmx86_64.so make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/grm' make clean -C ita -f ../Makefile.country COUNTRY_CODE=ita make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/ita' rm -f ita_item.o ita_spawn.o ita_guninfo.o ita_weapon.o ita_main.o rm -f itax86_64.so make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/ita' make clean -C jpn -f ../Makefile.country COUNTRY_CODE=jpn make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/jpn' rm -f jpn_item.o jpn_spawn.o jpn_guninfo.o jpn_weapon.o jpn_main.o rm -f jpnx86_64.so make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/jpn' make clean -C pol -f ../Makefile.country COUNTRY_CODE=pol make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/pol' rm -f pol_item.o pol_spawn.o pol_guninfo.o pol_weapon.o pol_main.o rm -f polx86_64.so make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/pol' make clean -C rus -f ../Makefile.country COUNTRY_CODE=rus make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/rus' rm -f rus_item.o rus_spawn.o rus_guninfo.o rus_weapon.o rus_main.o rm -f rusx86_64.so make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/rus' make clean -C usa -f ../Makefile.country COUNTRY_CODE=usa make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/usa' rm -f usa_item.o usa_spawn.o usa_guninfo.o usa_weapon.o usa_main.o rm -f usax86_64.so make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/usa' make clean -C usm -f ../Makefile.country COUNTRY_CODE=usm make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/usm' rm -f usm_item.o usm_spawn.o usm_guninfo.o usm_weapon.o usm_main.o rm -f usmx86_64.so make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/usm' make gamex86_64.real.so CFLAGS="-Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations" make[1]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN' gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_ai.o -c g_ai.c gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_arty.o -c g_arty.c gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_cmds.o -c g_cmds.c gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_combat.o -c g_combat.c g_cmds.c:220:15: warning: initialization of ‘void ()()’ from incompatible pointer type ‘qboolean ()(edict_t )’ {aka ‘qboolean ()(struct edict_s *)’} [-Wincompatible-pointer-types] 220 | "scope", 2, Cmd_Scope_f, | ^ |
com_token = COM_Parse(&data); | ^~~~~ |
---|---|---|---|---|
char ** |
In file included from g_local.h:30, from g_spawn.c:28: q_shared.h:254:30: note: expected ‘const char ’ but argument is of type ‘char ’ 254 | char* COM_Parse(const char** data_p); | com_token = COM_Parse(&data); | ^~~~~ | |
---|---|---|---|---|
char ** |
In file included from g_local.h:30, from g_spawn.c:28: q_shared.h:254:30: note: expected ‘const char ’ but argument is of type ‘char ’ 254 | char* COM_Parse(const char** data_p); | com_token = COM_Parse(&entities); | ^ |
|
---|---|---|---|---|
char ** |
In file included from g_local.h:30, from g_spawn.c:28: q_shared.h:254:30: note: expected ‘const char ’ but argument is of type ‘char ’ 254 | char* COM_Parse(const char** data_p); | com_token = COM_Parse(&entities); | ^ |
|
---|---|---|---|---|
char ** |
In file included from g_local.h:30,
from g_spawn.c:28:
q_shared.h:254:30: note: expected ‘const char ’ but argument is of type ‘char ’
254 | char COM_Parse(const char** data_p);
| ~~~^~~~
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_svcmds.o -c g_svcmds.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_target.o -c g_target.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_trigger.o -c g_trigger.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_turret.o -c g_turret.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_utils.o -c g_utils.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o g_weapon.o -c g_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o m_actor.o -c m_actor.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o m_civilian.o -c m_civilian.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o m_flash.o -c m_flash.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o m_insane.o -c m_insane.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o m_move.o -c m_move.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_classes.o -c p_classes.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_client.o -c p_client.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_generic_wep.o -c p_generic_wep.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_hud.o -c p_hud.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_menu.o -c p_menu.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_observer.o -c p_observer.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_trail.o -c p_trail.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_view.o -c p_view.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o p_weapon.o -c p_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o q_shared.o -c q_shared.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o u_entmgr.o -c u_entmgr.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o x_fbomb.o -c x_fbomb.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o x_fire.o -c x_fire.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usa/usa_item.o -c usa/usa_item.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usa/usa_spawn.o -c usa/usa_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usa/usa_guninfo.o -c usa/usa_guninfo.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usa/usa_weapon.o -c usa/usa_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usa/usa_main.o -c usa/usa_main.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o grm/grm_item.o -c grm/grm_item.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o grm/grm_spawn.o -c grm/grm_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o grm/grm_guninfo.o -c grm/grm_guninfo.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o grm/grm_weapon.o -c grm/grm_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o grm/grm_main.o -c grm/grm_main.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o rus/rus_item.o -c rus/rus_item.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o rus/rus_spawn.o -c rus/rus_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o rus/rus_guninfo.o -c rus/rus_guninfo.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o rus/rus_weapon.o -c rus/rus_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o rus/rus_main.o -c rus/rus_main.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o gbr/gbr_item.o -c gbr/gbr_item.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o gbr/gbr_spawn.o -c gbr/gbr_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o gbr/gbr_guninfo.o -c gbr/gbr_guninfo.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o gbr/gbr_weapon.o -c gbr/gbr_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o gbr/gbr_main.o -c gbr/gbr_main.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o jpn/jpn_item.o -c jpn/jpn_item.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o jpn/jpn_spawn.o -c jpn/jpn_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o jpn/jpn_guninfo.o -c jpn/jpn_guninfo.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o jpn/jpn_weapon.o -c jpn/jpn_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o jpn/jpn_main.o -c jpn/jpn_main.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usm/usm_item.o -c usm/usm_item.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usm/usm_spawn.o -c usm/usm_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usm/usm_guninfo.o -c usm/usm_guninfo.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usm/usm_weapon.o -c usm/usm_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o usm/usm_main.o -c usm/usm_main.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ita/ita_item.o -c ita/ita_item.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ita/ita_spawn.o -c ita/ita_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ita/ita_guninfo.o -c ita/ita_guninfo.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ita/ita_weapon.o -c ita/ita_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ita/ita_main.o -c ita/ita_main.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o pol/pol_item.o -c pol/pol_item.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o pol/pol_spawn.o -c pol/pol_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o pol/pol_guninfo.o -c pol/pol_guninfo.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o pol/pol_weapon.o -c pol/pol_weapon.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o pol/pol_main.o -c pol/pol_main.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/bot_common.o -c ai/bot_common.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/bot_spawn.o -c ai/bot_spawn.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_weapons.o -c ai/ai_weapons.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_tools.o -c ai/ai_tools.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_nodes.o -c ai/ai_nodes.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_navigation.o -c ai/ai_navigation.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_movement.o -c ai/ai_movement.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_links.o -c ai/ai_links.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_items.o -c ai/ai_items.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_dropnodes.o -c ai/ai_dropnodes.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_class_dmbot.o -c ai/ai_class_dmbot.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_class_monster_default.o -c ai/ai_class_monster_default.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/AStar.o -c ai/AStar.c
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o ai/ai_main.o -c ai/ai_main.c
make gbrx86_64.so -C gbr -f ../Makefile.country COUNTRY_CODE=gbr
make[2]: Entering directory '/cygdrive/c/source/repos/dday/MrG-DRGN/gbr'
gcc -Dstricmp=strcasecmp -fcommon -O3 -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -shared -o gbrx86_64.so gbr_item.o gbr_spawn.o gbr_guninfo.o gbr_weapon.o gbr_main.o
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x10): undefined reference to Pickup_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x18): undefined reference to
Use_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x20): undefined reference to Drop_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0xc8): undefined reference to
Pickup_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0xd0): undefined reference to Use_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0xd8): undefined reference to
Drop_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x180): undefined reference to Pickup_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x188): undefined reference to
Use_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x190): undefined reference to Drop_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x238): undefined reference to
Pickup_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x240): undefined reference to Use_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x248): undefined reference to
Drop_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x2f0): undefined reference to Pickup_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x2f8): undefined reference to
Use_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x300): undefined reference to Drop_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x3a8): undefined reference to
Pickup_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x3b0): undefined reference to Use_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x3b8): undefined reference to
Drop_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x460): undefined reference to Pickup_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x468): undefined reference to
Use_Weapon'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x470): undefined reference to Drop_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x518): undefined reference to
Pickup_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x520): undefined reference to Use_Weapon' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x528): undefined reference to
Drop_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x530): undefined reference to Weapon_Grenade' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x5d0): undefined reference to
Pickup_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x5e0): undefined reference to Drop_Ammo' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x688): undefined reference to
Pickup_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x698): undefined reference to Drop_Ammo' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x740): undefined reference to
Pickup_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x750): undefined reference to Drop_Ammo' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x7f8): undefined reference to
Pickup_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x808): undefined reference to Drop_Ammo' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x8b0): undefined reference to
Pickup_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x8c0): undefined reference to Drop_Ammo' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x968): undefined reference to
Pickup_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0x978): undefined reference to Drop_Ammo' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0xa20): undefined reference to
Pickup_Ammo'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_item.o:gbr_item.c:(.data+0xa30): undefined reference to Drop_Ammo' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x11): undefined reference to
FindItem'
gbr_spawn.o:gbr_spawn.c:(.text+0x11): relocation truncated to fit: R_X86_64_PC32 against undefined symbol FindItem' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x41): undefined reference to
FindItemByClassname'
gbr_spawn.o:gbr_spawn.c:(.text+0x41): relocation truncated to fit: R_X86_64_PC32 against undefined symbol FindItemByClassname' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x71): undefined reference to
FindItemByClassname'
gbr_spawn.o:gbr_spawn.c:(.text+0x71): relocation truncated to fit: R_X86_64_PC32 against undefined symbol FindItemByClassname' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0xa1): undefined reference to
FindItemByClassname'
gbr_spawn.o:gbr_spawn.c:(.text+0xa1): relocation truncated to fit: R_X86_64_PC32 against undefined symbol FindItemByClassname' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0xd1): undefined reference to
FindItemByClassname'
gbr_spawn.o:gbr_spawn.c:(.text+0xd1): relocation truncated to fit: R_X86_64_PC32 against undefined symbol FindItemByClassname' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x101): undefined reference to
FindItemByClassname'
gbr_spawn.o:gbr_spawn.c:(.text+0x101): relocation truncated to fit: R_X86_64_PC32 against undefined symbol FindItemByClassname' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x131): more undefined references to
FindItemByClassname' follow
gbr_spawn.o:gbr_spawn.c:(.text+0x131): relocation truncated to fit: R_X86_64_PC32 against undefined symbol FindItemByClassname' gbr_spawn.o:gbr_spawn.c:(.text+0x161): relocation truncated to fit: R_X86_64_PC32 against undefined symbol
FindItemByClassname'
gbr_spawn.o:gbr_spawn.c:(.text+0x191): relocation truncated to fit: R_X86_64_PC32 against undefined symbol FindItemByClassname' gbr_spawn.o:gbr_spawn.c:(.text+0x1c1): relocation truncated to fit: R_X86_64_PC32 against undefined symbol
FindItemByClassname'
gbr_spawn.o:gbr_spawn.c:(.text+0x1f1): additional relocation overflows omitted from the output
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x22): undefined reference to SpawnItem' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x52): undefined reference to
SpawnItem'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x82): undefined reference to SpawnItem' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0xb2): undefined reference to
SpawnItem'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0xe2): undefined reference to SpawnItem' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x112): more undefined references to
SpawnItem' follow
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x2d8): undefined reference to SP_misc_banner_generic' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.text+0x2e8): undefined reference to
SP_misc_banner_generic'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_spawn.o:gbr_spawn.c:(.data+0x118): undefined reference to SP_misc_flag_brit' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.text+0xff): undefined reference to
Weapon_Generic'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.text+0x33c): undefined reference to Weapon_Generic' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.text+0x52e): undefined reference to
Weapon_Generic'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.text+0x61e): undefined reference to Weapon_Generic' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.text+0x73b): undefined reference to
Weapon_Generic'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.text+0x83c): more undefined references to Weapon_Generic' follow /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.rdata$.refptr.Weapon_Sniper_Fire[.refptr.Weapon_Sniper_Fire]+0x0): undefined reference to
Weapon_Sniper_Fire'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.rdata$.refptr.Weapon_PIAT_Fire[.refptr.Weapon_PIAT_Fire]+0x0): undefined reference to Weapon_PIAT_Fire' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.rdata$.refptr.Weapon_Vickers_Fire[.refptr.Weapon_Vickers_Fire]+0x0): undefined reference to
Weapon_Vickers_Fire'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.rdata$.refptr.gi[.refptr.gi]+0x0): undefined reference to gi' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.rdata$.refptr.Weapon_Bren_Fire[.refptr.Weapon_Bren_Fire]+0x0): undefined reference to
Weapon_Bren_Fire'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.rdata$.refptr.Weapon_Sten_Fire[.refptr.Weapon_Sten_Fire]+0x0): undefined reference to Weapon_Sten_Fire' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.rdata$.refptr.Weapon_Rifle_Fire[.refptr.Weapon_Rifle_Fire]+0x0): undefined reference to
Weapon_Rifle_Fire'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: gbr_weapon.o:gbr_weapon.c:(.rdata$.refptr.Weapon_Pistol_Fire[.refptr.Weapon_Pistol_Fire]+0x0): undefined reference to `Weapon_Pistol_Fire'
collect2: error: ld returned 1 exit status
make[2]: ** [../Makefile.country:78: gbrx86_64.so] Error 1
make[2]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN/gbr'
make[1]: [Makefile:125: gamex86_64.real.so] Error 2
make[1]: Leaving directory '/cygdrive/c/source/repos/dday/MrG-DRGN'
make: [Makefile:61: build_release] Error 2
imfri@DESKTOP-M3PMM4J /cygdrive/c/source/repos/dday/MrG-DRGN
ARMv7 output (finishes)
x86_64 output (exits unfinished)