[Freeciv] 1.9.0 compilation breaks on meta.c
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Has anyone else seen this?
./configure
...
gmake
...
meta.c: In function `send_to_metaserver':
meta.c:103: warning: implicit declaration of function `sendto'
meta.c:104: sizeof applied to an incomplete type
meta.c: In function `server_open_udp':
meta.c:146: warning: implicit declaration of function `inet_addr'
meta.c:148: warning: implicit declaration of function `gethostbyaddr'
meta.c:148: `AF_INET' undeclared (first use in this function)
meta.c:148: (Each undeclared identifier is reported only once
meta.c:148: for each function it appears in.)
meta.c:148: warning: assignment makes pointer from integer without a
cast
meta.c:149: warning: implicit declaration of function `gethostbyname'
meta.c:149: warning: assignment makes pointer from integer without a
cast
meta.c:164: sizeof applied to an incomplete type
meta.c:164: sizeof applied to an incomplete type
meta.c:165: invalid use of undefined type `struct sockaddr_in'
meta.c:166: invalid use of undefined type `struct sockaddr_in'
meta.c:166: warning: implicit declaration of function `htons'
meta.c:167: invalid use of undefined type `struct sockaddr_in'
meta.c:167: dereferencing pointer to incomplete type
meta.c:167: dereferencing pointer to incomplete type
meta.c:168: warning: implicit declaration of function `socket'
meta.c:168: `SOCK_DGRAM' undeclared (first use in this function)
meta.c:184: sizeof applied to an incomplete type
meta.c:184: sizeof applied to an incomplete type
meta.c:185: invalid use of undefined type `struct sockaddr_in'
meta.c:186: invalid use of undefined type `struct sockaddr_in'
meta.c:186: warning: implicit declaration of function `htonl'
meta.c:186: `INADDR_ANY' undeclared (first use in this function)
meta.c:187: invalid use of undefined type `struct sockaddr_in'
meta.c:188: warning: implicit declaration of function `bind'
meta.c:188: sizeof applied to an incomplete type
meta.c: At top level:
meta.c:78: storage size of `cli_addr' isn't known
meta.c:78: storage size of `serv_addr' isn't known
gmake[2]: *** [meta.o] Error 1
gmake[2]: Leaving directory
`/home/__upgrades/freeciv/freeciv-1.9.0/server'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/__upgrades/freeciv/freeciv-1.9.0'
gmake: *** [all-recursive-am] Error 2
Any hints at a fix will be appreciated.
Bobby Bryant
Austin, Texas
- [Freeciv] 1.9.0 compilation breaks on meta.c,
Bobby D. Bryant <=
|
|