Closed Bug 532769 Opened 15 years ago Closed 14 years ago

Linux static build

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: joelr, Assigned: joelr)

References

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
Blocks: 532763
Assignee: nobody → joelr
Using the code from bug 532531 comment 5

gcc plugin-host.c -o phost -ldl -rdynamic -g 
gcc -shared plugin.c -o plugin.so

./phost ./plugin.so
gotcha!

Modifying plugin-host.c to have a bunch of other functions works just as well. The new host can load the plugin so long as the host defines the function that the plugin is trying to invoke.
Attached file Build errors on Linux (obsolete) —
Does this ring a bell with anyone? I'm not changing the build options compared to the Mac but string bits are still not found here. 

Note that I do have -lstring_s, -lxpcomglue_s, etc. in the build, search for -o firefox-bin to see
Includes DBus, excludes component SDK
Attachment #416430 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: