i'm trying to compile phoenix (like i used to do before) on a new system (linux)
the only difference is that this is with gcc 3.2.2 and that i grabbed mozilla/phoenix source today.
after compiling for about 2 hours on this p2-300, i got the following error:
i hope someone can point me in the right direction to fix this.
make[3]: Entering directory `/home/jph/src/Phoenix/mozilla/netwerk/build'
rm -f libnecko.so
c++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O3 -march=pentium2 -funroll-loops -ffast-math -fomit-frame-pointer -fschedule-insns -fPIC -shared -Wl,-h -Wl,libnecko.so -o libnecko.so nsNetModule.o -Wl,--whole-archive ../../dist/lib/libneckobase_s.a ../../dist/lib/libneckodns_s.a ../../dist/lib/libneckosocket_s.a ../../dist/lib/libnkconv_s.a ../../dist/lib/libnkcnvts_s.a ../../dist/lib/libnkmime_s.a ../../dist/lib/libnkhttp_s.a ../../dist/lib/libnkfile_s.a ../../dist/lib/libnkftp_s.a ../../dist/lib/libnkjar_s.a ../../dist/lib/libnkres_s.a ../../dist/lib/libnkabout_s.a ../../dist/lib/libnkcache_s.a -Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib ../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom -L../../dist/bin -L/home/jph/src/Phoenix/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../dist/lib -lmozz -Wl,--version-script -Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm
../../dist/lib/libnkcnvts_s.a: member ../../dist/lib/libnkcnvts_s.a(nsIndexedToHTML.o) in archive is not an object
collect2: ld returned 1 exit status
make[3]: *** [libnecko.so] Error 1
make[3]: Leaving directory `/home/jph/src/Phoenix/mozilla/netwerk/build'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/home/jph/src/Phoenix/mozilla/netwerk'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/home/jph/src/Phoenix/mozilla'
make: *** [default] Error 2
--
Jurgen.
phoenix build error on linux
-
- Posts: 6
- Joined: December 12th, 2002, 3:09 am
- Contact:
-
- Posts: 6
- Joined: December 12th, 2002, 3:09 am
- Contact:
update
FWIW,
when i just chekout the mozilla source, and build mozilla, it compiles just fne, and seems to work too
si i guess it must be related to phoenix in some way.
still, i'd like to use phoenix rather than mozilla.
any pointers appreciated.
Jurgen.
when i just chekout the mozilla source, and build mozilla, it compiles just fne, and seems to work too
si i guess it must be related to phoenix in some way.
still, i'd like to use phoenix rather than mozilla.
any pointers appreciated.
Jurgen.
-
- Posts: 49
- Joined: December 10th, 2002, 3:55 pm
different error
anybody know why I'm getting an error in the mozilla/toolkit/components/history/src directory, is current cvs code just broken?
Code: Select all
make export
make[1]: Entering directory `/home/jbarnett/workspace/mozilla/toolkit/components/history/src'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/home/jbarnett/workspace/mozilla/toolkit/components/history/src'
make libs
make[1]: Entering directory `/home/jbarnett/workspace/mozilla/toolkit/components/history/src'
nsGlobalHistory.cpp
/usr/bin/g++ -o nsGlobalHistory.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/rdf -I../../../../dist/include/mork -I../../../../dist/include/pref -I../../../../dist/include/necko -I../../../../dist/include/intl -I../../../../dist/include/unicharutil -I../../../../dist/include/autocomplete -I../../../../dist/include/history -I../../../../dist/include -I/home/jbarnett/workspace/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsGlobalHistory.pp nsGlobalHistory.cpp
nsGlobalHistory.cpp: In member function `nsresult
nsGlobalHistory::AddPageToDatabase(const char*, long long int)':
nsGlobalHistory.cpp:643: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `virtual nsresult
nsGlobalHistory::SetPageTitle(const char*, const PRUnichar*)':
nsGlobalHistory.cpp:983: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `virtual nsresult
nsGlobalHistory::RemovePage(const char*)':
nsGlobalHistory.cpp:1023: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `nsresult
nsGlobalHistory::RemoveMatchingRows(PRBool (*)(nsIMdbRow*, void*), void*,
int)':
nsGlobalHistory.cpp:1144: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `virtual nsresult
nsGlobalHistory::HidePage(const char*)':
nsGlobalHistory.cpp:1249: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `virtual nsresult
nsGlobalHistory::GetTarget(nsIRDFResource*, nsIRDFResource*, int,
nsIRDFNode**)':
nsGlobalHistory.cpp:1686: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `nsresult nsGlobalHistory::Init()':
nsGlobalHistory.cpp:2339: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2340: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2342: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2343: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2344: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2345: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2346: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2347: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2348: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2349: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2350: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2351: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2352: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:2353: no matching function for call to `nsIRDFService::
GetResource(nsDependentCString, nsIRDFResource**)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `nsresult
nsGlobalHistory::GetRootDayQueries(nsISimpleEnumerator**, int)':
nsGlobalHistory.cpp:2988: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:3001: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `nsresult
nsGlobalHistory::NotifyFindAssertions(nsIRDFResource*, nsIMdbRow*)':
nsGlobalHistory.cpp:3269: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:3278: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:3288: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:3303: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:3316: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:3322: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `nsresult
nsGlobalHistory::NotifyFindUnassertions(nsIRDFResource*, nsIMdbRow*)':
nsGlobalHistory.cpp:3381: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:3391: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `virtual nsresult
nsGlobalHistory::URLEnumerator::ConvertToISupports(nsIMdbRow*,
nsISupports**)':
nsGlobalHistory.cpp:3568: no matching function for call to `nsIRDFService::
GetResource(const nsDependentSingleFragmentCSubstring,
nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp: In member function `virtual nsresult
nsGlobalHistory::SearchEnumerator::ConvertToISupports(nsIMdbRow*,
nsISupports**)':
nsGlobalHistory.cpp:3902: no matching function for call to `nsIRDFService::
GetResource(const nsDependentSingleFragmentCSubstring,
nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
nsGlobalHistory.cpp:3925: no matching function for call to `nsIRDFService::
GetResource(nsCAutoString&, nsGetterAddRefs<nsIRDFResource>)'
../../../../dist/include/rdf/nsIRDFService.h:43: candidates are: virtual
nsresult nsIRDFService::GetResource(const char*, nsIRDFResource**)
make[1]: *** [nsGlobalHistory.o] Error 1
make[1]: Leaving directory `/home/jbarnett/workspace/mozilla/toolkit/components/history/src'
make: *** [all] Error 2
-
- Posts: 16
- Joined: November 25th, 2002, 4:15 am
-
- Posts: 16
- Joined: November 25th, 2002, 4:15 am
Ok, I got the latest CVS to build, but because i was using GTK2, i need to apply a small fix to 3 files to correct a linking problem with phoenix-bin.
Check out this bug if your using GTK2, and maybe there have a patch for you by the time you get round to it
http://bugzilla.mozilla.org/show_bug.cgi?id=196791
Stephen
Check out this bug if your using GTK2, and maybe there have a patch for you by the time you get round to it
http://bugzilla.mozilla.org/show_bug.cgi?id=196791
Stephen
-
- Posts: 6
- Joined: December 12th, 2002, 3:09 am
- Contact:
another update :)
i checked out both mozilla and phoenix source again today.
and now it compiles just fine. so, whatever caused the problem seems to have been fixed.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030312 Phoenix/0.5
Jurgen.
and now it compiles just fine. so, whatever caused the problem seems to have been fixed.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030312 Phoenix/0.5
Jurgen.
-
- Posts: 13
- Joined: November 29th, 2002, 12:51 am
still broken here.
mozilla itself builds with no errors, but with phoenix i get errors in nsGlobalHistory.cpp
i submitted the bug: http://bugzilla.mozilla.org/show_bug.cgi?id=197366
let's see, what will happen...
mozilla itself builds with no errors, but with phoenix i get errors in nsGlobalHistory.cpp
i submitted the bug: http://bugzilla.mozilla.org/show_bug.cgi?id=197366
let's see, what will happen...
-
- Posts: 13
- Joined: November 29th, 2002, 12:51 am