[tex-live] Build fails for FreeBSD 4.10

Karl Berry karl at freefriends.org
Thu Sep 30 19:24:54 CEST 2004


  t1asm.c:67: redefinition of `uint16_t'/usr/include/inttypes.h:17: `uint16_t'

Manfred, I think the easiest way for you to get past this error will be
to simply comment out the typedef in t1asm.c.  Looks like t1disasm.c has
the same typedef, maybe other places too.

Eddie, for a long-term fix, you could either configure a check for that
type and avoid declaring it if the system does (Manfred is compiling on
FreeBSD), or, more simply, use another name for your unsigned short type
that systems will not define, like my_uint16.  <anything>_t is
technically reserved by the !@#$ standards.

k



More information about the tex-live mailing list