I've run into some problems building OpenAFS 1.4.2 under FC5. Recent RedHat versions of flex have added a #define _POSIX_SOURCE 1 to the preamble that is included at the top
of lex.yy.c.

This prevents sys/types.h from defining u_short which breaks the included afsutil_prototypes.h. A work around is to explicitly define _BSD_SOURCE in the Makefile
line which builds lex.yy.c.

Can anyone think of a better fix than this? I've reported the change in behaviour to
RedHat - bug #199320

Cheers,

Simon.

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to