Closed
Bug 70473
Opened 24 years ago
Closed 24 years ago
xpcom registration of libgfxxprt.so fails
Categories
(Core Graveyard :: Printing: Xprint, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: roland.mainz, Assigned: roland.mainz)
Details
Building a Mozilla with ./configure --enable-toolkit=xlib --with-xprint breaks
libgfxxprt.so (module cannot be loaded causing weired crashes). After some
hunting it seems that xpcom registration breaks:
-- snip --
% export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
% ./regxpcom
[snip]
**************************************************
nsNativeComponentLoader:
SelfRegisterDll(/bigtmp/moz_2001-02-26-08-Mtrunk/dist/bin/components/libgfxxprt.so)
Load FAILED with error: ld.so.1: ./regxpcom: fatal: relocation error: file
/bigtmp/moz_2001-02-26-08-Mtrunk/dist/bin/components/libgfxxprt.so: symbol
__1cRDeviceContextImplEInit6Mpv_I_: referenced symbol not found
**************************************************
[snip]
-- snip --
Seems libgfxxprt.so misses __1cRDeviceContextImplEInit6Mpv_I_ == unsigned
DeviceContextImpl::Init(void*)
CC: blizzard the Xlib-toolkit guru.
Assignee | ||
Comment 1•24 years ago
|
||
Looking at nsXPrintContext.h and nsXPrintContext.cpp - and comparing it with
nsDeviceContextPS.cpp - it looks like Xprint is totally out-of-sync with other
print stuff...
Question to dcone@netscape.com: Can you have a quick look at the Xprint stuff
(/gfx/src/xprint/) and tell me what exactly has been changed in the last time,
please ?
Is this only the missing DeviceContextImpl implementation in nsXPrintContext -
or does it require more work ?
Last-but-not-least: Requesting permission from katakai@japan.sun.com to overtake
the _whole_ Xprint dir (/gfx/src/xprint/) and fix this myself...
Comment 2•24 years ago
|
||
I will look.. but I have never even looked at that code.
Assignee | ||
Comment 3•24 years ago
|
||
Thanks !!
Do you need an explanation how Xprint works ?
Comment 4•24 years ago
|
||
If gtk is used for toolkit, did you see the problem?
Anyway, --enable-toolkit=xlib is usable now???
Assignee | ||
Comment 5•24 years ago
|
||
> If gtk is used for toolkit, did you see the problem?
There is bug 68441 which looks like a side-effect of this issue described
here...
... I never tested GTK+ builds since Moz 0.8... ;-(
> Anyway, --enable-toolkit=xlib is usable now???
--enable-toolkit=xlib works (except those issues where I have files bugs for) -
Xprint+Xlib_toolkit does build but failes like described here...
Assignee | ||
Comment 6•24 years ago
|
||
Based on permission from katakai@japan.sun.com via PM: Overtaking Xprint
(mozilla/gfx/src/xprint/) module for one week to update (better: Full update of
all files - no patches) it - attemping to kill all known (Xprint client side)
bugs I am aware of...
Q. to Don Cone: I need the information whether Xprint module is only missing the
DeviceContextImpl implementation in nsXPrintContext or if there is more todo to
get the module to work again. Thx!
You don't need to touch the code - I can do that... :-)
Assignee: katakai → Roland.Mainz
Assignee | ||
Comment 7•24 years ago
|
||
Fixed.
Assignee | ||
Comment 8•24 years ago
|
||
Mhhh... why wasn't this marked as "fixed" !? Anyway... marking as fixed.
katakai - do you verify please ?
Status: NEW → RESOLVED
Closed: 24 years ago
QA Contact: Roland.Mainz → katakai
Resolution: --- → FIXED
Comment 9•23 years ago
|
||
I can not see the problem on my build with --enable-toolkit=xlib.
Marked this as VERIFIED.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•