[tex-k] Running (g)make check on FreeBSD: lib/t1lib, utils/tpic2pdftex

Nikola Lečić nikola.lecic at anthesphoria.net
Fri Dec 11 23:01:52 CET 2009


Hi Peter,

On Fri, 11 Dec 2009 14:38:08 +0100 (CET)
Peter Breitenlohner <peb at mppmu.mpg.de> wrote:

[...] 
> The need for libm seems to be *BSD-specific (or maybe it is
> Linux-specific not to require libm for sqrt, floor, and similar math
> functions).  Please tell me which functions were unresolved (probably
> sqrt, floor, ...), such that I can add a suitable test in configure.
> I wouldn't mind unconditionally adding '-lm', except that I seem to
> remember that some systems neither need nor have that library.

This is how it fails:

[root at mordor8stable64]# gmake check
gmake  type1afm \
	  type1afm.test
gmake[1]: Entering directory `/a/TL-Work-16326/libs/t1lib'
gcc -DHAVE_CONFIG_H -I. -I/a/TeXLive-Devel/trunk/Build/source/libs/t1lib -I./lib/t1lib -Ilib -I/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2 -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long -DT1LIB_IDENT=\""5.1.2"\" -DGLOBAL_CONFIG_DIR=\"/a/TL-Inst-16326/t1lib\"   -g -O2 -MT type1afm.o -MD -MP -MF .deps/type1afm.Tpo -c -o type1afm.o `test -f 't1lib-5.1.2/type1afm/type1afm.c' || echo '/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/'`t1lib-5.1.2/type1afm/type1afm.c
mv -f .deps/type1afm.Tpo .deps/type1afm.Po
gcc  -g -O2   -o type1afm type1afm.o libt1.a 
libt1.a(t1finfo.o)(.text+0x892): In function `T1_GetFontBBox':
/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/t1lib/t1finfo.c:1013: undefined reference to `ceil'
libt1.a(t1finfo.o)(.text+0x8e9):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/t1lib/t1finfo.c:1017: undefined reference to `ceil'
libt1.a(t1finfo.o)(.text+0x90f):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/t1lib/t1finfo.c:1021: undefined reference to `ceil'
libt1.a(t1finfo.o)(.text+0x934):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/t1lib/t1finfo.c:1025: undefined reference to `ceil'
libt1.a(t1finfo.o)(.text+0x946):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/t1lib/t1finfo.c:1013: undefined reference to `floor'
libt1.a(t1finfo.o)(.text+0x95a):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/t1lib/t1finfo.c:1017: undefined reference to `floor'
libt1.a(t1finfo.o)(.text+0x96d):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/t1lib/t1finfo.c:1021: undefined reference to `floor'
libt1.a(t1finfo.o)(.text+0x97f):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/t1lib/t1finfo.c:1025: undefined reference to `floor'
libt1.a(type1.o)(.text+0x39df): In function `ComputeStem':
/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:785: undefined reference to `floor'
libt1.a(type1.o)(.text+0x3a69):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:948: more undefined references to `floor' follow
libt1.a(type1.o)(.text+0x54db): In function `Escape':
/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2265: undefined reference to `ceil'
libt1.a(type1.o)(.text+0x54fc):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2265: undefined reference to `floor'
libt1.a(type1.o)(.text+0x5659):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2191: undefined reference to `floor'
libt1.a(type1.o)(.text+0x58b1):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2204: undefined reference to `floor'
libt1.a(type1.o)(.text+0x591a):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2206: undefined reference to `floor'
libt1.a(type1.o)(.text+0x594b):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2215: undefined reference to `ceil'
libt1.a(type1.o)(.text+0x596c):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2215: undefined reference to `floor'
libt1.a(type1.o)(.text+0x5abc):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2204: undefined reference to `floor'
libt1.a(type1.o)(.text+0x5bad):/a/TeXLive-Devel/trunk/Build/source/libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2254: undefined reference to `floor'
gmake[1]: *** [type1afm] Error 1
gmake[1]: Leaving directory `/a/TL-Work-16326/libs/t1lib'
gmake: *** [check-am] Error 2
[root at mordor8stable64]# 

Thank you,
-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-k/attachments/20091211/852249fb/attachment.bin>


More information about the tex-k mailing list