URL:
<http://gna.org/bugs/?18468>
Summary: 2.3.0 does not compile on OpenBSD 4.9
Project: Freeciv
Submitted by: akfaew
Submitted on: Mon Aug 8 15:31:41 2011
Category: general
Severity: 4 - Important
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: 2.3.0
Discussion Lock: Any
Operating System: *BSD
Planned Release:
_______________________________________________________
Details:
configured with:
./autogen.sh --disable-nls --disable-client --enable-debug=yes
built with:
gmake
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../utility -I./aicore
-I/usr/local/include -DLOCALEDIR=\"/usr/local/share/locale\"
-DBINDIR=\"/usr/local/bin\"
"-DDEFAULT_DATA_PATH=\".:data:~/.freeciv/2.3:/usr/local/share/freeciv\""
-DDEFAULT_SAVES_PATH=\"\"
"-DDEFAULT_SCENARIO_PATH=\".:data/scenario:~/.freeciv/2.3/scenarios:~/.freeciv/scenarios:/usr/local/share/freeciv/scenario\""
-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Werror -g -O2 -MT dataio.lo -MD -MP -MF .deps/dataio.Tpo -c dataio.c -o
dataio.o
cc1: warnings being treated as errors
In file included from dataio.c:33:
/usr//include/arpa/inet.h:74: warning: 'struct in_addr' declared inside
parameter list
/usr//include/arpa/inet.h:74: warning: its scope is only this definition or
declaration, which is probably not what you want
/usr//include/arpa/inet.h:75: warning: 'struct in_addr' declared inside
parameter list
gmake[4]: *** [dataio.lo] Error 1
gmake[4]: Leaving directory `/home/longturn/src/freeciv-2.3.0/common'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/longturn/src/freeciv-2.3.0/common'
gmake[2]: *** [all] Error 2
rm packets_generate
gmake[2]: Leaving directory `/home/longturn/src/freeciv-2.3.0/common'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/longturn/src/freeciv-2.3.0'
gmake: *** [all] Error 2
Fix attached.
Supposing you commit the fix, how do I switch to the updated source tree?
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon Aug 8 15:31:41 2011 Name: freeciv-2.3.0-openbsd-gmake Size: 380B
By: akfaew
<http://gna.org/bugs/download.php?file_id=13777>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18468>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev