Closed
Bug 325720
Opened 19 years ago
Closed 8 years ago
"64-bit" firefox-1.5 build fails with "Undefined symbol" error
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: ganesh.mozilla, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
patch
|
wolfiR
:
review-
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier:
I am trying to build "64-bit" firefox locally, but the build fails with "Undefined symbol" error:
ld: 0711-317 ERROR: Undefined symbol: .pango_x_font_map_for_display
ld: 0711-317 ERROR: Undefined symbol: .pango_x_list_subfonts
ld: 0711-317 ERROR: Undefined symbol: .pango_x_font_subfont_xlfd
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[4]: *** [firefox-bin] Error 8
gmake[4]: Leaving directory `/mozilla/sb/ff15/mozilla/obj-opt/browser/app'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/mozilla/sb/ff15/mozilla/obj-opt/browser'
gmake[2]: *** [tier_99] Error 2
gmake[2]: Leaving directory `/mozilla/sb/ff15/mozilla/obj-opt'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/mozilla/sb/ff15/mozilla/obj-opt'
gmake: *** [build] Error 2
I can see the above symbols are defined in "libpangox-1.0.a" library which is not included in "MOZ_GTK2_LIBS" path.
"checking MOZ_GTK2_LIBS... -L/opt/freeware/lib -L/users3/olivap/sb/p64/export/power_510_32/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lg
dk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lfreetype -lz -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
checking for XpGetPrinterList in -lXp... yes"
I included "-lpangox-1.0" in "/mozilla/sb/ff15/mozilla/obj-opt/browser/app/Makefile" file to ensure the error got resolved by including "pangox-1.0" library. I can able to build successfully after including the pangox-1.0 library. But I feel this is not the correct place to make this changes.
So, adding "pangox-1.0" library in the correct configuration file (to include pangox-1.0 in the MOZ_GTK2_LIBS path) will resolve this Undefined Symbol error.
Can anyone please comment where extractly I can change to include the pangox-1.0 library ?
Reproducible: Always
Steps to Reproduce:
1. Start the 64-bit firefox build.
2.
3.
Comment 2•19 years ago
|
||
I assume this is a build with --enable-pango...
*** This bug has been marked as a duplicate of 323671 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
When I tried the build with --enable-pango, I came across with the following errors in my AIX box:
Error #1:
=========
ld: 0711-317 ERROR: Undefined symbol: .pango_xft_get_font_map
ld: 0711-317 ERROR: Undefined symbol: .FcPatternGetString
ld: 0711-317 ERROR: Undefined symbol: .FcCharSetCreate
ld: 0711-317 ERROR: Undefined symbol: .FcCharSetAddChar
ld: 0711-317 ERROR: Undefined symbol: .FcPatternAddString
ld: 0711-317 ERROR: Undefined symbol: .FcPatternAddWeak
ld: 0711-317 ERROR: Undefined symbol: .FcPatternAdd
ld: 0711-317 ERROR: Undefined symbol: .FcPatternGetInteger
ld: 0711-317 ERROR: Undefined symbol: .FcPatternCreate
ld: 0711-317 ERROR: Undefined symbol: .FcObjectSetBuild
ld: 0711-317 ERROR: Undefined symbol: .FcFontList
ld: 0711-317 ERROR: Undefined symbol: .FcPatternDestroy
ld: 0711-317 ERROR: Undefined symbol: .FcObjectSetDestroy
ld: 0711-317 ERROR: Undefined symbol: .FcFontSetDestroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[4]: *** [firefox-bin] Error 8
gmake[4]: Leaving directory `/sandbox/firefox/mozilla/obj-debug/browser/app'
----------------------------------------------------------------------
Error #2
========
ld: 0711-317 ERROR: Undefined symbol: .pango_fc_decoder_get_type
ld: 0711-317 ERROR: Undefined symbol: .pango_xft_get_font_map
ld: 0711-317 ERROR: Undefined symbol: .pango_fc_font_map_get_type
ld: 0711-317 ERROR: Undefined symbol: .pango_fc_font_map_add_decoder_find_func
ld: 0711-317 ERROR: Undefined symbol: .FcPatternGetString
ld: 0711-317 ERROR: Undefined symbol: .FcCharSetCreate
ld: 0711-317 ERROR: Undefined symbol: .FcCharSetAddChar
ld: 0711-317 ERROR: Undefined symbol: .pango_fc_font_lock_face
ld: 0711-317 ERROR: Undefined symbol: .pango_fc_font_unlock_face
ld: 0711-317 ERROR: Undefined symbol: .FcPatternAddString
ld: 0711-317 ERROR: Undefined symbol: .FcPatternAddWeak
ld: 0711-317 ERROR: Undefined symbol: .FcPatternAdd
ld: 0711-317 ERROR: Undefined symbol: .pango_fc_font_get_type
ld: 0711-317 ERROR: Undefined symbol: .FcPatternGetInteger
ld: 0711-317 ERROR: Undefined symbol: .pango_fc_font_has_char
ld: 0711-317 ERROR: Undefined symbol: .pango_fc_font_get_glyph
ld: 0711-317 ERROR: Undefined symbol: .FcPatternCreate
ld: 0711-317 ERROR: Undefined symbol: .FcObjectSetBuild
ld: 0711-317 ERROR: Undefined symbol: .FcFontList
ld: 0711-317 ERROR: Undefined symbol: .FcPatternDestroy
ld: 0711-317 ERROR: Undefined symbol: .FcObjectSetDestroy
ld: 0711-317 ERROR: Undefined symbol: .FcFontSetDestroy
ld: 0711-317 ERROR: Undefined symbol: .pango_x_font_map_for_display
ld: 0711-317 ERROR: Undefined symbol: .pango_x_list_subfonts
ld: 0711-317 ERROR: Undefined symbol: .pango_x_font_subfont_xlfd
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[4]: *** [TestGtkEmbed] Error 8
gmake[4]: Leaving directory `/sandbox/ff15/mozilla/obj-opt/embedding/browser/gtk/tests'
--------------------------------------------------------------------------
Error #3:
==========
"/sandbox/ff15/mozilla/gfx/src/gtk/nsFontMetricsPango.cpp", line 61.10: 1540-0836 (S) The #include file <freetype/tttables.h> is not found.
"/opt/freeware/include/pango-1.0/pango/pangofc-font.h", line 26.10: 1540-0834 (S) A header name is expected on the #include directive but "FT_FREETYPE_H" is found.
"/usr/include/ft2build.h", line 56.10: 1540-0836 (S) The #include file <freetype/config/ftheader.h> is not found.
gmake[3]: *** [nsFontMetricsPango.o] Error 1
gmake[3]: Leaving directory `/sandbox/ff15/mozilla/obj-opt/gfx/src/gtk'
------------------------------------------------------------------------------
Error #4:
==========
ld: 0711-317 ERROR: Undefined symbol: .NS_FFRECountHyphens(nsACString_internal&)
ld: 0711-317 ERROR: Undefined symbol: .NS_FindFCLangGroup(nsACString_internal&)
ld: 0711-317 ERROR: Undefined symbol: .NS_AddLangGroup(_FcPattern*,nsIAtom*)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[4]: *** [firefox-bin] Error 8
gmake[4]: Leaving directory `/sandbox/ff15/mozilla/obj-opt/browser/app'
-------------------------------------------------------------------------------
Status: VERIFIED → UNCONFIRMED
Resolution: DUPLICATE → ---
Attachment #215127 -
Flags: review+
Comment 5•19 years ago
|
||
note bug 323671, which itself is probably a duplicate of bug 305185
Comment 6•19 years ago
|
||
wait, why did you reopen this? the duplicate marking still looks right to me.
Updated•19 years ago
|
Attachment #215127 -
Flags: review+ → review?(mozilla)
Comment 7•19 years ago
|
||
I also think that the bug will be fixed and should be fixed with the patch in 305185. Seems that I should drive this because it fixes cairo builds along with pango stuff. Ganesh would you please give the patch in 305185 a try?
Hi, I tried using the patch in 305185 but still I got the same errors in my AIX machine. And I see XFT is not supported by AIX. I can able to resolve the issues with the patch I submitted. Can anyone comment on this ? Thanks.
Comment 9•19 years ago
|
||
Comment on attachment 215127 [details] [diff] [review]
Patch for resolving --enable-pango problem in AIX (Firefox 1.5)
This patch overlaps with the one mentioned above. I think we have to get the other one first in and then fix the rest for AIX.
Attachment #215127 -
Flags: review?(mozilla) → review-
Updated•19 years ago
|
Comment 10•15 years ago
|
||
This is a mass change. Every comment has "assigned-to-new" in it.
I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
Comment 11•8 years ago
|
||
Mass bug cleanup for Core:Build Config.
If you feel this bug has been closed in error, please re-open with new details.
Status: NEW → RESOLVED
Closed: 19 years ago → 8 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•