Closed Bug 195817 Opened 21 years ago Closed 20 years ago

gtk2 build on AIX fails when Xprint not build

Categories

(Core Graveyard :: GFX: Gtk, defect)

Other
AIX
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mlew, Assigned: blizzard)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; AIX 00FFFFFF4C00; en-US; rv:1.3a) Gecko/20021218
Build Identifier: Mozilla/5.0 (X11; U; AIX 000D214D4C00; cs-CZ; rv:1.4a) Gecko/20030228

When building (grabbed the source from the trunk on 2/28/03) the mozilla code,
the following errors are produced in the compilation during the build of the
directory mozilla/gfx/src/gtk:

ld: 0711-317 ERROR: Undefined symbol: .XGetGCValues
ld: 0711-317 ERROR: Undefined symbol: .XGetImage
ld: 0711-317 ERROR: Undefined symbol: .XGetGeometry
ld: 0711-317 ERROR: Undefined symbol: .XCreateImage
ld: 0711-317 ERROR: Undefined symbol: .XGetSubImage
ld: 0711-317 ERROR: Undefined symbol: .XPutImage
ld: 0711-317 ERROR: Undefined symbol: .XTextWidth
ld: 0711-317 ERROR: Undefined symbol: .XTextWidth16
ld: 0711-317 ERROR: Undefined symbol: .XTextExtents
ld: 0711-317 ERROR: Undefined symbol: .XTextExtents16
ld: 0711-317 ERROR: Undefined symbol: .XFillRectangle
ld: 0711-317 ERROR: Undefined symbol: .XDrawString
ld: 0711-317 ERROR: Undefined symbol: .XDrawString16
ld: 0711-317 ERROR: Undefined symbol: .XFreeGC
ld: 0711-317 ERROR: Undefined symbol: .XGetFontProperty
ld: 0711-317 ERROR: Undefined symbol: .XCreateGC
ld: 0711-317 ERROR: Undefined symbol: .XSetForeground
ld: 0711-317 ERROR: Undefined symbol: .XSetFont
ld: 0711-317 ERROR: Undefined symbol: .XCreatePixmap
ld: 0711-317 ERROR: Undefined symbol: .XFreePixmap
ld: 0711-317 ERROR: Undefined symbol: .XmbDrawString
ld: 0711-317 ERROR: Undefined symbol: .XListFonts
ld: 0711-317 ERROR: Undefined symbol: .XDisplayString
ld: 0711-317 ERROR: Undefined symbol: .XFreeFontNames
ld: 0711-317 ERROR: Undefined symbol: .XChangeGC
ld: 0711-317 ERROR: Undefined symbol: .XSetDashes


Adding a -lX11 to the EXTRA_DSO_LDOPTS in the ifdef to enable GTK2 fixes the
problem.

Reproducible: Always

Steps to Reproduce:
1. extract source from cvs
2. build
3.

Actual Results:  
Build stops due to undefined symbols. 

Expected Results:  
complete the build.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: gtk2
This looks similar to bug 188156 ("gtk2 build is broken on Solaris
(@embedding\browser\gtk\tests)") ...
This occurs when building the gtk2 port of Mozilla with xprint disabled. When
xprint is enabled, it includes the necessary -lX11 library with the
MOZ_XPRINT_LDFLAGS variable.
*** Bug 237524 has been marked as a duplicate of this bug. ***
bug 146500's patch would probably fix this
Depends on: 146500
Summary: gtk2 build on AIX fails → gtk2 build on AIX fails with xprint disabled
Summary: gtk2 build on AIX fails with xprint disabled → gtk2 build on AIX fails when Xprint not build
I can confirm that this bug is now fixed with the checkin for Bug 146500.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.