project-navigation
Personal tools

Author Topic: [Rev 30253 and beyond] compile error  (Read 4828 times)

Aesten

  • Guest
[Rev 30253 and beyond] compile error
« on: May 31, 2010, 10:43:01 am »
Quote
Compiling: ..\..\src\shared\utf8.c
Linking executable: ..\..\ufo.exe
.objs\client\src\client\menu\m_icon.o:m_icon.c:(.text+0x244): undefined reference to `MN_IconExists'
collect2: ld returned 1 exit status
Process terminated with status 1 (3 minutes, 5 seconds)
1 errors, 2 warnings
Endtime:   2010.05.31 10:01:46 2
Error 16
C::B returned an error during C:\UFOAI\UFOAIwin32BUILDenv\MinGW\ufoai\build\projects\ufo.mod.mod.cbp
Granted, I haven't actually tried to compile 253, but I was getting that error on 269 and 271. I reverted to 252, and my compile is running fine. Is it possible this could somehow be related to the missing text errors people are getting?

Full build log attached.

EDIT: Even tried using the latest C::B from their website, build date just a few days ago, still no avail. Been having issues getting the mingw that's included to work, but that's another problem.

EDIT 2: Just tried compiling 30253, and gives me the error, where 252 did not.
« Last Edit: May 31, 2010, 01:16:37 pm by Aesten »

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: [Rev 30253 and beyond] compile error
« Reply #1 on: May 31, 2010, 03:17:24 pm »
confirmed
build 2.4 same svn
release gcc std settings == error
debug  == ok

Aesten

  • Guest
Re: [Rev 30253 and beyond] compile error
« Reply #2 on: May 31, 2010, 04:16:28 pm »
Ah ha, I shall try debug now.

EDIT: I can also confirm, builds fine with the debug switch on.
« Last Edit: May 31, 2010, 04:32:35 pm by Aesten »

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
Re: [Rev 30253 and beyond] compile error
« Reply #3 on: May 31, 2010, 06:17:50 pm »
Something else seems to have gone wrong, since now I can't build debug versions with 0.8.0 version of muton's script. It crashed compiling ufo.mod.mod.cbp (is there an extra .mod there?).

Excerpt from log:

Code: [Select]
Run: "D:\UFOAIwin32BUILDenv\codeblocks\codeblocks.exe" --rebuild --target=windows_debug "D:\UFOAIwin32BUILDenv\MinGW\ufoai\build\projects\ufo.mod.mod.cbp"
at: D:\UFOAIwin32BUILDenv
-------------- Clean: windows_debug in ufo ---------------
Running target pre-build steps
..\..\contrib\scripts\codeblocks_check.bat "D:\UFOAIwin32BUILDenv\MinGW\"
D:\UFOAIwin32BUILDenv\MinGW\
D:\UFOAIW~1\MinGW\
Win32 build environment is up2date
-------------- Build: windows_debug in ufo ---------------
Compiling: ..\..\src\client\battlescape\cl_actor.c
Compiling: ..\..\src\client\battlescape\cl_battlescape.c
Compiling: ..\..\src\client\battlescape\cl_camera.c
Compiling: ..\..\src\client\battlescape\cl_hud.c
Compiling: ..\..\src\client\battlescape\cl_hud_callbacks.c
Compiling: ..\..\src\client\battlescape\cl_localentity.c
Compiling: ..\..\src\client\battlescape\cl_parse.c
Compiling: ..\..\src\client\battlescape\cl_particle.c
Compiling: ..\..\src\client\battlescape\cl_spawn.c
Compiling: ..\..\src\client\battlescape\cl_ugv.c
Compiling: ..\..\src\client\battlescape\cl_view.c
Compiling: ..\..\src\client\battlescape\events\e_main.c
Compiling: ..\..\src\client\battlescape\events\e_parse.c
Compiling: ..\..\src\client\battlescape\events\e_server.c
Compiling: ..\..\src\client\battlescape\events\e_time.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actoradd.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorappear.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actordie.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actordooraction.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actormove.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorreactionfirechange.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorreservationchange.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorresetclientaction.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorshoot.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorshoothidden.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorstartshoot.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorstatechange.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorstats.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorthrow.c
Compiling: ..\..\src\client\battlescape\events\event\actor\e_event_actorturn.c
Compiling: ..\..\src\client\battlescape\events\event\inventory\e_event_invadd.c
Compiling: ..\..\src\client\battlescape\events\event\inventory\e_event_invammo.c
Compiling: ..\..\src\client\battlescape\events\event\inventory\e_event_invdel.c
Compiling: ..\..\src\client\battlescape\events\event\inventory\e_event_invreload.c
Compiling: ..\..\src\client\battlescape\events\event\player\e_event_centerview.c
Compiling: ..\..\src\client\battlescape\events\event\player\e_event_doendround.c
Compiling: ..\..\src\client\battlescape\events\event\player\e_event_endroundannounce.c
Compiling: ..\..\src\client\battlescape\events\event\player\e_event_reset.c
Compiling: ..\..\src\client\battlescape\events\event\player\e_event_results.c
Compiling: ..\..\src\client\battlescape\events\event\player\e_event_startgame.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_addbrushmodel.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_addedict.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_doorclose.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_dooropen.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_entappear.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_entdestroy.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_entperish.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_explode.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_particleappear.c
Compiling: ..\..\src\client\battlescape\events\event\world\e_event_particlespawn.c
Compiling: ..\..\src\client\campaign\cp_aircraft.c
Compiling: ..\..\src\client\campaign\cp_aircraft_callbacks.c
Compiling: ..\..\src\client\campaign\cp_airfight.c
Compiling: ..\..\src\client\campaign\cp_alien_interest.c
Compiling: ..\..\src\client\campaign\cp_alienbase.c
Compiling: ..\..\src\client\campaign\cp_aliencont.c
Compiling: ..\..\src\client\campaign\cp_aliencont_callbacks.c
Compiling: ..\..\src\client\campaign\cp_base.c
Compiling: ..\..\src\client\campaign\cp_base_callbacks.c
Compiling: ..\..\src\client\campaign\cp_basedefence_callbacks.c
Compiling: ..\..\src\client\campaign\cp_campaign.c
Compiling: ..\..\src\client\campaign\cp_employee.c
Compiling: ..\..\src\client\campaign\cp_employee_callbacks.c
Compiling: ..\..\src\client\campaign\cp_event.c
Compiling: ..\..\src\client\campaign\cp_fightequip_callbacks.c
Compiling: ..\..\src\client\campaign\cp_hospital.c
Compiling: ..\..\src\client\campaign\cp_hospital_callbacks.c
Compiling: ..\..\src\client\campaign\cp_installation.c
Compiling: ..\..\src\client\campaign\cp_installation_callbacks.c
Compiling: ..\..\src\client\campaign\cp_map.c
Compiling: ..\..\src\client\campaign\cp_mapfightequip.c
Compiling: ..\..\src\client\campaign\cp_market.c
Compiling: ..\..\src\client\campaign\cp_market_callbacks.c
Compiling: ..\..\src\client\campaign\cp_messageoptions.c
Compiling: ..\..\src\client\campaign\cp_messageoptions_callbacks.c
Compiling: ..\..\src\client\campaign\cp_messages.c
Compiling: ..\..\src\client\campaign\cp_mission_triggers.c
Compiling: ..\..\src\client\campaign\cp_missions.c
Compiling: ..\..\src\client\campaign\cp_nation.c
Compiling: ..\..\src\client\campaign\cp_nations.c
Compiling: ..\..\src\client\campaign\cp_parse.c
Compiling: ..\..\src\client\campaign\cp_popup.c
Compiling: ..\..\src\client\campaign\cp_produce.c
Compiling: ..\..\src\client\campaign\cp_produce_callbacks.c
Compiling: ..\..\src\client\campaign\cp_radar.c
Compiling: ..\..\src\client\campaign\cp_rank.c
Compiling: ..\..\src\client\campaign\cp_research.c
Compiling: ..\..\src\client\campaign\cp_research_callbacks.c
Compiling: ..\..\src\client\campaign\cp_save.c
Compiling: ..\..\src\client\campaign\cp_team.c
Compiling: ..\..\src\client\campaign\cp_team_callbacks.c
Compiling: ..\..\src\client\campaign\cp_time.c
Compiling: ..\..\src\client\campaign\cp_transfer.c
Compiling: ..\..\src\client\campaign\cp_transfer_callbacks.c
Compiling: ..\..\src\client\campaign\cp_ufo.c
Compiling: ..\..\src\client\campaign\cp_ufopedia.c
Compiling: ..\..\src\client\campaign\cp_uforecovery.c
Compiling: ..\..\src\client\campaign\cp_uforecovery_callbacks.c
Compiling: ..\..\src\client\campaign\cp_xvi.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_baseattack.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_buildbase.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_harvest.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_intercept.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_recon.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_supply.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_terror.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_xvi.c
Compiling: ..\..\src\client\cinematic\cl_cinematic.c
Compiling: ..\..\src\client\cinematic\cl_cinematic_ogm.c
Compiling: ..\..\src\client\cinematic\cl_cinematic_roq.c
Compiling: ..\..\src\client\cl_console.c
Compiling: ..\..\src\client\cl_game.c
Compiling: ..\..\src\client\cl_game_campaign.c
Compiling: ..\..\src\client\cl_game_multiplayer.c
Compiling: ..\..\src\client\cl_game_skirmish.c
Compiling: ..\..\src\client\cl_http.c
Compiling: ..\..\src\client\cl_inventory.c
Compiling: ..\..\src\client\cl_inventory_callbacks.c
Compiling: ..\..\src\client\cl_irc.c
Compiling: ..\..\src\client\cl_language.c
Compiling: ..\..\src\client\cl_main.c
Compiling: ..\..\src\client\cl_menu.c
Compiling: ..\..\src\client\cl_screen.c
Compiling: ..\..\src\client\cl_sequence.c
Compiling: ..\..\src\client\cl_team.c
Compiling: ..\..\src\client\cl_tip.c
Compiling: ..\..\src\client\cl_tutorials.c
Compiling: ..\..\src\client\cl_ugv.c
Compiling: ..\..\src\client\cl_video.c
Compiling: ..\..\src\client\input\cl_input.c
Compiling: ..\..\src\client\input\cl_joystick.c
Compiling: ..\..\src\client\input\cl_keys.c
Compiling: ..\..\src\client\menu\m_actions.c
Compiling: ..\..\src\client\menu\m_components.c
Compiling: ..\..\src\client\menu\m_data.c
Compiling: ..\..\src\client\menu\m_dragndrop.c
Compiling: ..\..\src\client\menu\m_draw.c
Compiling: ..\..\src\client\menu\m_expression.c
Compiling: ..\..\src\client\menu\m_font.c
Compiling: ..\..\src\client\menu\m_icon.c
Compiling: ..\..\src\client\menu\m_input.c
Compiling: ..\..\src\client\menu\m_main.c
Compiling: ..\..\src\client\menu\m_nodes.c
Compiling: ..\..\src\client\menu\m_parse.c
Compiling: ..\..\src\client\menu\m_popup.c
Compiling: ..\..\src\client\menu\m_render.c
Compiling: ..\..\src\client\menu\m_timer.c
Compiling: ..\..\src\client\menu\m_tooltip.c
Compiling: ..\..\src\client\menu\m_windows.c
Compiling: ..\..\src\client\menu\node\m_node_abstractnode.c
Compiling: ..\..\src\client\menu\node\m_node_abstractoption.c
Compiling: ..\..\src\client\menu\node\m_node_abstractscrollable.c
Compiling: ..\..\src\client\menu\node\m_node_abstractscrollbar.c
Compiling: ..\..\src\client\menu\node\m_node_abstractvalue.c
Compiling: ..\..\src\client\menu\node\m_node_bar.c
Compiling: ..\..\src\client\menu\node\m_node_base.c
Compiling: ..\..\src\client\menu\node\m_node_button.c
Compiling: ..\..\src\client\menu\node\m_node_checkbox.c
Compiling: ..\..\src\client\menu\node\m_node_cinematic.c
Compiling: ..\..\src\client\menu\node\m_node_container.c
Compiling: ..\..\src\client\menu\node\m_node_controls.c
Compiling: ..\..\src\client\menu\node\m_node_custombutton.c
Compiling: ..\..\src\client\menu\node\m_node_editor.c
Compiling: ..\..\src\client\menu\node\m_node_ekg.c
Compiling: ..\..\src\client\menu\node\m_node_image.c
Compiling: ..\..\src\client\menu\node\m_node_item.c
Compiling: ..\..\src\client\menu\node\m_node_keybinding.c
Compiling: ..\..\src\client\menu\node\m_node_linechart.c
Compiling: ..\..\src\client\menu\node\m_node_map.c
Compiling: ..\..\src\client\menu\node\m_node_material_editor.c
Compiling: ..\..\src\client\menu\node\m_node_messagelist.c
Compiling: ..\..\src\client\menu\node\m_node_model.c
Compiling: ..\..\src\client\menu\node\m_node_optionlist.c
Compiling: ..\..\src\client\menu\node\m_node_optiontree.c
Compiling: ..\..\src\client\menu\node\m_node_panel.c
Compiling: ..\..\src\client\menu\node\m_node_radar.c
Compiling: ..\..\src\client\menu\node\m_node_radiobutton.c
Compiling: ..\..\src\client\menu\node\m_node_rows.c
Compiling: ..\..\src\client\menu\node\m_node_selectbox.c
Compiling: ..\..\src\client\menu\node\m_node_special.c
Compiling: ..\..\src\client\menu\node\m_node_spinner.c
Compiling: ..\..\src\client\menu\node\m_node_string.c
Compiling: ..\..\src\client\menu\node\m_node_tab.c
Compiling: ..\..\src\client\menu\node\m_node_tbar.c
Compiling: ..\..\src\client\menu\node\m_node_text.c
Compiling: ..\..\src\client\menu\node\m_node_textentry.c
Compiling: ..\..\src\client\menu\node\m_node_textlist.c
Compiling: ..\..\src\client\menu\node\m_node_todo.c
Compiling: ..\..\src\client\menu\node\m_node_vscrollbar.c
Compiling: ..\..\src\client\menu\node\m_node_window.c
Compiling: ..\..\src\client\menu\node\m_node_zone.c
Compiling: ..\..\src\client\multiplayer\mp_callbacks.c
Compiling: ..\..\src\client\multiplayer\mp_chatmessages.c
Compiling: ..\..\src\client\multiplayer\mp_serverlist.c
Compiling: ..\..\src\client\multiplayer\mp_team.c
Compiling: ..\..\src\client\mxml\mxml-attr.c
Compiling: ..\..\src\client\mxml\mxml-entity.c
Compiling: ..\..\src\client\mxml\mxml-file.c
Compiling: ..\..\src\client\mxml\mxml-index.c
Compiling: ..\..\src\client\mxml\mxml-node.c
Compiling: ..\..\src\client\mxml\mxml-private.c
Compiling: ..\..\src\client\mxml\mxml-search.c
Compiling: ..\..\src\client\mxml\mxml-set.c
Compiling: ..\..\src\client\mxml\mxml-string.c
Compiling: ..\..\src\client\mxml\mxml_ufoai.c
Compiling: ..\..\src\client\renderer\r_array.c
Compiling: ..\..\src\client\renderer\r_bsp.c
Compiling: ..\..\src\client\renderer\r_corona.c
Compiling: ..\..\src\client\renderer\r_draw.c
Compiling: ..\..\src\client\renderer\r_entity.c
Compiling: ..\..\src\client\renderer\r_flare.c
Compiling: ..\..\src\client\renderer\r_font.c
Compiling: ..\..\src\client\renderer\r_framebuffer.c
Compiling: ..\..\src\client\renderer\r_image.c
Compiling: ..\..\src\client\renderer\r_light.c
Compiling: ..\..\src\client\renderer\r_lightmap.c
Compiling: ..\..\src\client\renderer\r_main.c
Compiling: ..\..\src\client\renderer\r_material.c
Compiling: ..\..\src\client\renderer\r_matrix.c
Compiling: ..\..\src\client\renderer\r_mesh.c
Process terminated with status 1 (1 minutes, 54 seconds)
0 errors, 0 warnings
Endtime: 2010.05.31 19:23:01 2
Error 16
C::B returned an error during D:\UFOAIwin32BUILDenv\MinGW\ufoai\build\projects\ufo.mod.mod.cbp

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
Re: [Rev 30253 and beyond] compile error
« Reply #4 on: May 31, 2010, 06:41:42 pm »
Hmm, may have been a temporary glitch, since a followup attempt got past that point already.

EDIT: The successful build was a small debug installer of 2.4 trunk, so no Radiant.
« Last Edit: May 31, 2010, 07:03:03 pm by Edi »

Aesten

  • Guest
Re: [Rev 30253 and beyond] compile error
« Reply #5 on: May 31, 2010, 09:57:20 pm »
REV 30284 builds fine without debug. No warning about m_icon either. Won't have time to test tonight though, so making sure it didn't break something else will have to wait.