Closed
Bug 230846
Opened 22 years ago
Closed 9 years ago
Static linking is passing duplicate OS libraries
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: stdowa+bugzilla, Unassigned)
Details
link ...
comctl32.lib comdlg32.lib uuid.lib shell32.lib ole32.lib oleaut32.lib
version.lib winspool.lib kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib
advapi32.lib ...
comctl32.lib comdlg32.lib uuid.lib shell32.lib ole32.lib oleaut32.lib
version.lib winspool.lib gdi32.lib
Updated•21 years ago
|
Product: Browser → Seamonkey
Comment 1•21 years ago
|
||
(In reply to comment #0)
> link ...
> comctl32.lib comdlg32.lib uuid.lib shell32.lib ole32.lib oleaut32.lib
> version.lib winspool.lib kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib
> advapi32.lib ...
> comctl32.lib comdlg32.lib uuid.lib shell32.lib ole32.lib oleaut32.lib
> version.lib winspool.lib gdi32.lib
I am also seeing this with a static build of thunderbird 1.0 under Solaris. Note
that i've also built GTK and all of the supporting libraries as static only. The
build goes all to way to linking thunderbird-bin and produces the following errors:
ld: fatal: symbol `XmlGetUtf16InternalEncodingNS' is multiply-defined:
(file /tools/gtk+-2.6/lib/libexpat.a(xmltok.o) type=FUNC; file
../../dist/lib/components/libhtmlpars.a(xmltok.o) type=FUNC);
ld: fatal: symbol `XmlInitEncodingNS' is multiply-defined:
(file /tools/gtk+-2.6/lib/libexpat.a(xmltok.o) type=FUNC; file
../../dist/lib/components/libhtmlpars.a(xmltok.o) type=FUNC);
ld: fatal: symbol `XmlParseXmlDeclNS' is multiply-defined:
(file /tools/gtk+-2.6/lib/libexpat.a(xmltok.o) type=FUNC; file
../../dist/lib/components/libhtmlpars.a(xmltok.o) type=FUNC);
ld: fatal: symbol `XmlGetUtf8InternalEncodingNS' is multiply-defined:
(file /tools/gtk+-2.6/lib/libexpat.a(xmltok.o) type=FUNC; file
../../dist/lib/components/libhtmlpars.a(xmltok.o) type=FUNC);
ld: fatal: symbol `XmlInitUnknownEncodingNS' is multiply-defined:
(file /tools/gtk+-2.6/lib/libexpat.a(xmltok.o) type=FUNC; file
../../dist/lib/components/libhtmlpars.a(xmltok.o) type=FUNC);
ld: fatal: File processing errors. No output written to thunderbird-bin
The original problem is due to the win32 OS libraries being explicitly listed in both static-config.mk and the individual makefiles.
Glenn's problem is completely unrelated and appears to be due to an naming conflict between the system installed libexpat and the moz-tree version.
Product: Mozilla Application Suite → Core
Comment 3•9 years ago
|
||
This should be fixed in the current build system.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•