I've got a problem building firefox on a new system. On my normal development system it builds fine, but using the same procedures on a brand new build gives:

/usr/src/firefox/firefox/mozilla-release/gfx/skia/trunk/src/ports/SkFontHost_FreeType.cpp:560: undefined reference to `FT_Get_X11_Font_Format'
collect2: error: ld returned 1 exit status
/usr/src/firefox/firefox/mozilla-release/config/rules.mk:812: recipe for target 'libxul.so' failed

I tried an earlier version of FF (39.0) and got the same error.

I checked the freetype library and got:

$ nm libfreetype.so |grep FT_Get_X11_Font_Format
000000000001e150 T FT_Get_X11_Font_Format
000000000001e150 t FT_Get_X11_Font_Format.localalias.0

So the reference is there. One difference is that the development system (the one that works) has libfreetype.so.6.12.0 and the new system has libfreetype.so.6.12.1

There is a reference in google that a change needs to be made to mozilla/config/system-headers. We have that in seamonkey, but checking FF, the ftfntfmt.h reference is already present.

I tried copying libfreetype.so.6.12.0 to the new system and resetting the library symlinks, but the same error came up.

I then tried removing all the .la files.  That didn't help.

I also tried seamonkey and got the same error.

Does anyone have an idea of what to try next?

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to