libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -o commandline.o -c commandline.cpp directory.cpp: In member function ‘virtual bool ttfdirectory::select(const char*) const’: directory.cpp:52: error: ‘strlen’ was not declared in this scope make: *** [directory.o] Error 1 make: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c commandline.cpp -fPIC -DPIC -o .libs/commandline.o commandline.cpp:3:1: warning: "_GNU_SOURCE" redefined <command-line>: warning: this is the location of the previous definition commandline.cpp:3:1: warning: "_GNU_SOURCE" redefined <command-line>:1:1: warning: this is the location of the previous definition i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c commandline.cpp -o commandline.o >/dev/null 2>&1 Reproducible: Always
Created attachment 146764 [details, diff] ttmkfdir-3.0.9-gcc43.patch This solves the problem. Snatched from: http://cvs.fedoraproject.org/viewcvs/*checkout*/devel/ttmkfdir/ttmkfdir-3.0.9-bug434301.patch?rev=1.1
applied a patch to include cstring. i'm not sure why stdlib.h is included.