libfontconfig.so: undefined reference
I am building GTK with DriectFB for powerpc platform. my host PC is running under fedora
with the help of http://directfb.org/wiki/index.php/P...bedded_Systems i could able to compile and install the packages according to the above link. but while compiling pango i am getting the error Code:
powerpc-linux-gnu-gcc -g -O2 -Wall -o harfbuzz-dump harfbuzz-dump.o harfbuzz-dump-main.o /opt/gtkdfb/usr/local/lib/libfreetype.so /opt/gtkdfb/usr/local/lib/libfontconfig.so ./.libs/libharfbuzz-1.a please share your ideas. |
fedora 18 uses gcc 4.7
and 4.7 is WAY more "strict" in codding standards than say gcc 4.1 it is a very common issue that software will not ( YET ) build on a current fedora 18 because of the very VERY newest of the new version gcc one very often needs to hack software to ( even if it is only 6 mo. old ) to get it into compliance with the very new gcc --- this is only a guess so...---- you will need to add "-lfontconfig"to the linker line that is easier said than done it might be buried deep in the "configure" or one of the "Makefile's" if i had to guess in the Makefile in "/home/power/arief/pango-1.20.0/pango/opentype" however pango IS in the fedora 18 repos Code:
su - |
Thank you very very much i added "-lfontconfig" in CFLAGS linker line in /pango-1.20.0/pango/opentype/Makefile.
Now make moved to next step with some other error. Got right answer for current thread - solved, Thanks John |
All times are GMT -5. The time now is 09:44 AM. |