[tlbuild] Building r26007 on FreeBSD: pmx 'off_t' undeclared
Nikola Lečić
nikola.lecic at anthesphoria.net
Sat Apr 21 18:40:21 CEST 2012
(The same system.) On FreeBSD, we need
#include "sys/types.h"
in source/utils/pmx/pmx-2.6.17/libf2c/fio.h. Otherwise, the build fails with
gcc -DPACKAGE_NAME=\"pmx\ for\ TeX\ Live\" -DPACKAGE_TARNAME=\"pmx-for-tex-live\" -DPACKAGE_VERSION=\"2.6.17\" -DPACKAGE_STRING=\"pmx\ for\ TeX\ Live\ 2.6.17\" -DPACKAGE_BUGREPORT=\"tex-k at tug.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pmx-for-tex-live\" -DVERSION=\"2.6.17\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG_LONG=8 -I. -I/root/TeXLive-Devel/trunk/Build/source/utils/pmx -I/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c -DNON_UNIX_STDIO -g -O2 -MT backspac.o -MD -MP -MF .deps/backspac.Tpo -c -o backspac.o `test -f 'pmx-2.6.17/libf2c/backspac.c' || echo '/root/TeXLive-Devel/trunk/Build/source/utils/pmx/'`pmx-2.6.17/libf2c/backspac.c
In file included from /root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:2:
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/fio.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'f__cursor'
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/fio.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'f__hiwater'
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c: In function 'f_back':
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:12: error: 'off_t' undeclared (first use in this function)
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:12: error: (Each undeclared identifier is reported only once
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:12: error: for each function it appears in.)
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:12: error: expected ';' before 'v'
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:36: error: 'x' undeclared (first use in this function)
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:37: error: 'y' undeclared (first use in this function)
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:46: error: expected ')' before 'sizeof'
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:46: error: too few arguments to function 'fseeko'
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:48: error: expected ')' before 'n'
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:48: error: too few arguments to function 'fseeko'
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:51: error: 'w' undeclared (first use in this function)
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:52: error: 'z' undeclared (first use in this function)
/root/TeXLive-Devel/trunk/Build/source/utils/pmx/pmx-2.6.17/libf2c/backspac.c:60: error: 'v' undeclared (first use in this function)
gmake[3]: *** [backspac.o] Error 1
gmake[3]: Leaving directory `/root/TL-Work-26077/utils/pmx'
--
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://tug.org/pipermail/tlbuild/attachments/20120421/fa5fbaf4/attachment.bin>
More information about the tlbuild
mailing list