Closed
Bug 238309
Opened 21 years ago
Closed 21 years ago
compile error by static build(extensions/spellcheck/myspell/src)
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sugar.waffle, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
1.28 KB,
patch
|
bryner
:
review+
asa
:
approval1.7+
|
Details | Diff | Splinter Review |
checkout date is 3/21.
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -O2 -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar
-I/Developer/Headers/FlatCarbon -pipe -DNDEBUG -DTRIMMED -O2 -fPIC -arch ppc -o
libmyspell.dylib mozCStr2CStrHashtable.o mozAffixMod.o myspAffixmgr.o
mozMySpell.o myspSuggestmgr.o mozMySpellFactory.o -L../../../../dist/bin
-L../../../../dist/lib -L../../../../dist/bin -lxpcom
-L/Users/sek/Documents/mozilla-current/thunderbird/mozilla/dist/lib -lplds4
-lplc4 -lnspr4 -lpthread -Wl,-exported_symbols_list
-Wl,../../../../build/unix/gnu-ld-scripts/components-export-list -bundle -lm
ld: warning -prebind has no effect with -bundle
ld: symbols names listed in -exported_symbols_list:
../../../../build/unix/gnu-ld-scripts/components-export-list not in linked objects
_NSGetModule
make[6]: *** [libmyspell.dylib] Error 1
make[6]: Leaving directory
`/Users/sek/Documents/mozilla-current/thunderbird/mozilla/extensions/spellcheck/myspell/src'
make[5]: *** [libs] Error 2
-- .mozconfig
. $topsrcdir/mail/config/mozconfig
ac_add_options --enable-strip
ac_add_options --disable-debug
ac_add_options --enable-optimize=-O2
ac_add_options --disable-shared
ac_add_options --enable-static
ac_add_options --enable-prebinding
ac_add_options --disable-dtd-debug
ac_add_options --disable-jsd
ac_add_options --disable-logging
ac_add_options --disable-tests
Mac OS X 10.3.3
Although the contents of .mozconfig were made simple as follows, a compile error
occurs in the same place.
Is still build of OS X outside support?
OS:OS X 10.3.3
XCode version: 1.1
checkout date:2004-3-24
-- Contents of .mozconfig
. $topsrcdir/mail/config/mozconfig
ac_add_options --disable-debug
ac_add_options --enable-optimize=-O2
ac_add_options --disable-shared
ac_add_options --enable-static
Summary: compile error by statuc build → compile error by statuc build of thunderbird
Since the error occurred also in static build of Mozilla in the same place, a
product is changed.
-- Contents of .mozconfig
ac_add_options --disable-debug
ac_add_options --enable-optimize=-O2
ac_add_options --disable-shared
ac_add_options --enable-static
> OS:OS X 10.3.3
> XCode version: 1.1
> checkout date:2004-3-24
Severity: normal → blocker
Product: Thunderbird → Browser
Summary: compile error by statuc build of thunderbird → compile error by statuc build(extensions/spellcheck/myspell/src)
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.7?
Summary: compile error by statuc build(extensions/spellcheck/myspell/src) → compile error by static build(extensions/spellcheck/myspell/src)
Attachment #145041 -
Attachment is obsolete: true
Attachment #145044 -
Flags: review?(bryner)
Updated•21 years ago
|
Attachment #145044 -
Flags: review?(bryner) → review+
Attachment #145044 -
Flags: approval1.7?
(In reply to comment #5)
> Created an attachment (id=145044)
> Fix viewer too
If thunderbird is built using this patch, it will become an error by the last link.
(In reply to comment #6)
> (In reply to comment #5)
> > Created an attachment (id=145044)
> > Fix viewer too
>
> If thunderbird is built using this patch, it will become an error by the last
link.
>
Oops, the following is a link error message.
c++ -o nsMailApp.o -c -DOSTYPE=\"Darwin7.3.0\" -DOSARCH=\"Darwin\"
-DAPP_VERSION=\"0.5+\" -I../../dist/include/string -I../../dist/include/xpcom
-I../../dist/include/xulapp -I../../dist/include/xpinstall
-I../../dist/include/appshell -I../../dist/include -I../../dist/include
-I/Users/sek/Documents/mozilla-current/thunderbird/mozilla/dist/include/nspr
-mdynamic-no-pic -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -O2 -fpascal-strings -no-cpp-precomp
-fno-common -fshort-wchar -I/Developer/Headers/FlatCarbon -pipe -DNDEBUG
-DTRIMMED -O2 -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsMailApp.pp nsMailApp.cpp
c++ -o thunderbird-bin -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -O2 -fpascal-strings -no-cpp-precomp
-fno-common -fshort-wchar -I/Developer/Headers/FlatCarbon -pipe -DNDEBUG
-DTRIMMED -O2 nsMailApp.o -L../../dist/bin -L../../dist/lib
../../dist/lib/libxulapp_s.a -L../../dist/bin -lmozjs -L../../dist/bin -lxpcom
-L../../dist/bin
-L/Users/sek/Documents/mozilla-current/thunderbird/mozilla/dist/lib -lplds4
-lplc4 -lnspr4 -lpthread -framework Carbon -lm
ld: warning multiple definitions of symbol _PL_ArenaAllocate
../../dist/bin/libplds4.dylib(plarena.o) definition of _PL_ArenaAllocate
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(plarena.o)
definition of _PL_ArenaAllocate
ld: warning multiple definitions of symbol _PL_InitArenaPool
../../dist/bin/libplds4.dylib(plarena.o) definition of _PL_InitArenaPool
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(plarena.o)
definition of _PL_InitArenaPool
ld: warning multiple definitions of symbol _PL_FreeArenaPool
../../dist/bin/libplds4.dylib(plarena.o) definition of _PL_FreeArenaPool
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(plarena.o)
definition of _PL_FreeArenaPool
ld: warning multiple definitions of symbol _PL_FinishArenaPool
../../dist/bin/libplds4.dylib(plarena.o) definition of _PL_FinishArenaPool
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(plarena.o)
definition of _PL_FinishArenaPool
ld: warning multiple definitions of symbol _PL_ArenaRelease
../../dist/bin/libplds4.dylib(plarena.o) definition of _PL_ArenaRelease
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(plarena.o)
definition of _PL_ArenaRelease
ld: warning multiple definitions of symbol _PL_ArenaGrow
../../dist/bin/libplds4.dylib(plarena.o) definition of _PL_ArenaGrow
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(plarena.o)
definition of _PL_ArenaGrow
ld: warning multiple definitions of symbol _PL_ArenaFinish
../../dist/bin/libplds4.dylib(plarena.o) definition of _PL_ArenaFinish
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(plarena.o)
definition of _PL_ArenaFinish
ld: warning multiple definitions of symbol _PL_CompactArenaPool
../../dist/bin/libplds4.dylib(plarena.o) definition of _PL_CompactArenaPool
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(plarena.o)
definition of _PL_CompactArenaPool
ld: warning multiple definitions of symbol _PR_GetError
../../dist/bin/libnspr4.dylib(prerror.o) definition of _PR_GetError
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_GetError
ld: warning multiple definitions of symbol _PR_Free
../../dist/bin/libnspr4.dylib(prmem.o) definition of _PR_Free
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_Free
ld: warning multiple definitions of symbol _PR_DestroyLock
../../dist/bin/libnspr4.dylib(ptsynch.o) definition of _PR_DestroyLock
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_DestroyLock
ld: warning multiple definitions of symbol _PR_Calloc
../../dist/bin/libnspr4.dylib(prmem.o) definition of _PR_Calloc
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_Calloc
ld: warning multiple definitions of symbol _PR_Realloc
../../dist/bin/libnspr4.dylib(prmem.o) definition of _PR_Realloc
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_Realloc
ld: warning multiple definitions of symbol _PR_NewLock
../../dist/bin/libnspr4.dylib(ptsynch.o) definition of _PR_NewLock
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_NewLock
ld: warning multiple definitions of symbol _PR_Malloc
../../dist/bin/libnspr4.dylib(prmem.o) definition of _PR_Malloc
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_Malloc
ld: warning multiple definitions of symbol _PR_Lock
../../dist/bin/libnspr4.dylib(ptsynch.o) definition of _PR_Lock
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_Lock
ld: warning multiple definitions of symbol _PR_CeilingLog2
../../dist/bin/libnspr4.dylib(prlog2.o) definition of _PR_CeilingLog2
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_CeilingLog2
ld: warning multiple definitions of symbol _PR_GetOSError
../../dist/bin/libnspr4.dylib(prerror.o) definition of _PR_GetOSError
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_GetOSError
ld: warning multiple definitions of symbol _PR_Unlock
../../dist/bin/libnspr4.dylib(ptsynch.o) definition of _PR_Unlock
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_Unlock
ld: warning multiple definitions of symbol _PR_SetError
../../dist/bin/libnspr4.dylib(prerror.o) definition of _PR_SetError
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(nsprPortX.o)
definition of _PR_SetError
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
app_getModuleInfo(nsStaticModuleInfo**, unsigned*)
make[4]: *** [thunderbird-bin] Error 1
make[4]: Leaving directory
`/Users/sek/Documents/mozilla-current/thunderbird/mozilla/mail/app'
The link error comes from the fact that 10.3 shipped with its own version of
NSPR. However, the real problem is that it doesn't look like thunderbird isn't
properly setup to do static builds. You'll need to file a separate bug on that
if there isn't already.
Comment 10•21 years ago
|
||
Comment on attachment 145044 [details] [diff] [review]
Fix viewer too
a=asa (on behalf of drivers) for checkin to 1.7
Attachment #145044 -
Flags: approval1.7? → approval1.7+
Comment 11•21 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Flags: blocking1.7?
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•