URL:
  <http://gna.org/bugs/?18871>

                 Summary: Compile fails when AI_NUMERICSERV is not defined
                 Project: Freeciv
            Submitted by: doctorjlowe
            Submitted on: Thu 27 Oct 2011 08:59:53 AM PDT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.3.0
         Discussion Lock: Any
        Operating System: Mac OS
         Planned Release: 

    _______________________________________________________

Details:

2.3.0 does not compile on OSX 10.5, a.k.a Leopard.  The error is as follows:

/bin/sh ../libtool --preserve-dup-deps --silent --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I..   -I/sw/include -DLOCALEDIR="\"/sw/share/locale\""
-DBINDIR="\"/sw/bin\""
-DDEFAULT_DATA_PATH="\".:data:~/.freeciv/2.3:/sw/share/freeciv\""
-DDEFAULT_SAVES_PATH="\"\""
-DDEFAULT_SCENARIO_PATH="\".:data/scenario:~/.freeciv/2.3/scenarios:~/.freeciv/scenarios:/sw/share/freeciv/scenario\""
 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Werror -g -O2 -c -o netintf.lo netintf.c
netintf.c: In function 'net_lookup_service':
netintf.c:334: error: 'AI_NUMERICSERV' undeclared (first use in this
function)
netintf.c:334: error: (Each undeclared identifier is reported only once
netintf.c:334: error: for each function it appears in.)
make[4]: *** [netintf.lo] Error 1

As a workaround, i have created a patch that conditionally defines
AI_NUMERICSERV to zero.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 27 Oct 2011 08:59:53 AM PDT  Name: AI_NUMERICSERV.patch  Size: 482B
  By: doctorjlowe

<http://gna.org/bugs/download.php?file_id=14292>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18871>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to