So i finally got around to testing my 2.3.0 package on Leopard and i 
run into this problem:

> Making all in ftwl
> make[4]: Nothing to be done for `all'.
>   CC     astring.lo
> /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 astring.lo astring.c
>   CC     bitvector.lo
> /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 bitvector.lo bitvector.c
>   CC     capability.lo
> /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 capability.lo capability.c
>   CC     distribute.lo
> /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 distribute.lo distribute.c
>   CC     fc_utf8.lo
> /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 fc_utf8.lo fc_utf8.c
>   CC     fciconv.lo
> /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 fciconv.lo fciconv.c
>   CC     fcintl.lo
> /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 fcintl.lo fcintl.c
>   CC     genhash.lo
> /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 genhash.lo genhash.c
>   CC     genlist.lo
> /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 genlist.lo genlist.c
>   CC     inputfile.lo
> /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 inputfile.lo inputfile.c
>   CC     ioz.lo
> /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 ioz.lo ioz.c
>   CC     iterator.lo
> /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 iterator.lo iterator.c
>   CC     log.lo
> /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 log.lo log.c
>   CC     netintf.lo
> /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

        Apparently this is new with IPV6, which explains why it hasn't been a 
problem until now.  A quick web search turns up this possible solution:

> #ifndef AI_NUMERICSERV
> #define AI_NUMERICSERV 0
> #endif

        I plan on testing this change tomorrow and possibly offering a patch, 
but i wanted to see if i wasn't the only one to run into this and if maybe this 
problem has already been dealt with in a way that wasn't apparent in my search 
of the tracker.

Sent from my MacBookPro

Don't be hesitant.  Digital electronics can smell fear.
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to