Announcement

Collapse
No announcement yet.

Compiling error... AGAIN!!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Compiling error... AGAIN!!!

    Well... after something bad it always comes something worse(or whatever): another problem(bigger!) at compiling Freeciv with MINGW:


    In function `game_init':
    [...]common/game.c:298: undefined reference to `cm_init'
    ../common/libcivcommon.a(game.o)(.text+0x6ed): In function `game_free':
    [...]/common/game.c:333: undefined reference to `cm_free'
    agents/libagents.a(cma_fec.o)(.text+0x185): In function `cmafec_get_fe_parameter':
    [...]/client/agents/cma_fec.c:118: undefined reference to `cm_copy_parameter'
    agents/libagents.a(cma_fec.o)(.text+0x23b): In function `cmafec_preset_add':
    [...]/client/agents/cma_fec.c:154: undefined reference to `cm_copy_parameter'
    agents/libagents.a(cma_fec.o)(.text+0x3f9): In function `cmafec_preset_get_index_of_parameter':
    [...]/client/agents/cma_fec.c:213: undefined reference to `cm_are_parameter_equal'
    agents/libagents.a(cma_core.o)(.text+0x627): In function `print_result':
    [...]/client/agents/cma_core.c:234: undefined reference to `cm_get_stat_name'
    agents/libagents.a(cma_core.o)(.text+0xc2a): In function `apply_result_on_server':
    [...]/client/agents/cma_core.c:458: undefined reference to `cm_clear_cache'
    agents/libagents.a(cma_core.o)(.text+0x1117): In function `handle_city':
    [...]/client/agents/cma_core.c:537: undefined reference to `cm_query_result'
    agents/libagents.a(cma_core.o)(.text+0x126e): In function `city_changed':
    [...]/client/agents/cma_core.c:595: undefined reference to `cm_clear_cache'


    If anyone knows how to make things go please let me know!
    P. Bogdan

  • #2
    Looks like the CMA code (client/agents/) isn't getting linked properly with the CM code (common/aicore/). No idea why this would be so.

    Comment


    • #3
      Ok, but any idea on what to do in order to fix things out?
      Or at least, did it work well with other compiling programs?(other Mingw)
      P. Bogdan

      Comment


      • #4
        Send an email about this to the freeciv-dev list. The CM developer might know what is wrong, and he doesn't read this forum.

        Actually, you what you really should do is to submit it as a bug through RT (rt @ freeciv . org)

        Comment


        • #5
          Ok, I've sent an e-mail to rt@freeciv.org
          P. Bogdan

          Comment

          Working...
          X