Andrea Campi <[EMAIL PROTECTED]> writes:
> There's a problem with coldsync port on -current which has to do with
> endian macros:
> cc -Wall -ansi -pedantic -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -I. -I./.. -
> I./../include -I/usr/local/include -c PConnection_net.c
> In file included from /usr/include/arpa/nameser.h:446,
> from PConnection_net.c:11:
> /usr/include/arpa/nameser_compat.h:54: syntax error before string constant
> /usr/include/arpa/nameser_compat.h:82: duplicate member `rd'
> /usr/include/arpa/nameser_compat.h:83: duplicate member `tc'
> /usr/include/arpa/nameser_compat.h:84: duplicate member `aa'
> /usr/include/arpa/nameser_compat.h:85: duplicate member `opcode'
> /usr/include/arpa/nameser_compat.h:86: duplicate member `qr'
> /usr/include/arpa/nameser_compat.h:88: duplicate member `rcode'
> /usr/include/arpa/nameser_compat.h:89: duplicate member `cd'
> /usr/include/arpa/nameser_compat.h:90: duplicate member `ad'
> /usr/include/arpa/nameser_compat.h:91: duplicate member `unused'
> /usr/include/arpa/nameser_compat.h:92: duplicate member `ra'
> In file included from PConnection_net.c:12:
> /usr/include/resolv.h:130: field `in6a' has incomplete type
> *** Error code 1
> Anybody cares to have a look?
Hmm, the application thinks it conforms to POSIX, but uses headers not
defined in POSIX. Removing:
# define _POSIX_C_SOURCE 2
#endif /* _POSIX_C_SOURCE */
...from config.h will probably fix it. I may just change all the
headers over to _BYTE_ORDER and friends, so that even confussed
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message