Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2006:
[Freeciv-Dev] (PR#18371) Compilation fails on FC5, gcc 4.1.1, freeciv-sv
Home

[Freeciv-Dev] (PR#18371) Compilation fails on FC5, gcc 4.1.1, freeciv-sv

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#18371) Compilation fails on FC5, gcc 4.1.1, freeciv-svn-Jul-06
From: "mslama@xxxxxxxx" <mslama@xxxxxxxx>
Date: Fri, 7 Jul 2006 05:33:22 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=18371 >

Hi,

I cannot compile last source snapshot. I run autogen.sh and make, here is error 
message:

ruleset.c: In function ‘lookup_move_type’:
ruleset.c:602: warning: implicit declaration of function ‘move_type_from_str’
ruleset.c:603: error: ‘MOVETYPE_LAST’ undeclared (first use in this function)
ruleset.c:603: error: (Each undeclared identifier is reported only once
ruleset.c:603: error: for each function it appears in.)
ruleset.c: In function ‘load_unit_names’:
ruleset.c:871: error: ‘struct packet_ruleset_control’ has no member named 
‘num_unit_classes’
ruleset.c:873: warning: implicit declaration of function ‘unit_class_iterate’
ruleset.c:873: error: ‘punitclass’ undeclared (first use in this function)
ruleset.c:873: error: expected ‘;’ before ‘{’ token
ruleset.c: In function ‘load_ruleset_units’:
ruleset.c:1053: error: ‘ut’ undeclared (first use in this function)
ruleset.c:1053: error: expected ‘;’ before ‘{’ token
ruleset.c:1287: warning: implicit declaration of function ‘get_unit_move_type’
ruleset.c: In function ‘load_ruleset_nations’:
ruleset.c:2100: warning: implicit declaration of function 
‘find_nation_group_by_name_orig’
ruleset.c:2100: warning: assignment makes pointer from integer without a cast
ruleset.c: In function ‘send_ruleset_unit_classes’:
ruleset.c:2683: error: storage size of ‘packet’ isn’t known
ruleset.c:2685: error: ‘c’ undeclared (first use in this function)
ruleset.c:2685: error: expected ‘;’ before ‘{’ token
ruleset.c:2683: warning: unused variable ‘packet’
ruleset.c: In function ‘send_ruleset_nations’:
ruleset.c:2999: error: storage size of ‘groups_packet’ isn’t known
ruleset.c:3004: warning: implicit declaration of function 
‘nation_groups_iterate’
ruleset.c:3004: error: ‘pgroup’ undeclared (first use in this function)
ruleset.c:3004: error: expected ‘;’ before ‘{’ token
ruleset.c:3007: warning: implicit declaration of function 
‘lsend_packet_ruleset_nation_groups’
ruleset.c:3038: error: ‘struct packet_ruleset_nation’ has no member named 
‘ngroups’
ruleset.c:3040: error: ‘struct packet_ruleset_nation’ has no member named 
‘groups’
ruleset.c:3040: error: ‘struct nation_group’ has no member named ‘index’
ruleset.c:2999: warning: unused variable ‘groups_packet’
make[3]: *** [ruleset.o] Error 1
make[3]: Leaving directory `/mnt/local/mslama/freeciv-svn-Jul-06/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/local/mslama/freeciv-svn-Jul-06/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/local/mslama/freeciv-svn-Jul-06'
make: *** [all] Error 2

I searched for MOVETYPE_LAST in all files and it is present only in ruleset.c.

Marek





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#18371) Compilation fails on FC5, gcc 4.1.1, freeciv-svn-Jul-06, mslama@xxxxxxxx <=