xorg-server-1.2.0 build error

Dan Nicholson dbn.lists at gmail.com
Thu Oct 16 16:10:54 PDT 2008


On Thu, Oct 16, 2008 at 2:16 PM, Nicolas FRANCOIS
<nicolas.francois at free.fr> wrote:
> Hi.
>
> Compiling Xorg-7.2 from the last SVN book (svn-20081013), I encountered
> this error :
>
> ...
> gcc -DHAVE_XORG_CONFIG_H -DXF86PM -Wall -Wpointer-arith
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
> -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I../../include
> -I../../include -I../../Xext -I../../composite -I../../damageext
> -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow
> -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -o
> Xorg -rdynamic xorg.o  ../../dix/.libs/libdix.a common/libinit.a
> loader/libloader.a ./.libs/libosandcommon.a rac/librac.a
> parser/libxf86config.a
> dixmods/.libs/libdixmods.a ../../composite/.libs/libcomposite.a ../../mi/.libs/libmi.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXextbuiltin.a ../../GL/glx/.libs/libglx.a ../../GL/mesa/.libs/libGLcore.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/cw/.libs/libcw.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../dix/.libs/libxpstubs.a ../../os/.libs/libos.a
> -ldl /usr/lib/libXfont.so /usr/lib/libfreetype.so /usr/lib/libXau.so /usr/lib/libfontenc.so
> -lz /usr/lib/libXdmcp.so -lm dixmods/.libs/libxorgxkb.a
> -lrt /usr/lib/libXfont.so: undefined reference to `ft_isdigit' collect2:
> ld returned 1 exit status make[4]: *** [Xorg] Erreur 1 make[4]: quittant
> le répertoire /sources/xc/xorg-server-1.2.0/hw/xfree86

I checked in a fix for this a couple months ago.

http://wiki.linuxfromscratch.org/blfs/changeset/7432

Basically, ft_isdigit is a macro from freetype that got removed. So,
eventually it manifests as a symbol error. We just replace it with
isdigit, which is what the macro was before anyway.

--
Dan


More information about the blfs-support mailing list