Closed Bug 97264 Opened 23 years ago Closed 23 years ago

[xlib] libgfx_xlib.so doesn't link when xprint is enabled

Categories

(Core Graveyard :: Printing: Xprint, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: cls, Assigned: roland.mainz)

References

Details

Attachments

(1 file)

nsFontMetricsXlib.o: In function `nsFontXlib::LoadFont(void)': nsFontMetricsXlib.o(.text+0x2898): undefined reference to `XpGetContext' nsFontMetricsXlib.o: In function `GetFontNames(char const *, nsFontNodeArrayXlib *)': nsFontMetricsXlib.o(.text+0x4c27): undefined reference to `XpGetContext' collect2: ld returned 1 exit status
Swapping QA <--> Owner
Assignee: katakai → Roland.Mainz
QA Contact: Roland.Mainz → katakai
Accepting bug. Fix follows in a 1-2 hours, my machine is still building...
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.4
cls: What's the symbol to |ifdef| stuff in Makefile.in when StaticBuild is active ?
Why? This bug has nothing to do with the static build. BUILD_STATIC_LIBS. As you pointed out on irc, adding EXTRA_DSO_LDOPTS += $(MOZ_XPRINT_LDFLAGS) inside the MOZ_ENABLE_XPRINT ifdef fixes the problem.
cls: I thougth it may be usefull to kill the |_IMPL_NS_XPRINT| thingies which are (AFAIK) only required for StaticBuild and link Xprint module against nsDrawingSurfaceXlib.o (which wastes ~8k on SPARC platforms) if the build is a StaticBuild ... Anyway ... I'll file the simple patch now and kill |_IMPL_NS_XPRINT| in a later bug, OK ?
Filed patch (one fix, one whitespace-->tab change). Requesting r= and a= for {0.9.4,trunk}
cls: I do not understand one detail: Why does it work on my Solaris/WS+gcc and SuSE_Linux/gcc builds and fails on your Linux box... where's the difference ?
r=cls
Requesting a= for {0.9.4,trunk}
Keywords: approval, patch
a=blizzard on behalf of drivers for 0.9.4
cls: Wanna check this "in", please ?
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Blocks: 79119
Summary: libgfx_xlib.so doesn't link when xprint is enabled → [xlib] libgfx_xlib.so doesn't link when xprint is enabled
I'm now verifying the Xprt bugs, however, I'm not sure how to verify this bug. Roland, could you give the exact instruction how to verify this problem, how to build in static?
katakai wrote: > could you give the exact instruction how to verify this problem, Well... if you build with Xlib toolkit and the build doesn't stop with the error listed in the initial bug report then it works... :) Marking VERIFIED myself... :)
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: