[Fontconfig] Build Issue

Jeff Prickett prickett at apache.org
Sat Apr 24 21:01:50 EST 2004

I am attempting to build fontconfig from source.

Configure works fine, but I get the following error when I type make

gcc -g -O2 -o .libs/fc-cache fc-cache.o  ../src/.libs/libfontconfig.so
../src/.libs/libfontconfig.so: undefined reference to `MAX'
../src/.libs/libfontconfig.so: undefined reference to `ABS'
../src/.libs/libfontconfig.so: undefined reference to `MIN'
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/prickett/build/fontconfig-2.2.94'
make: *** [all] Error 2

I am running Suse 8.1 and the xdevel rpm is installed, which from what I
can tell is where MAX and MIN are defined. I dont know where ABS is

Any help is greatly appreciated

Thanks Jeff Prickett

More information about the Fontconfig mailing list