Closed Bug 31652 Opened 24 years ago Closed 24 years ago

Unresolved symbol in gtk widget code

Categories

(Core :: Internationalization, defect, P3)

DEC
OSF/1
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jim_nance, Assigned: pavlov)

References

()

Details

When compiling under Digital Unix today, I get unresolved references to the
symbol CreateLocalized.  I have find this symbol in the code at:

http://lxr.mozilla.org/seamonkey/source/widget/src/gtk/nsMenuBar.cpp#165
http://lxr.mozilla.org/seamonkey/source/widget/src/gtk/nsMenuItem.h#93

and commenting out that code makes the link problem go away.  This code has
not been changed for months, however this problem is new.  It was not present
last week when I was doing Digital Unix work.  I dont know what is going on.

I can not find any code that defines nsMenuItem::CreateLocalized(), so I am
a little confused as to why this links on other platforms.  Here is the error:

**************************************************
nsNativeComponentLoader: GetFactory(libwidget_gtk.so) Load FAILED with error:
Unresolved symbol in ./libwidget_gtk.so:
CreateLocalized__10nsMenuItemXRC8nsString
**************************************************

It may be that the difference between the working code of last week and the
nonworking code of this week has to do with the optimization flags I used
when building.  I have been playing with those flags.
Reassigned to ftang.
Assignee: rchen → ftang
Component: Localization → Internationalization
I think this is caued by travis's removal of nsMenuItem.cpp
Assignee: ftang → travis
Giving it to Pavlov.
Assignee: travis → pavlov
I see it.  got a patch.  will check in as soon as the tree opens
checked in fix
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.