Closed Bug 192857 Opened 22 years ago Closed 22 years ago

Problems loading a Java plugin if Mozilla was compiled with gcc-3.2 (missing exports)

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 116444

People

(Reporter: andrewbass, Assigned: blackconnect)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 When I try to use a Java plugin with Mozilla (Sun Java 1.4.1_01), the following symbol fails to resolve: U GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager This one was present in libxpcom.so from Mozilla builds assembled with gcc-2.96 (probably, the same version of compiler was used by Sun to build Java SDK for Linux). However, in libxpcom.so built with gcc-3.2 I see only the following: 000b97f0 T _ZN16nsServiceManager23GetGlobalServiceManagerEPP17nsIServiceManager Name mangling problem? Reproducible: Always Steps to Reproduce: 1. Install the Java 2 SDK SE v1.4.1_01 (available at http://java.sun.com/j2se/1.4.1/) 2. Obtain a source distribution of Mozilla 3. Compile Mozilla with gcc-3.2 (configure; make; make install) 4. Copy libjavaplugin_oji.so to the Mozilla "plugins" directory (or make a symlink) 5. Start Mozilla. An error message will be printed to stdout. Actual Results: Tools->Web Development->Java Console menu item is disabled. Also, about:plugins says nothing about java plugins. Java applets don't work. Expected Results: Applets were expected to work.
*** This bug has been marked as a duplicate of 116444 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.